16 typedef std::map<std::string, MeshObject*>
meshObjMap;
17 typedef std::map<std::string, meshObjMap>
meshMap;
26 bool LoadScene(
const std::string& basePath);
32 void loadDofs( XERCES_CPP_NAMESPACE::DOMNode* node, std::list<Dof*>* dofs);
Base class for objects that compose a scene graph.
MeshObject * LoadMeshFromFile(std::string filen, std::string type, std::string meshName)
Load MeshObjects from file.
Header file for V-ART class "XmlBase".
Basic methods for reading XML files.
bool LoadFromFile(const std::string &fileName)
Parses the xml file. If it doesn't have errors, load scene.
Header file for V-ART class "Scene".
std::map< std::string, MeshObject * > meshObjMap
A set of objects, lights and cameras.
void loadDofs(XERCES_CPP_NAMESPACE::DOMNode *node, std::list< Dof * > *dofs)
Load the dofs of the joint.
std::map< std::string, meshObjMap > meshMap
SceneNode * LoadSceneNode(XERCES_CPP_NAMESPACE::DOMNode *sceneList, const std::string &basePath)
Load the nodes (transformations, geometry, etc.) of the scene.
bool LoadScene(const std::string &basePath)
Load the scene based in xml archieve.
Degree Of Freedom - basic component of a Joint.
Graphical object made of polygon meshes.