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

oxygen::GeometryServer Class Reference

set of triangle meshes and a set of plugins to import or generate them. More...

#include <geometryserver.h>

Inheritance diagram for oxygen::GeometryServer:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GeometryServer ()
 ~GeometryServer ()
bool InitMeshImporter (const std::string &importerName)
 creates an instance of
boost::shared_ptr< TriMeshGetMesh (const std::string &name, const zeitgeist::ParameterList &parameter)
 imports the trimesh

Protected Types

typedef std::map< std::string,
boost::shared_ptr< TriMesh > > 
TMeshMap

Protected Member Functions

virtual void OnLink ()
 registers the standard mesh importer

Protected Attributes

TMeshMap mMeshMap
 the registry of cached trimeshes

Detailed Description

set of triangle meshes and a set of plugins to import or generate them.

Triangle meshes are used for collision detection and rendering.

Definition at line 36 of file geometryserver.h.


Member Typedef Documentation

typedef std::map<std::string, boost::shared_ptr<TriMesh> > oxygen::GeometryServer::TMeshMap [protected]
 

Definition at line 39 of file geometryserver.h.


Constructor & Destructor Documentation

GeometryServer::GeometryServer  ) 
 

Definition at line 32 of file geometryserver.cpp.

GeometryServer::~GeometryServer  ) 
 

Definition at line 36 of file geometryserver.cpp.


Member Function Documentation

boost::shared_ptr<TriMesh> oxygen::GeometryServer::GetMesh const std::string &  name,
const zeitgeist::ParameterList parameter
 

imports the trimesh

Parameters:
name,with the given parameters or returns a cached reference

bool oxygen::GeometryServer::InitMeshImporter const std::string &  importerName  ) 
 

creates an instance of

Parameters:
importerName and registers it as a MeshImporter to the GeometryServer

Referenced by OnLink().

void GeometryServer::OnLink  )  [protected, virtual]
 

registers the standard mesh importer

Reimplemented from zeitgeist::Leaf.

Definition at line 40 of file geometryserver.cpp.

References InitMeshImporter(), and zeitgeist::Node::mChildren.

Here is the call graph for this function:


Member Data Documentation

TMeshMap oxygen::GeometryServer::mMeshMap [protected]
 

the registry of cached trimeshes

Definition at line 62 of file geometryserver.h.


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