23 #include <osg/Drawable> 24 #include <osgViewer/Viewer> 25 #include <osgSim/ColorRange> 26 #include <osgSim/ScalarsToColors> 27 #include <osg/Version> 56 osg::Geometry *getGeometry();
57 const osg::Geometry *getGeometry()
const ;
62 virtual void traverse(osg::NodeVisitor& nv);
osg::StateSet * m_stateSet
agx::UInt32 m_modifiedCount
osg::ref_ptr< osg::Geometry > m_geometry
#define AGX_DECLARE_POINTER_TYPES(type)
Rendering class for the agxCollide::HeightField The visual representation will be updated if the Heig...
The agxOSG namespace provides functionality for visualizing AGX simulations with OpenSceneGraph.
AGXOSG_EXPORT agxOSG::GeometryNode * createVisual(const agxCollide::Geometry *geometry, osg::Group *root, float detailRatio=1.0f, bool createAxes=false, bool evenIfSensor=true)
Given a geometry, this function create visual representation of the shape.
agxCollide::HeightFieldConstObserver m_heightField
A HeightField is a collision shape that can be created from a grid structure, like an image...