RobWorkProject  24.6.21-
Public Member Functions | List of all members
RWDebugRender Class Reference

Inherits SimulatorDebugRender.

Public Member Functions

 RWDebugRender (dynamics::DynamicWorkCell &dwc)
void draw (const rw::graphics::DrawableNode::RenderInfo &info, DrawType type, double alpha) const
 draws the object. More...
void setDrawMask (unsigned int mask)
 Set the draw mask. More...
- Public Member Functions inherited from Render
virtual ~Render ()

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 ()
- Protected Member Functions inherited from Render
 Render ()
 Only instances of classes inheriting Render is allowed.

Member Function Documentation

◆ draw()

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

draws the object.

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()

void setDrawMask ( unsigned int  mask)

Set the draw mask.

mask[in] the draw mask.

Implements SimulatorDebugRender.

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