PCV (Portion de Ciel Visible / Ambiant Illumination) OpenGL context.
bool init(unsigned W, unsigned H, cloudViewer::GenericCloud *cloud, cloudViewer::GenericMesh *mesh=0, bool closedMesh=true)
Initialization.
void setViewDirection(const CCVector3 &V)
Set the viewing directions.
void associateToEntity(cloudViewer::GenericCloud *cloud, cloudViewer::GenericMesh *mesh=0)
PointCoordinateType m_zoom
unsigned m_height
Pixel buffer height (pixels)
float m_viewMat[OPENGL_MATRIX_SIZE]
Current model view matrix.
QGLPixelBuffer * m_pixBuffer
cloudViewer::GenericCloud * m_vertices
Displayed entity (cloud or mesh vertices)
static const unsigned OPENGL_MATRIX_SIZE
Model view matrix size (OpenGL)
bool m_meshIsClosed
Whether displayed mesh is closed or not.
int GLAccumPixel(std::vector< int > &visibilityCount)
unsigned m_width
Pixel buffer width (pixels)
cloudViewer::GenericMesh * m_mesh
Displayed entity (mesh - optional)