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

Class declared in <X3DTK/GL/scenegraph.h> providing a singleton manager of the vertex arrays necessary to draw a triangulated cone. 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 triangulated cone.

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


Member Function Documentation

const unsigned int* X3DTK::GL::ConeDrawArray::getConeBottomIndexArrayAddress  )  const
 

Gets the address of the first index of the bottom.

unsigned int X3DTK::GL::ConeDrawArray::getConeBottomSize  )  const
 

Gets the number of vertices of the side of the cone.

const void* X3DTK::GL::ConeDrawArray::getConeBottomVertexArrayAddress  )  const
 

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

const unsigned int* X3DTK::GL::ConeDrawArray::getConeSideIndexArrayAddress  )  const
 

Gets the address of the first index of the side.

unsigned int X3DTK::GL::ConeDrawArray::getConeSideSize  )  const
 

Gets the number of vertices of the side of the cone.

const void* X3DTK::GL::ConeDrawArray::getConeSideVertexArrayAddress  )  const
 

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

ConeDrawArray* X3DTK::GL::ConeDrawArray::getInstanceOfSection unsigned int  section  )  [static]
 

Gets the ConeDrawArray of section section.

void X3DTK::GL::ConeDrawArray::removeInstance  ) 
 

Removes the ConeDrawArray of section section.


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