33#ifndef DART_GUI_OSG_SHAPEFRAMENODE_HPP_
34#define DART_GUI_OSG_SHAPEFRAMENODE_HPP_
39#include <osg/MatrixTransform>
41#include "dart/config.hpp"
84 void refresh(
bool shortCircuitIfUtilized =
false);
98 void createShapeNode(
const std::shared_ptr<dart::dynamics::Shape>& shape);
Definition ShapeFrame.hpp:164
Definition ShapeFrameNode.hpp:61
void refresh(bool shortCircuitIfUtilized=false)
Update all rendering data for this ShapeFrame.
Definition ShapeFrameNode.cpp:119
WorldNode * mWorldNode
Pointer to the WorldNode that this ShapeFrameNode belongs to.
Definition ShapeFrameNode.hpp:104
dart::dynamics::ShapeFrame * mShapeFrame
Pointer to the ShapeFrame that this ShapeFrameNode is associated with.
Definition ShapeFrameNode.hpp:101
void createShapeNode(const std::shared_ptr< dart::dynamics::Shape > &shape)
Definition ShapeFrameNode.cpp:186
void clearUtilization()
Set mUtilized to false.
Definition ShapeFrameNode.cpp:150
bool mUtilized
True iff this ShapeFrameNode has been utilized on the latest update.
Definition ShapeFrameNode.hpp:111
WorldNode * getWorldNode()
Definition ShapeFrameNode.cpp:107
bool wasUtilized() const
True iff this ShapeFrameNode has been utilized on the latest update.
Definition ShapeFrameNode.cpp:144
dart::dynamics::ShapeFrame * getShapeFrame()
Pointer to the ShapeFrame associated with this ShapeFrameNode.
Definition ShapeFrameNode.cpp:95
render::ShapeNode * mRenderShapeNode
Definition ShapeFrameNode.hpp:106
void refreshShapeNode(const std::shared_ptr< dart::dynamics::Shape > &shape)
Definition ShapeFrameNode.cpp:162
virtual ~ShapeFrameNode()
Definition ShapeFrameNode.cpp:156
WorldNode class encapsulates a World to be displayed in OpenSceneGraph.
Definition WorldNode.hpp:65
Definition ShapeNode.hpp:59
Definition BulletCollisionDetector.cpp:63