Class Pose2DStampedVisual
Defined in File pose_2d_stamped_visual.hpp
Inheritance Relationships
Base Type
public rviz_rendering::Object
Class Documentation
-
class Pose2DStampedVisual : public rviz_rendering::Object
2D pose variable visual consisting on:
A sphere representing the 2D position.
An axes representing the 2D pose (position + orientation).
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.
-
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)
-
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
-
void setPosition(const Ogre::Vector3 &position) override
Sets position of the frame this constraint is attached.
-
void setOrientation(const Ogre::Quaternion &orientation) override
Sets orientation of the frame this constraint is attached.