V-ART
xmljointaction.h
Go to the documentation of this file.
1 
5 #ifndef VART_XMLJOINTACTION_H
6 #define VART_XMLJOINTACTION_H
7 
8 #include "vart/jointaction.h"
9 #include "vart/xmlbase.h"
10 
11 namespace VART
12 {
13  class SceneNode;
18  class XmlJointAction : public JointAction, public XmlBase
19  {
20  public:
21  // PUBLIC STATIC METHODS
22  // PUBLIC METHODS
24 
28  bool LoadFromFile(const std::string& fileName, const SceneNode& sNode);
29  protected:
30  // PROTECTED STATIC METHODS
31  // PROTECTED METHODS
32  void ParseDofMovement(JointMover* jointMPtr,
33  XERCES_CPP_NAMESPACE::DOMNode* dofMovItemPtr);
34  void CreateJointMover(const VART::SceneNode& sNode,
35  XERCES_CPP_NAMESPACE::DOMNode* xmlNodePtr);
36  // PROTECTED STATIC ATTRIBUTES
37  // PROTECTED ATTRIBUTES
38  }; // end class declaration
39 } // end namespace
40 
41 #endif
Header file for V-ART class "JointAction".
Base class for objects that compose a scene graph.
Definition: scenenode.h:25
Header file for V-ART class "XmlBase".
Basic methods for reading XML files.
Definition: xmlbase.h:18
A coordinated movement of joints in an articulated body.
Definition: jointaction.h:26
Controllers for joint movement.
Definition: jointmover.h:22
void ParseDofMovement(JointMover *jointMPtr, XERCES_CPP_NAMESPACE::DOMNode *dofMovItemPtr)
Parser and loader for xml files that describe an JointAction.
void CreateJointMover(const VART::SceneNode &sNode, XERCES_CPP_NAMESPACE::DOMNode *xmlNodePtr)
bool LoadFromFile(const std::string &fileName, const SceneNode &sNode)
Loads JointAction from a XML file.