Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

oxygen::MeshImporter Class Reference

interface for classes that import or generate trimeshes. More...

#include <meshimporter.h>

Inheritance diagram for oxygen::MeshImporter:

Inheritance graph
[legend]
Collaboration diagram for oxygen::MeshImporter:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MeshImporter ()
virtual ~MeshImporter ()
virtual boost::shared_ptr<
TriMesh
ImportMesh (const std::string &name, __attribute__((unused)) const zeitgeist::ParameterList &parameter)=0
 loads or generates a mesh referenced by the given name and optional list of parameters
virtual std::string MangleName (const std::string &name, const zeitgeist::ParameterList &parameter)
 returns a unique name for each combination of name and parameter.

Detailed Description

interface for classes that import or generate trimeshes.

MeshImporter classes are registered to the GeometryServer

Definition at line 36 of file meshimporter.h.


Constructor & Destructor Documentation

oxygen::MeshImporter::MeshImporter  )  [inline]
 

Definition at line 39 of file meshimporter.h.

virtual oxygen::MeshImporter::~MeshImporter  )  [inline, virtual]
 

Definition at line 40 of file meshimporter.h.


Member Function Documentation

virtual boost::shared_ptr<TriMesh> oxygen::MeshImporter::ImportMesh const std::string &  name,
__attribute__((unused)) const zeitgeist::ParameterList parameter
[pure virtual]
 

loads or generates a mesh referenced by the given name and optional list of parameters

virtual std::string oxygen::MeshImporter::MangleName const std::string &  name,
const zeitgeist::ParameterList parameter
[virtual]
 

returns a unique name for each combination of name and parameter.

This is only useful for parameterized MeshImporters. The default implementation returns

Parameters:
name 

Reimplemented in oxygen::StdMeshImporter.


The documentation for this class was generated from the following file:
Generated on Thu Apr 6 15:44:37 2006 for rcssserver3d by  doxygen 1.4.4