23#include <osg/Drawable>
24#include <osgViewer/Viewer>
25#include <osgSim/ColorRange>
26#include <osgSim/ScalarsToColors>
#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
HeightField(const agxCollide::HeightField *heightField)
Construct a renderable height field from the specified collision HeightField.
const osg::Geometry * getGeometry() const
osg::Geometry * getGeometry()
bool createVisual(const agxCollide::HeightField *heightField)
const agxCollide::HeightField * getHeightField() const
agx::UInt32 m_modifiedCount
The agxOSG namespace provides functionality for visualizing AGX simulations with OpenSceneGraph.