Creates an OpenCL environment with CL-GL interoperability. More...
#include <ocl_icp_reg.hpp>
Public Member Functions | |
CLEnvGL (GLuint *glPC4DBuffer, GLuint *glRGBABuffer, int width, int height) | |
Initializes the OpenCL environment. More... | |
CLEnvGL (GLuint *glPC4DBuffer, GLuint *glRGBABuffer, int width, int height) | |
Initializes the OpenCL environment. More... | |
Creates an OpenCL environment with CL-GL interoperability.
CLEnvGL::CLEnvGL | ( | GLuint * | glPC4DBuffer, |
GLuint * | glRGBABuffer, | ||
int | width, | ||
int | height | ||
) |
Initializes the OpenCL environment.
[out] | glPC4DBuffer | OpenGL vertex buffer id for the geometry points. The buffer holds the information for two point clouds. |
[out] | glRGBABuffer | OpenGL vertex buffer id for the color points. The buffer holds the information for two point clouds. |
[in] | width | width (in pixels) of the associated point clouds. |
[in] | height | height (in pixels) of the associated point clouds. |
CLEnvGL::CLEnvGL | ( | GLuint * | glPC4DBuffer, |
GLuint * | glRGBABuffer, | ||
int | width, | ||
int | height | ||
) |
Initializes the OpenCL environment.