X3DTK::X3DLoader Class Reference
[X3DLoader]

Class declared in <X3DTK/X3D/scenegraph.h> defining a facade to the X3D loader of which version depends on your system. More...

Inheritance diagram for X3DTK::X3DLoader:

X3DTK::X3D::Loader List of all members.

Public Member Functions

Protected Attributes


Detailed Description

Class declared in <X3DTK/X3D/scenegraph.h> defining a facade to the X3D loader of which version depends on your system.

The loader creates an X3D scene graph, and is the entry point of any X3DToolKit application. It is encapsulated into X3DTK::SimpleX3DGLScene and X3DTK::SimplifiedMeshScene.


Constructor & Destructor Documentation

X3DTK::X3DLoader::X3DLoader  ) 
 

Constructor.

virtual X3DTK::X3DLoader::~X3DLoader  )  [pure virtual]
 

Destructor.


Member Function Documentation

X3D::Scene* X3DTK::X3DLoader::load const char *  file,
bool  fileValidation = true
const
 

Loads an X3D scene graph from the file.

If fileValidation is true, then the file will be verified and messages will be written if the file is invalid. Nevertheless the content of the scene is not deleted. The new scene graph is allocated, and has to be released later.

void X3DTK::X3DLoader::setComponentCreator X3D::X3DComponentCreator component  ) 
 

Sets the componentCreator.

If there is already a creator recorded for this component recorded, then it is deleted and replaced by the new one.

void X3DTK::X3DLoader::setComponentVisitorForFileValidator X3DComponentVisitor component  ) 
 

Sets the componentVisitor for the FileValidator.

If there is already a creator recorded for this component, then it is deleted and replaced by the new one.

void X3DTK::X3DLoader::setWalkerForFileValidator Walker walker  ) 
 

Sets the Walker for the FileValidator.

If there is already a creator recorded for this component, then it is deleted and replaced by the new one.

void X3DTK::X3DLoader::X3DLoader::setFileValidator X3D::FileValidator fileValidator  ) 
 

Sets the FileValidator.

If there is already a creator recorded for this component, then it is deleted and replaced by the new one.


Member Data Documentation

X3D::Creator* X3DTK::X3DLoader::creator [protected]
 

Creator.

X3D::FileValidator* X3DTK::X3DLoader::fileValidator [protected]
 

FileValidator.

X3D::X3DXmlLoader* X3DTK::X3DLoader::xmlLoader [protected]
 

XmlLoader.


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