DART
6.7.3
|
Public Member Functions | |
osgAiNode (dart::dynamics::MeshShape *shape, ShapeFrameNode *parentEntity, MeshShapeNode *parentNode, const aiNode *node) | |
void | refresh () |
Update all rendering data for this ShapeNode. More... | |
void | extractData (bool firstTime) |
const aiNode * | getAiNodePtr () const |
const std::shared_ptr< dart::dynamics::Shape > & | getShape () const |
Pointer to the Shape associated with this ShapeNode. More... | |
const dart::dynamics::ShapeFrame * | getShapeFrame () const |
dart::dynamics::VisualAspect * | getVisualAspect () |
const dart::dynamics::VisualAspect * | getVisualAspect () const |
::osg::Node * | getNode () |
Cast this ShapeNode into an osg::Node. More... | |
const ::osg::Node * | getNode () const |
Cast this ShapeNode into an osg::Node. More... | |
ShapeFrameNode * | getParentShapeFrameNode () |
Pointer to the parent EntityNode of this ShapeNode. More... | |
const ShapeFrameNode * | getParentShapeFrameNode () const |
Pointer to the parent EntityNode of this ShapeNode. More... | |
bool | wasUtilized () const |
True iff this ShapeNode has been utilized on the latest update. More... | |
void | clearUtilization () |
Set mUtilized to false. More... | |
Protected Member Functions | |
virtual | ~osgAiNode () |
void | clearChildUtilizationFlags () |
void | clearUnusedNodes () |
Protected Attributes | |
MeshShapeNode * | mMainNode |
dart::dynamics::MeshShape * | mMeshShape |
const aiNode * | mAiNode |
MeshShapeGeode * | mGeode |
std::map< const aiNode *, osgAiNode * > | mChildNodes |
const std::shared_ptr< dart::dynamics::Shape > | mShape |
Pointer to the Shape associated with this ShapeNode. More... | |
dart::dynamics::ShapeFrame * | mShapeFrame |
Pointer to the SimpleFrame associated with this ShapeNode. More... | |
dart::dynamics::VisualAspect * | mVisualAspect |
Pointer to the VisualAspect associated with this ShapeNode. More... | |
ShapeFrameNode * | mParentShapeFrameNode |
Pointer to the parent ShapeFrameNode of this ShapeNode. More... | |
::osg::Node * | mNode |
Should generally be equal to 'this'. More... | |
bool | mUtilized |
True iff this ShapeNode has been utilized on the latest update. More... | |
dart::gui::osg::render::osgAiNode::osgAiNode | ( | dart::dynamics::MeshShape * | shape, |
ShapeFrameNode * | parentEntity, | ||
MeshShapeNode * | parentNode, | ||
const aiNode * | node | ||
) |
|
protectedvirtual |
|
protected |
|
protected |
|
inherited |
Set mUtilized to false.
void dart::gui::osg::render::osgAiNode::extractData | ( | bool | firstTime | ) |
|
inline |
|
inherited |
Cast this ShapeNode into an osg::Node.
|
inherited |
Cast this ShapeNode into an osg::Node.
|
inherited |
Pointer to the parent EntityNode of this ShapeNode.
|
inherited |
Pointer to the parent EntityNode of this ShapeNode.
|
inherited |
Pointer to the Shape associated with this ShapeNode.
|
inherited |
|
inherited |
|
inherited |
|
virtual |
Update all rendering data for this ShapeNode.
Implements dart::gui::osg::render::ShapeNode.
|
inherited |
True iff this ShapeNode has been utilized on the latest update.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedinherited |
Should generally be equal to 'this'.
|
protectedinherited |
Pointer to the parent ShapeFrameNode of this ShapeNode.
|
protectedinherited |
Pointer to the Shape associated with this ShapeNode.
|
protectedinherited |
Pointer to the SimpleFrame associated with this ShapeNode.
|
protectedinherited |
True iff this ShapeNode 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.
|
protectedinherited |
Pointer to the VisualAspect associated with this ShapeNode.