pcl::TransformationFromCorrespondences Class Reference
[Module common]

Calculates a transformation based on corresponding 3D points. More...

#include <pcl/common/transformation_from_correspondences.h>

List of all members.

Public Member Functions

 TransformationFromCorrespondences ()
 Constructor - dimension gives the size of the vectors to work with.
 ~TransformationFromCorrespondences ()
 Destructor.
void reset ()
 Reset the object to work with a new data set.
float getAccumulatedWeight () const
 Get the summed up weight of all added vectors.
unsigned int getNoOfSamples ()
 Get the number of added vectors.
void add (const Eigen::Vector3f &point, const Eigen::Vector3f &corresponding_point, float weight=1.0)
 Add a new sample.
Eigen::Affine3f getTransformation ()
 Calculate the transformation that will best transform the points into their correspondences.

Detailed Description

Calculates a transformation based on corresponding 3D points.

Author:
Bastian Steder

Definition at line 49 of file transformation_from_correspondences.h.


Constructor & Destructor Documentation

pcl::TransformationFromCorrespondences::TransformationFromCorrespondences (  )  [inline]

Constructor - dimension gives the size of the vectors to work with.

Definition at line 54 of file transformation_from_correspondences.h.

pcl::TransformationFromCorrespondences::~TransformationFromCorrespondences (  )  [inline]

Destructor.

Definition at line 62 of file transformation_from_correspondences.h.


Member Function Documentation

void pcl::TransformationFromCorrespondences::add ( const Eigen::Vector3f &  point,
const Eigen::Vector3f &  corresponding_point,
float  weight = 1.0 
) [inline]

Add a new sample.

Definition at line 53 of file transformation_from_correspondences.hpp.

float pcl::TransformationFromCorrespondences::getAccumulatedWeight (  )  const [inline]

Get the summed up weight of all added vectors.

Definition at line 71 of file transformation_from_correspondences.h.

unsigned int pcl::TransformationFromCorrespondences::getNoOfSamples (  )  [inline]

Get the number of added vectors.

Definition at line 75 of file transformation_from_correspondences.h.

Eigen::Affine3f pcl::TransformationFromCorrespondences::getTransformation (  )  [inline]

Calculate the transformation that will best transform the points into their correspondences.

Definition at line 72 of file transformation_from_correspondences.hpp.

void pcl::TransformationFromCorrespondences::reset (  )  [inline]

Reset the object to work with a new data set.

Definition at line 42 of file transformation_from_correspondences.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 16 Oct 2012 for Point Cloud Library (PCL) by  doxygen 1.6.1