Public Member Functions | |
virtual void | createProperties (const Picked &obj, Property *parent_property) |
Override to create properties of the given picked object(s). | |
virtual void | destroyProperties (const Picked &obj, Property *parent_property) |
Destroy all properties for the given picked object(s). | |
FrameSelectionHandler (FrameInfo *frame, TFDisplay *display, DisplayContext *context) | |
bool | getEnabled () |
void | setEnabled (bool enabled) |
void | setOrientation (const Ogre::Quaternion &orientation) |
void | setParentName (std::string parent_name) |
void | setPosition (const Ogre::Vector3 &position) |
virtual | ~FrameSelectionHandler () |
Private Attributes | |
Property * | category_property_ |
TFDisplay * | display_ |
BoolProperty * | enabled_property_ |
FrameInfo * | frame_ |
QuaternionProperty * | orientation_property_ |
StringProperty * | parent_property_ |
VectorProperty * | position_property_ |
Definition at line 55 of file tf_display.cpp.
rviz::FrameSelectionHandler::FrameSelectionHandler | ( | FrameInfo * | frame, |
TFDisplay * | display, | ||
DisplayContext * | context | ||
) |
Definition at line 80 of file tf_display.cpp.
virtual rviz::FrameSelectionHandler::~FrameSelectionHandler | ( | ) | [inline, virtual] |
Definition at line 59 of file tf_display.cpp.
void rviz::FrameSelectionHandler::createProperties | ( | const Picked & | obj, |
Property * | parent_property | ||
) | [virtual] |
Override to create properties of the given picked object(s).
Top-level properties created here should be added to properties_ so they will be automatically deleted by deleteProperties().
This base implementation does nothing.
Reimplemented from rviz::SelectionHandler.
Definition at line 92 of file tf_display.cpp.
void rviz::FrameSelectionHandler::destroyProperties | ( | const Picked & | obj, |
Property * | parent_property | ||
) | [virtual] |
Destroy all properties for the given picked object(s).
This base implementation destroys all the properties in properties_.
If createProperties() adds all the top-level properties to properties_, there is no need to override this in a subclass.
Reimplemented from rviz::SelectionHandler.
Definition at line 108 of file tf_display.cpp.
Definition at line 118 of file tf_display.cpp.
void rviz::FrameSelectionHandler::setEnabled | ( | bool | enabled | ) |
Definition at line 127 of file tf_display.cpp.
void rviz::FrameSelectionHandler::setOrientation | ( | const Ogre::Quaternion & | orientation | ) |
Definition at line 151 of file tf_display.cpp.
void rviz::FrameSelectionHandler::setParentName | ( | std::string | parent_name | ) |
Definition at line 135 of file tf_display.cpp.
void rviz::FrameSelectionHandler::setPosition | ( | const Ogre::Vector3 & | position | ) |
Definition at line 143 of file tf_display.cpp.
Definition at line 73 of file tf_display.cpp.
TFDisplay* rviz::FrameSelectionHandler::display_ [private] |
Definition at line 72 of file tf_display.cpp.
Definition at line 74 of file tf_display.cpp.
FrameInfo* rviz::FrameSelectionHandler::frame_ [private] |
Definition at line 71 of file tf_display.cpp.
Definition at line 77 of file tf_display.cpp.
Definition at line 75 of file tf_display.cpp.
Definition at line 76 of file tf_display.cpp.