#include <ShapeFrameNode.hpp>
◆ ShapeFrameNode()
Create a ShapeFrameNode.
If recursive is set to true, it will also create nodes for all child Entities and child Frames
◆ ~ShapeFrameNode()
dart::gui::osg::ShapeFrameNode::~ShapeFrameNode |
( |
| ) |
|
|
protectedvirtual |
◆ clearUtilization()
void dart::gui::osg::ShapeFrameNode::clearUtilization |
( |
| ) |
|
◆ createShapeNode()
void dart::gui::osg::ShapeFrameNode::createShapeNode |
( |
const std::shared_ptr< dart::dynamics::Shape > & |
shape | ) |
|
|
protected |
◆ getShapeFrame() [1/2]
◆ getShapeFrame() [2/2]
◆ getWorldNode() [1/2]
WorldNode * dart::gui::osg::ShapeFrameNode::getWorldNode |
( |
| ) |
|
◆ getWorldNode() [2/2]
const WorldNode * dart::gui::osg::ShapeFrameNode::getWorldNode |
( |
| ) |
const |
◆ refresh()
void dart::gui::osg::ShapeFrameNode::refresh |
( |
bool |
shortCircuitIfUtilized = false | ) |
|
Update all rendering data for this ShapeFrame.
If shortCircuitIfUtilized is true, this will skip the refresh process if mUtilized is set to true. clearUtilization() needs to be called before this function if short circuiting is going to be used.
◆ refreshShapeNode()
void dart::gui::osg::ShapeFrameNode::refreshShapeNode |
( |
const std::shared_ptr< dart::dynamics::Shape > & |
shape | ) |
|
|
protected |
◆ wasUtilized()
bool dart::gui::osg::ShapeFrameNode::wasUtilized |
( |
| ) |
const |
◆ mRenderShapeNode
◆ mShapeFrame
Pointer to the ShapeFrame that this ShapeFrameNode is associated with.
◆ mUtilized
bool dart::gui::osg::ShapeFrameNode::mUtilized |
|
protected |
True iff this ShapeFrameNode has been utilized on the latest update.
If it has not, that is an indication that it is no longer being used and should be deleted.
◆ mWorldNode
WorldNode* dart::gui::osg::ShapeFrameNode::mWorldNode |
|
protected |