X3DTK::GL::BoxDrawArray Class Reference
[GLSceneGraph]

Class declared in <X3DTK/GL/scenegraph.h> providing a singleton manager of the vertex arrays necessary to draw a box. More...

List of all members.

Public Member Functions

Static Public Member Functions


Detailed Description

Class declared in <X3DTK/GL/scenegraph.h> providing a singleton manager of the vertex arrays necessary to draw a box.

This class is used by Box to avoid memory duplication and provides the arrays required by the OpenGL command drawElements().


Member Function Documentation

const unsigned int* X3DTK::GL::BoxDrawArray::getBoxIndexArrayAddress  )  const
 

Gets the address of the first index.

unsigned int X3DTK::GL::BoxDrawArray::getBoxSize  )  const
 

Gets the size of the Box, it means the number of vertices displayed.

const void* X3DTK::GL::BoxDrawArray::getBoxVertexArrayAddress  )  const
 

Gets the address of the first element of the vertex array.

BoxDrawArray* X3DTK::GL::BoxDrawArray::getInstance  )  [static]
 

Gets the CylinderDrawArray of section section.

void X3DTK::GL::BoxDrawArray::removeInstance  ) 
 

Removes the CylinderDrawArray of section section.


Generated on Fri Aug 27 13:16:32 2004 for X3DToolKit by doxygen 1.3.6