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

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

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


Member Function Documentation

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

Gets the CylinderDrawArray of section section.

const unsigned int* X3DTK::GL::SphereDrawArray::getSphereIndexArrayAddress  )  const
 

Gets the address of the first index of the index array.

unsigned int X3DTK::GL::SphereDrawArray::getSphereSize  )  const
 

Gets the number of vertices of the sphere.

const void* X3DTK::GL::SphereDrawArray::getSphereVertexArrayAddress  )  const
 

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

void X3DTK::GL::SphereDrawArray::removeInstance  ) 
 

Removes the CylinderDrawArray of section section.


Generated on Fri Jul 30 12:02:36 2004 for X3DToolKit by doxygen 1.3.6