33 #ifndef DART_GUI_OSG_RENDER_SHAPEGEODE_HPP_
34 #define DART_GUI_OSG_RENDER_SHAPEGEODE_HPP_
62 ShapeNode(std::shared_ptr<dart::dynamics::Shape> shape,
69 const std::shared_ptr<dart::dynamics::Shape>&
getShape()
const;
81 const ::osg::Node*
getNode()
const;
100 const std::shared_ptr<dart::dynamics::Shape>
mShape;
Definition: ShapeFrame.hpp:164
Definition: ShapeFrame.hpp:55
Definition: ShapeFrameNode.hpp:58
Definition: ShapeNode.hpp:59
virtual ~ShapeNode()
Definition: ShapeNode.cpp:56
dart::dynamics::VisualAspect * getVisualAspect()
Definition: ShapeNode.cpp:74
ShapeFrameNode * getParentShapeFrameNode()
Pointer to the parent EntityNode of this ShapeNode.
Definition: ShapeNode.cpp:98
const dart::dynamics::ShapeFrame * getShapeFrame() const
Definition: ShapeNode.cpp:68
const std::shared_ptr< dart::dynamics::Shape > mShape
Pointer to the Shape associated with this ShapeNode.
Definition: ShapeNode.hpp:100
ShapeFrameNode * mParentShapeFrameNode
Pointer to the parent ShapeFrameNode of this ShapeNode.
Definition: ShapeNode.hpp:109
dart::dynamics::VisualAspect * mVisualAspect
Pointer to the VisualAspect associated with this ShapeNode.
Definition: ShapeNode.hpp:106
bool wasUtilized() const
True iff this ShapeNode has been utilized on the latest update.
Definition: ShapeNode.cpp:110
const std::shared_ptr< dart::dynamics::Shape > & getShape() const
Pointer to the Shape associated with this ShapeNode.
Definition: ShapeNode.cpp:62
::osg::Node * mNode
Should generally be equal to 'this'.
Definition: ShapeNode.hpp:112
ShapeNode(std::shared_ptr< dart::dynamics::Shape > shape, ShapeFrameNode *parentNode, ::osg::Node *node)
Definition: ShapeNode.cpp:42
virtual void refresh()=0
Update all rendering data for this ShapeNode.
::osg::Node * getNode()
Cast this ShapeNode into an osg::Node.
Definition: ShapeNode.cpp:86
void clearUtilization()
Set mUtilized to false.
Definition: ShapeNode.cpp:116
bool mUtilized
True iff this ShapeNode has been utilized on the latest update.
Definition: ShapeNode.hpp:117
dart::dynamics::ShapeFrame * mShapeFrame
Pointer to the SimpleFrame associated with this ShapeNode.
Definition: ShapeNode.hpp:103
Definition: BulletCollisionDetector.cpp:63