Macros | Typedefs | Functions
icp.cpp File Reference
#include "pointmatcher/PointMatcher.h"
#include "pointmatcher/Bibliography.h"
#include "boost/filesystem.hpp"
#include <cassert>
#include <fstream>
#include <iostream>
#include <algorithm>
Include dependency graph for icp.cpp:

Go to the source code of this file.

Macros

#define DUMP_REGISTRAR_CONTENT(pm, name, bib)   dumpRegistrar(pm, pm.REG(name), # name, bib);
 

Typedefs

typedef PointMatcherSupport::CurrentBibliography CurrentBibliography
 
typedef PM::DataPoints DP
 
typedef PM::Parameters Parameters
 
typedef PointMatcher< float > PM
 

Functions

template<typename R >
void dumpRegistrar (const PM &pm, const R &registrar, const std::string &name, CurrentBibliography &bib)
 
void listModules ()
 
int main (int argc, const char *argv[])
 
PM::TransformationParameters parseRotation (string &rotation, const int cloudDimension)
 
PM::TransformationParameters parseTranslation (string &translation, const int cloudDimension)
 
void usage (const char *argv[])
 
int validateArgs (const int argc, const char *argv[], bool &isVerbose, bool &isTransfoSaved, string &configFile, string &outputBaseFile, string &initTranslation, string &initRotation)
 

Macro Definition Documentation

◆ DUMP_REGISTRAR_CONTENT

#define DUMP_REGISTRAR_CONTENT (   pm,
  name,
  bib 
)    dumpRegistrar(pm, pm.REG(name), # name, bib);

Definition at line 212 of file icp.cpp.

Typedef Documentation

◆ CurrentBibliography

Definition at line 51 of file icp.cpp.

◆ DP

typedef PM::DataPoints DP

Definition at line 49 of file icp.cpp.

◆ Parameters

Definition at line 50 of file icp.cpp.

◆ PM

typedef PointMatcher<float> PM

Definition at line 48 of file icp.cpp.

Function Documentation

◆ dumpRegistrar()

template<typename R >
void dumpRegistrar ( const PM pm,
const R &  registrar,
const std::string &  name,
CurrentBibliography bib 
)

Definition at line 199 of file icp.cpp.

◆ listModules()

void listModules ( )

Definition at line 215 of file icp.cpp.

◆ main()

int main ( int  argc,
const char *  argv[] 
)

Code example for ICP taking 2 points clouds (2D or 3D) relatively close and computing the transformation between them.

This code is more complete than icp_simple. It can load parameter files and has more options.

Definition at line 74 of file icp.cpp.

◆ parseRotation()

PM::TransformationParameters parseRotation ( string &  rotation,
const int  cloudDimension 
)

Definition at line 345 of file icp.cpp.

◆ parseTranslation()

PM::TransformationParameters parseTranslation ( string &  translation,
const int  cloudDimension 
)

Definition at line 308 of file icp.cpp.

◆ usage()

void usage ( const char *  argv[])

Definition at line 383 of file icp.cpp.

◆ validateArgs()

int validateArgs ( const int  argc,
const char *  argv[],
bool &  isVerbose,
bool &  isTransfoSaved,
string &  configFile,
string &  outputBaseFile,
string &  initTranslation,
string &  initRotation 
)

Definition at line 233 of file icp.cpp.



mp2p_icp
Author(s):
autogenerated on Wed Oct 23 2024 02:45:41