33 #ifndef DART_GUI_OSG_SHAPEFRAMENODE_HPP_
34 #define DART_GUI_OSG_SHAPEFRAMENODE_HPP_
39 #include <osg/MatrixTransform>
41 #include "dart/config.hpp"
72 bool checkUtilization =
false)
const;
83 void refresh(
bool shortCircuitIfUtilized =
false);
96 void createShapeNode(
const std::shared_ptr<dart::dynamics::Shape>& shape);
Definition: ShapeFrame.hpp:192
Definition: ShapeFrameNode.hpp:61
void refresh(bool shortCircuitIfUtilized=false)
Update all rendering data for this ShapeFrame.
Definition: ShapeFrameNode.cpp:139
ShapeFrameNode(dart::dynamics::ShapeFrame *frame, WorldNode *worldNode)
Create a ShapeFrameNode.
Definition: ShapeFrameNode.cpp:86
WorldNode * mWorldNode
Pointer to the WorldNode that this ShapeFrameNode belongs to.
Definition: ShapeFrameNode.hpp:102
dart::dynamics::ShapeFrame * mShapeFrame
Pointer to the ShapeFrame that this ShapeFrameNode is associated with.
Definition: ShapeFrameNode.hpp:99
void createShapeNode(const std::shared_ptr< dart::dynamics::Shape > &shape)
Definition: ShapeFrameNode.cpp:206
void clearUtilization()
Set mUtilized to false.
Definition: ShapeFrameNode.cpp:170
bool mUtilized
True iff this ShapeFrameNode has been utilized on the latest update.
Definition: ShapeFrameNode.hpp:109
WorldNode * getWorldNode()
Definition: ShapeFrameNode.cpp:127
bool wasUtilized() const
True iff this ShapeFrameNode has been utilized on the latest update.
Definition: ShapeFrameNode.cpp:164
render::ShapeNode * mRenderShapeNode
Definition: ShapeFrameNode.hpp:104
void refreshShapeNode(const std::shared_ptr< dart::dynamics::Shape > &shape)
Definition: ShapeFrameNode.cpp:182
virtual ~ShapeFrameNode()
Definition: ShapeFrameNode.cpp:176
dart::dynamics::ShapeFrame * getShapeFrame(bool checkUtilization=false)
Pointer to the ShapeFrame associated with this ShapeFrameNode.
Definition: ShapeFrameNode.cpp:98
WorldNode class encapsulates a World to be displayed in OpenSceneGraph.
Definition: WorldNode.hpp:65
Definition: ShapeNode.hpp:59
Definition: BulletCollisionDetector.cpp:65