33 #ifndef DART_GUI_OSG_SHAPEFRAMENODE_HPP_
34 #define DART_GUI_OSG_SHAPEFRAMENODE_HPP_
38 #include <osg/MatrixTransform>
81 void refresh(
bool shortCircuitIfUtilized =
false);
95 void createShapeNode(
const std::shared_ptr<dart::dynamics::Shape>& shape);
Definition: ShapeFrame.hpp:164
Definition: ShapeFrameNode.hpp:58
void refresh(bool shortCircuitIfUtilized=false)
Update all rendering data for this ShapeFrame.
Definition: ShapeFrameNode.cpp:111
ShapeFrameNode(dart::dynamics::ShapeFrame *frame, WorldNode *worldNode)
Create a ShapeFrameNode.
Definition: ShapeFrameNode.cpp:74
WorldNode * mWorldNode
Pointer to the WorldNode that this ShapeFrameNode belongs to.
Definition: ShapeFrameNode.hpp:101
dart::dynamics::ShapeFrame * mShapeFrame
Pointer to the ShapeFrame that this ShapeFrameNode is associated with.
Definition: ShapeFrameNode.hpp:98
void createShapeNode(const std::shared_ptr< dart::dynamics::Shape > &shape)
Definition: ShapeFrameNode.cpp:178
void clearUtilization()
Set mUtilized to false.
Definition: ShapeFrameNode.cpp:142
bool mUtilized
True iff this ShapeFrameNode has been utilized on the latest update.
Definition: ShapeFrameNode.hpp:108
WorldNode * getWorldNode()
Definition: ShapeFrameNode.cpp:99
bool wasUtilized() const
True iff this ShapeFrameNode has been utilized on the latest update.
Definition: ShapeFrameNode.cpp:136
dart::dynamics::ShapeFrame * getShapeFrame()
Pointer to the ShapeFrame associated with this ShapeFrameNode.
Definition: ShapeFrameNode.cpp:87
render::ShapeNode * mRenderShapeNode
Definition: ShapeFrameNode.hpp:103
void refreshShapeNode(const std::shared_ptr< dart::dynamics::Shape > &shape)
Definition: ShapeFrameNode.cpp:154
virtual ~ShapeFrameNode()
Definition: ShapeFrameNode.cpp:148
WorldNode class encapsulates a World to be displayed in OpenSceneGraph.
Definition: WorldNode.hpp:65
Definition: ShapeNode.hpp:59
Definition: BulletCollisionDetector.cpp:63