Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
icl::geom::PointCloudCreatorCL Class Reference

#include <PointCloudCreatorCL.h>

List of all members.

Public Member Functions

 PointCloudCreatorCL (utils::Size size, const utils::Array2D< Vec > &dirs)
 Constructor.
 ~PointCloudCreatorCL ()
 Destructor.
void create (bool NEEDS_RAW_TO_MM_MAPPING, const core::Img32f *depthValues, const Vec O, const int DEPTH_DIM, DataSegment< float, 3 > xyz, const utils::Array2D< Vec > &dirs, float depthScaling)
 Creates a uncolored pointcloud (called from PointCloudCreator)
void createRGB (bool NEEDS_RAW_TO_MM_MAPPING, const core::Img32f *depthValues, const Mat M, const Vec O, const unsigned int COLOR_W, const unsigned int COLOR_H, const int DEPTH_DIM, DataSegment< float, 3 > xyz, DataSegment< float, 4 > rgba, const core::Img8u *rgbIn, const utils::Array2D< Vec > &dirs, float depthScaling)
 Creates a RGBD-mapped pointcloud (called from PointCloudCreator)
bool isCLReady ()
 Returns the openCL status (true=openCL context ready, false=no openCL context available)

Private Attributes

bool clReady

Detailed Description

This class is used in PointCloudCreator for GPU-parallelized pointcloud creation


Constructor & Destructor Documentation

Constructor.

Constructs an object of this class.

Parameters:
sizesize of the input core::depth image and output pointcloud
dirsview ray directions calculated in PointCloudCreator

Destructor.


Member Function Documentation

void icl::geom::PointCloudCreatorCL::create ( bool  NEEDS_RAW_TO_MM_MAPPING,
const core::Img32f depthValues,
const Vec  O,
const int  DEPTH_DIM,
DataSegment< float, 3 >  xyz,
const utils::Array2D< Vec > &  dirs,
float  depthScaling 
)

Creates a uncolored pointcloud (called from PointCloudCreator)

void icl::geom::PointCloudCreatorCL::createRGB ( bool  NEEDS_RAW_TO_MM_MAPPING,
const core::Img32f depthValues,
const Mat  M,
const Vec  O,
const unsigned int  COLOR_W,
const unsigned int  COLOR_H,
const int  DEPTH_DIM,
DataSegment< float, 3 >  xyz,
DataSegment< float, 4 >  rgba,
const core::Img8u rgbIn,
const utils::Array2D< Vec > &  dirs,
float  depthScaling 
)

Creates a RGBD-mapped pointcloud (called from PointCloudCreator)

Returns the openCL status (true=openCL context ready, false=no openCL context available)

Returns:
openCL context ready/unavailable

Member Data Documentation


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