#include <marker_selection_handler.h>
Public Member Functions | |
virtual void | createProperties (const Picked &obj, Property *parent_property) |
Override to create properties of the given picked object(s). | |
Ogre::Quaternion | getOrientation () |
Ogre::Vector3 | getPosition () |
MarkerSelectionHandler (const MarkerBase *marker, MarkerID id, DisplayContext *context) | |
virtual void | updateProperties () |
Override to update property values. | |
virtual | ~MarkerSelectionHandler () |
Private Attributes | |
const MarkerBase * | marker_ |
QString | marker_id_ |
QuaternionProperty * | orientation_property_ |
VectorProperty * | position_property_ |
Definition at line 44 of file marker_selection_handler.h.
rviz::MarkerSelectionHandler::MarkerSelectionHandler | ( | const MarkerBase * | marker, |
MarkerID | id, | ||
DisplayContext * | context | ||
) |
Definition at line 45 of file marker_selection_handler.cpp.
rviz::MarkerSelectionHandler::~MarkerSelectionHandler | ( | ) | [virtual] |
Definition at line 52 of file marker_selection_handler.cpp.
void rviz::MarkerSelectionHandler::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 71 of file marker_selection_handler.cpp.
Ogre::Quaternion rviz::MarkerSelectionHandler::getOrientation | ( | ) |
Definition at line 63 of file marker_selection_handler.cpp.
Definition at line 56 of file marker_selection_handler.cpp.
void rviz::MarkerSelectionHandler::updateProperties | ( | ) | [virtual] |
Override to update property values.
updateProperties() is called on a timer to give selection handlers a chance to update displayed property values. Subclasses with properties that can change should implement this to update the property values based on new information from the selected object(s).
This base implementation does nothing.
Reimplemented from rviz::SelectionHandler.
Definition at line 85 of file marker_selection_handler.cpp.
const MarkerBase* rviz::MarkerSelectionHandler::marker_ [private] |
Definition at line 57 of file marker_selection_handler.h.
QString rviz::MarkerSelectionHandler::marker_id_ [private] |
Definition at line 58 of file marker_selection_handler.h.
Definition at line 60 of file marker_selection_handler.h.
Definition at line 59 of file marker_selection_handler.h.