DebugDrawerComponent

Visualizes debug information. More...

Classes

class  DebugDrawerComponent
 The DebugDrawerComponent class. More...
 

Detailed Description

Visualizes debug information.

The DebugDrawerComponent implements the DebugDrawerInterface and provides a convenient way for visualizing debug information. It creates a scene graph representation of the debug content and offers it to visualization components. Several GUI plugins visualize this debug scene graph, among others:

The following example shows an exemplary debug drawing:

DebugDrawerInterfacePrx prxDD = getTopic<DebugDrawerInterfacePrx>("DebugDrawerUpdates");
if (prxDD)
{
// draw in global coordinate system
p.setIdentity();
p(2,3) = 1000.0f;
PosePtr gp(new Pose(p));
prxDD->setPoseDebugLayerVisu("testPose",gp);
armarx::Vector3Ptr p2(new armarx::Vector3(1000, 1000, 1000));
armarx::DrawColor c = {1, 0, 0, 1}; // RGBA
prxDD->setLineDebugLayerVisu("testLine", p1, p2, 2.0f, c);
}
armarx::navigation::core::Pose
Eigen::Isometry3f Pose
Definition: basic_types.h:31
armarx::PosePtr
IceInternal::Handle< Pose > PosePtr
Definition: Pose.h:306
c
constexpr T c
Definition: UnscentedKalmanFilterTest.cpp:43
IceInternal::Handle< Vector3 >
armarx::Vector3
The Vector3 class.
Definition: Pose.h:112
GfxTL::Matrix4f
MatrixXX< 4, 4, float > Matrix4f
Definition: MatrixXX.h:601
armarx::DebugDrawerInterfacePrx
::IceInternal::ProxyHandle<::IceProxy::armarx::DebugDrawerInterface > DebugDrawerInterfacePrx
Definition: JointController.h:40