RobWorkProject  24.12.4-
Public Member Functions | List of all members
ODEDebugRender Class Reference

Inherits SimulatorDebugRender.

Public Member Functions

 ODEDebugRender (ODESimulator *sim)
 
virtual void draw (const rw::graphics::DrawableNode::RenderInfo &info, DrawType draw, double alpha) const
 draws the object. More...
 
virtual void setDrawMask (unsigned int mask)
 Set the draw mask. More...
 
- Public Member Functions inherited from Render
virtual ~Render ()
 destructor
 

Additional Inherited Members

- Public Types inherited from SimulatorDebugRender
typedef rw::core::Ptr< SimulatorDebugRenderPtr
 Smart pointer type for SimulatorDebugRender.
 
- Public Types inherited from Render
typedef rw::core::Ptr< RenderPtr
 smart pointer type to this class
 
typedef DrawableNode::DrawType DrawType
 when calling render on the draw mode or type can be specified. See DrawableNode::DrawType
 
- Static Public Attributes inherited from SimulatorDebugRender
static const unsigned int DRAW_NOTHING = 0
 Draw mask for drawing nothing.
 
static const unsigned int DRAW_CONTACT_NORMAL = 1
 Draw mask for drawing contact normals.
 
static const unsigned int DRAW_FRICTION_CONE = 2
 Draw mask for drawing contact friction cones.
 
static const unsigned int DRAW_BODY_FORCES = 4
 Draw mask for drawing body forces.
 
static const unsigned int DRAW_COLLISION_GEOMETRY = 8
 Draw mask for drawing collision geometries.
 
- Protected Member Functions inherited from SimulatorDebugRender
 SimulatorDebugRender ()
 Constructor.
 
- Protected Member Functions inherited from Render
 Render ()
 Only instances of classes inheriting Render is allowed.
 

Member Function Documentation

◆ draw()

virtual void draw ( const rw::graphics::DrawableNode::RenderInfo info,
DrawType  type,
double  alpha 
) const
virtual

draws the object.

Parameters
info[in] state and rendering specific info
type[in] the drawtype which is being used
alpha[in] the alpha value to render with

Implements Render.

◆ setDrawMask()

virtual void setDrawMask ( unsigned int  mask)
inlinevirtual

Set the draw mask.

Parameters
mask[in] the draw mask.

Implements SimulatorDebugRender.


The documentation for this class was generated from the following file: