17 #ifndef AGXOSG_SIMULATIONDRAWABLE_H 18 #define AGXOSG_SIMULATIONDRAWABLE_H 21 #include <osg/Drawable> 22 #include <osgViewer/Viewer> 23 #include <osg/Version> 44 virtual const char*
className()
const {
return "SimulationDrawable"; }
48 # if OSG_VERSION_GREATER_OR_EQUAL(3,4,0) 49 virtual osg::BoundingSphere computeBound()
const;
50 virtual osg::BoundingBox computeBoundingBox()
const;
52 virtual osg::BoundingBox computeBound()
const;
56 virtual void drawImplementation(osg::RenderInfo& renderInfo)
const;
agxSDK::SimulationObserver m_simulation
virtual ~SimulationDrawable()
virtual const char * className() const
The agxOSG namespace provides functionality for visualizing AGX simulations with OpenSceneGraph.
virtual const char * libraryName() const
virtual bool isSameKindAs(const osg::Object *obj) const
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
virtual osg::Object * cloneType() const
virtual osg::Object * clone(const osg::CopyOp ©op) const