23 #include <osg/Drawable>
24 #include <osgViewer/Viewer>
25 #include <osgSim/ColorRange>
26 #include <osgSim/ScalarsToColors>
27 #include <osg/Version>
#define AGX_DECLARE_POINTER_TYPES(type)
A HeightField is a collision shape that can be created from a grid structure, like an image.
Rendering class for the agxCollide::HeightField The visual representation will be updated if the Heig...
agxCollide::HeightFieldConstObserver m_heightField
osg::StateSet * m_stateSet
virtual void traverse(osg::NodeVisitor &nv)
osg::ref_ptr< osg::Geometry > m_geometry
osg::Geometry * getGeometry()
HeightField(const agxCollide::HeightField *heightField)
Construct a renderable height field from the specified collision HeightField.
bool createVisual(const agxCollide::HeightField *heightField)
agx::UInt32 m_modifiedCount
const agxCollide::HeightField * getHeightField() const
const osg::Geometry * getGeometry() const
The agxOSG namespace provides functionality for visualizing AGX simulations with OpenSceneGraph.