Go to the documentation of this file.
30 #include <OgreQuaternion.h>
51 , marker_id_(QString::fromStdString(id.first) +
"/" + QString::number(id.second))
84 VectorProperty* createScaleProperty(
const visualization_msgs::Marker& marker,
85 const Ogre::Vector3 scale,
95 case visualization_msgs::Marker::ARROW:
100 case visualization_msgs::Marker::CYLINDER:
103 case visualization_msgs::Marker::LINE_STRIP:
104 case visualization_msgs::Marker::LINE_LIST:
109 case visualization_msgs::Marker::POINTS:
114 case visualization_msgs::Marker::TEXT_VIEW_FACING:
128 "", parent_property);
Property * childAt(int index) const
Return the child Property with the given index, or NULL if the index is out of bounds or if the child...
~MarkerSelectionHandler() override
virtual void setName(const QString &name)
Set the name.
const Ogre::Quaternion & getOrientation() const
void setReadOnly(bool read_only) override
Overridden from Property to propagate read-only-ness to children.
Ogre::Vector3 getPosition() const
VectorProperty * position_property_
A single element of a property tree, with a name, value, description, and possibly children.
QuaternionProperty * orientation_property_
void hide()
Hide this Property in any PropertyTreeWidgets.
virtual void expand()
Expand (show the children of) this Property.
virtual bool setVector(const Ogre::Vector3 &vector)
virtual bool setQuaternion(const Ogre::Quaternion &quaternion)
MarkerSelectionHandler(const MarkerBase *marker, const MarkerID &id, DisplayContext *context)
const MarkerBase * marker_
const Ogre::Vector3 & getPosition() const
Pure-virtual base class for objects which give Display subclasses context in which to work.
const MarkerConstPtr & getMessage() const
void updateProperties() override
Override to update property values.
virtual void setReadOnly(bool read_only)
Prevent or allow users to edit this property from a PropertyTreeWidget.
std::pair< std::string, int32_t > MarkerID
Ogre::Quaternion getOrientation() const
void setReadOnly(bool read_only) override
Overridden from Property to propagate read-only-ness to children.
QList< Property * > properties_
VectorProperty * scale_property_
ColorProperty * color_property_
void createProperties(const Picked &obj, Property *parent_property) override
Override to create properties of the given picked object(s).
QString getMarkerTypeName(unsigned int type)
virtual bool setColor(const QColor &color)
Ogre::Vector3 getScale() const
rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust, William Woodall
autogenerated on Fri Aug 2 2024 08:43:09