40 Renderable() : m_simulation( nullptr ), m_enable( true ) {}
53 inline bool isEnabled()
const {
return getEnable(); }
#define AGX_DECLARE_POINTER_TYPES(type)
#define AGXPHYSICS_EXPORT
Class for managing the rendering of geometries, shapes, rigid bodies, constraints etc.
Inherit from this class and implement the render() method to make it it self during debug rendering.
agxSDK::Simulation * getSimulation()
void setEnable(bool enable)
Enable/disable this Renderable.
const agxSDK::Simulation * getSimulation() const
virtual void render(agxRender::RenderManager *mgr)=0
Pure virtual method that should implemented to render a derived class during debug rendering.
virtual void removeNotification()
Called when this Renderable is removed from a RenderManager.
void setSimulation(agxSDK::Simulation *simulation)
Set the associated simulation.
virtual ~Renderable()
Destructor.
virtual void addNotification()
Called when this Renderable is added to a RenderManager.
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
Base class providing referencing counted objects.
Namespace containing classes for handling debug rendering of collision geometries,...
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...