17 #ifndef AGXRENDER_RENDERABLE_H
18 #define AGXRENDER_RENDERABLE_H
41 Renderable() : m_simulation( nullptr ), m_enable( true ) {}
54 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.
const agxSDK::Simulation * getSimulation() const
void setEnable(bool enable)
Enable/disable this Renderable.
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.
agxSDK::Simulation * getSimulation()
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...