ICP  1.1.0
 Hosted by GitHub
Public Member Functions | List of all members
ICPSBS< RC, WC > Class Template Reference

Performs the ICP iterations. More...

#include <ocl_icp_sbs.hpp>

Public Member Functions

 ICPSBS (GLuint *glPC4DBuffer, GLuint *glRGBABuffer)
 
void init (std::vector< cl_float8 > pc8d1, std::vector< cl_float8 > pc8d2)
 Initializes the OpenGL buffers. More...
 
void step ()
 Performs one ICP iteration and transforms the moving point cloud. More...
 

Detailed Description

template<cl_algo::ICP::ICPStepConfigT RC, cl_algo::ICP::ICPStepConfigW WC>
class ICPSBS< RC, WC >

Performs the ICP iterations.

Estimates, step by step, the homogeneous transformation between two point clouds, and transforms the relevant point cloud according to that transformation.

Constructor & Destructor Documentation

template<cl_algo::ICP::ICPStepConfigT RC, cl_algo::ICP::ICPStepConfigW WC>
ICPSBS< RC, WC >::ICPSBS ( GLuint *  glPC4DBuffer,
GLuint *  glRGBABuffer 
)

Initializes the OpenCL environment, the OpenGL buffers, and the processing classes.

Parameters
[in]glPC4DBufferOpenGL vertex buffer id for the geometry points. The buffer holds the information for two point clouds.
[in]glRGBABufferOpenGL vertex buffer id for the color points. The buffer holds the information for two point clouds.

Member Function Documentation

template<cl_algo::ICP::ICPStepConfigT RC, cl_algo::ICP::ICPStepConfigW WC>
void ICPSBS< RC, WC >::init ( std::vector< cl_float8 >  pc8d1,
std::vector< cl_float8 >  pc8d2 
)

Initializes the OpenGL buffers.

Parameters
[in]pc8d1fixed point cloud.
[in]pc8d2moving point cloud.
template<cl_algo::ICP::ICPStepConfigT RC, cl_algo::ICP::ICPStepConfigW WC>
void ICPSBS< RC, WC >::step ( )

Performs one ICP iteration and transforms the moving point cloud.

Refines, step by step, an initial estimation of the transformation between the two point clouds, and displays relevant parameters.


The documentation for this class was generated from the following files: