38 #ifdef ICL_HAVE_OPENCL 66 const Vec O,
const int DEPTH_DIM,
71 const Vec O,
const unsigned int COLOR_W,
const unsigned int COLOR_H,
const int DEPTH_DIM,
82 #ifdef ICL_HAVE_OPENCL utils::CLBuffer rgbaBuffer
Definition: PointCloudCreatorCL.h:101
undocument this line if you encounter any issues!
Definition: Any.h:37
utils::CLProgram program
Definition: PointCloudCreatorCL.h:93
utils::CLBuffer rInBuffer
Definition: PointCloudCreatorCL.h:102
ICLGeom_API bool isCLReady()
Returns the openCL status (true=openCL context ready, false=no openCL context available)
utils::CLBuffer matrixBuffer
Definition: PointCloudCreatorCL.h:99
#define ICLGeom_API
Definition: CompatMacros.h:179
Wrapper for an OpenCL Kernel.
Definition: CLKernel.h:72
utils::CLBuffer gInBuffer
Definition: PointCloudCreatorCL.h:103
Definition: PointCloudCreatorCL.h:48
ICLGeom_API ~PointCloudCreatorCL()
Destructor.
bool clReady
Definition: PointCloudCreatorCL.h:80
utils::CLKernel kernelCreateRGB
Definition: PointCloudCreatorCL.h:96
float * xyzData
Definition: PointCloudCreatorCL.h:89
Wrapper for an OpenCL Buffer.
Definition: CLBuffer.h:52
math::FixedColVector< float, 4 > * rgbaData
Definition: PointCloudCreatorCL.h:90
Size class of the ICL.
Definition: Size.h:61
utils::CLBuffer bInBuffer
Definition: PointCloudCreatorCL.h:104
Simple 2D-Array class that provides shallow copy per default.
Definition: Array2D.h:61
ICLGeom_API PointCloudCreatorCL(utils::Size size, const utils::Array2D< Vec > &dirs)
Constructor.
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)
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)
utils::CLKernel kernelCreate
Definition: PointCloudCreatorCL.h:95
utils::CLBuffer dirsBuffer
Definition: PointCloudCreatorCL.h:105
utils::CLBuffer xyzBuffer
Definition: PointCloudCreatorCL.h:100
utils::Size size
Definition: PointCloudCreatorCL.h:81
utils::CLBuffer depthValuesBuffer
Definition: PointCloudCreatorCL.h:98
The DataSegment class defines a strided data segment (or 1D or 2D ordred array of vectors)
Definition: DataSegment.h:147
ICLGeom_API void setDirectionVectors(const utils::Array2D< Vec > &dirs)
updates the internally used direction vectors
Main class for OpenCL based accelleration.
Definition: CLProgram.h:259