27 assert(resultPtr != NULL);
31 list<VART::SceneNode*>::const_iterator iter = graphPath.begin();
32 for(; iter != graphPath.end(); ++iter)
46 list<VART::SceneNode*>::reverse_iterator rIter = graphPath.rbegin();
49 while (rIter != graphPath.rend())
51 jointPtr =
dynamic_cast<Joint*
>(*rIter);
61 assert(!graphPath.empty());
62 return graphPath.front();
67 list<VART::SceneNode*>::const_iterator iter = graphPath.begin();
68 for(; iter != graphPath.end(); ++iter)
74 list<VART::SceneNode*>::const_iterator iter = path.
graphPath.begin();
78 cout << (*iter)->GetDescription();
82 output <<
", " << (*iter)->GetDescription();
Base class for objects that compose a scene graph.
Representation of joints.
void Traverse(SNOperator *operatorPtr) const
Process all nodes in path.
std::ostream & operator<<(std::ostream &output, const Joint::DofID &dofId)
virtual void OperateOn(const SceneNode *nodePtr)=0
Objects that process scene nodes.
std::list< SceneNode * > graphPath
Header file for V-ART class "Joint".
void GetTransform(Transform *resultPtr) const
Combines and returns the multiplication of all transforms in a path.
Header file for V-ART class "SGPath".
Joint * PointerToLastJoint()
Returns a pointer to the last joint in the path.
SGPath & operator=(const SGPath &path)
SceneNode * FrontPtr() const
Returns a pointer to the first node.