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

Class declared in <X3DTK/GL/scenegraph.h> providing the GL implementation of X3D::Sphere. More...

Inheritance diagram for X3DTK::GL::Sphere:

X3DTK::GL::X3DGeometryNode X3DTK::GL::X3DNode X3DTK::X3DAbstractNode List of all members.

Public Member Functions


Detailed Description

Class declared in <X3DTK/GL/scenegraph.h> providing the GL implementation of X3D::Sphere.


Constructor & Destructor Documentation

X3DTK::GL::Sphere::Sphere (   ) 
 

Constructor.

virtual X3DTK::GL::Sphere::~Sphere (   )  [virtual]
 

Destructor.


Member Function Documentation

virtual void X3DTK::GL::Sphere::draw (   )  const [virtual]
 

Draws the node in an openGL context.

Reimplemented from X3DTK::GL::X3DGeometryNode.

const SFFloat& X3DTK::GL::Sphere::getRadius (   )  const [inline]
 

Gets the radius attribute.

SphereDrawArray* X3DTK::GL::Sphere::getSphereArray (   )  const [inline]
 

Gets the sphere array.

void X3DTK::GL::Sphere::setRadius (  const SFFloat &  radius  ) 
 

Sets the radius attribute.

void X3DTK::GL::Sphere::setSphereDrawArray (  SphereDrawArray *  sphereArray  ) 
 

Sets the sphere array.

virtual void X3DTK::GL::Sphere::update (   )  [virtual]
 

Updates the attributes of the node.

Reimplemented from X3DTK::GL::X3DNode.


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