DART
6.10.1
|
#include <HeightmapShapeNode.hpp>
Public Types | |
using | S = S_ |
Public Member Functions | |
HeightmapShapeNode (std::shared_ptr< dynamics::HeightmapShape< S >> shape, ShapeFrameNode *parent) | |
void | refresh () override |
Update all rendering data for this ShapeNode. More... | |
void | extractData (bool firstTime) |
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 | ~HeightmapShapeNode () override |
Protected Attributes | |
std::shared_ptr< dynamics::HeightmapShape< S > > | mHeightmapShape |
HeightmapShapeGeode< S > * | mGeode |
std::size_t | mHeightmapVersion |
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... | |
using dart::gui::osg::render::HeightmapShapeNode< S_ >::S = S_ |
dart::gui::osg::render::HeightmapShapeNode< S >::HeightmapShapeNode | ( | std::shared_ptr< dynamics::HeightmapShape< S >> | shape, |
ShapeFrameNode * | parent | ||
) |
|
overrideprotectedvirtual |
|
inherited |
Set mUtilized to false.
void dart::gui::osg::render::HeightmapShapeNode< S >::extractData | ( | bool | firstTime | ) |
|
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 |
|
overridevirtual |
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 |
|
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.