X3DTK::X3D::GLBuilder Class Reference
[X3D]

Class declared in <X3DTK/X3D/glbuilder.h> providing a processor that builds a GL scene graph from an X3D scene graph. More...

Inheritance diagram for X3DTK::X3D::GLBuilder:

X3DTK::X3DOnePassProcessor X3DTK::X3DProcessor List of all members.

Public Member Functions


Detailed Description

Class declared in <X3DTK/X3D/glbuilder.h> providing a processor that builds a GL scene graph from an X3D scene graph.

Some informations are lost during the conversion. An X3DTK::GL::IndexedFaceSet is made up of triangular faces, whereas an X3DTK::X3D::IndexedFaceSet can have polygonal faces. The resulting scene graph looks like the X3D one but X3DTK::GL::IndexedFaceSet nodes have no child. For more details about the MESH scene graph, see the GL scene graph page.


Constructor & Destructor Documentation

X3DTK::X3D::GLBuilder::GLBuilder  ) 
 

Constructor.

virtual X3DTK::X3D::GLBuilder::~GLBuilder  )  [virtual]
 

Destructor.


Member Function Documentation

GL::Scene* X3DTK::X3D::GLBuilder::build Scene S  ) 
 

Builds the GL scene from S.

virtual GL::X3DNode* X3DTK::X3D::GLBuilder::build X3DNode N  )  [virtual]
 

Converts the X3D sub scene graph of which root is N, to an GL scene graph.


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