#include <PointCloudCreatorCL.h>
|
ICLGeom_API | PointCloudCreatorCL (utils::Size size, const utils::Array2D< Vec > &dirs) |
| Constructor. More...
|
|
ICLGeom_API | ~PointCloudCreatorCL () |
| Destructor. More...
|
|
ICLGeom_API void | setDirectionVectors (const utils::Array2D< Vec > &dirs) |
| updates the internally used direction vectors More...
|
|
ICLGeom_API void | create (bool NEEDS_RAW_TO_MM_MAPPING, const core::Img32f *depthValues, const Vec O, const int DEPTH_DIM, core::DataSegment< float, 3 > xyz, const utils::Array2D< Vec > &dirs, float depthScaling) |
| Creates a uncolored pointcloud (called from PointCloudCreator) More...
|
|
ICLGeom_API 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, core::DataSegment< float, 3 > xyz, core::DataSegment< float, 4 > rgba, const core::Img8u *rgbIn, const utils::Array2D< Vec > &dirs, float depthScaling) |
| Creates a RGBD-mapped pointcloud (called from PointCloudCreator) More...
|
|
ICLGeom_API bool | isCLReady () |
| Returns the openCL status (true=openCL context ready, false=no openCL context available) More...
|
|
This class is used in PointCloudCreator for GPU-parallelized pointcloud creation
◆ PointCloudCreatorCL()
Constructor.
Constructs an object of this class.
- Parameters
-
◆ ~PointCloudCreatorCL()
ICLGeom_API icl::geom::PointCloudCreatorCL::~PointCloudCreatorCL |
( |
| ) |
|
◆ create()
◆ createRGB()
ICLGeom_API 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, |
|
|
core::DataSegment< float, 3 > |
xyz, |
|
|
core::DataSegment< float, 4 > |
rgba, |
|
|
const core::Img8u * |
rgbIn, |
|
|
const utils::Array2D< Vec > & |
dirs, |
|
|
float |
depthScaling |
|
) |
| |
◆ isCLReady()
ICLGeom_API bool icl::geom::PointCloudCreatorCL::isCLReady |
( |
| ) |
|
Returns the openCL status (true=openCL context ready, false=no openCL context available)
- Returns
- openCL context ready/unavailable
◆ setDirectionVectors()
updates the internally used direction vectors
the underlying chip size must not change, otherwise, and exception is thrown
◆ bInBuffer
◆ clReady
bool icl::geom::PointCloudCreatorCL::clReady |
|
private |
◆ depthValuesBuffer
◆ dirsBuffer
◆ gInBuffer
◆ kernelCreate
◆ kernelCreateRGB
◆ matrixBuffer
◆ program
◆ rgbaBuffer
◆ rgbaData
◆ rInBuffer
◆ size
◆ xyzBuffer
◆ xyzData
float* icl::geom::PointCloudCreatorCL::xyzData |
|
private |
The documentation for this class was generated from the following file: