Class Pose2DStampedVisual

Inheritance Relationships

Base Type

  • public rviz_rendering::Object

Class Documentation

class Pose2DStampedVisual : public rviz_rendering::Object

2D pose variable visual consisting on:

  1. A sphere representing the 2D position.

  2. An axes representing the 2D pose (position + orientation).

  3. A text with the variable type and UUID.

Public Functions

~Pose2DStampedVisual() override
void setPose2DStamped(const fuse_variables::Position2DStamped &position, const fuse_variables::Orientation2DStamped &orientation)

Set 2D pose stamped.

Parameters:
  • position[in] 2D position stamped variable.

  • orientation[in] 2D orientation stamped variable.

inline Ogre::SceneNode *getSceneNode()

Get the root scene node of this variable visual.

Returns:

the root scene node of this variable visual.

virtual void setUserData(const Ogre::Any &data) override

Sets user data on all ogre objects we own.

void setSphereColor(const float r, const float g, const float b, const float a)
void setAxesAlpha(const float alpha)
virtual void setScale(const Ogre::Vector3 &scale) override
void setTextScale(const Ogre::Vector3 &scale)
void setTextVisible(const bool visible)
void setVisible(bool visible)

Sets visibility of this constraint.

Convenience method that sets visibility

virtual void setPosition(const Ogre::Vector3 &position) override

Sets position of the frame this constraint is attached.

virtual void setOrientation(const Ogre::Quaternion &orientation) override

Sets orientation of the frame this constraint is attached.