![]() |
RobWorkProject
23.9.11-
|
Debug render for the Bullet engine. More...
#include <BtDebugRender.hpp>
Inherits SimulatorDebugRender.
Public Member Functions | |
BtDebugRender (BtSimulator *sim) | |
Constructor. More... | |
virtual | ~BtDebugRender () |
Destructor. | |
virtual void | draw (const rw::graphics::DrawableNode::RenderInfo &info, DrawType type, double alpha) const |
draws the object. More... | |
virtual void | setDrawMask (unsigned int mask) |
Set the draw mask. More... | |
![]() | |
virtual | ~Render () |
destructor | |
Additional Inherited Members | |
![]() | |
typedef rw::core::Ptr< SimulatorDebugRender > | Ptr |
Smart pointer type for SimulatorDebugRender. | |
![]() | |
typedef rw::core::Ptr< Render > | Ptr |
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 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. | |
![]() | |
SimulatorDebugRender () | |
Constructor. | |
![]() | |
Render () | |
Only instances of classes inheriting Render is allowed. | |
Debug render for the Bullet engine.
BtDebugRender | ( | BtSimulator * | sim | ) |
Constructor.
sim | the simulator the debug render is associated to. |
|
virtual |
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.
|
virtual |