#include <selection_manager.h>
Classes | |
class | Listener |
Public Types | |
typedef std::vector < PropertyBaseWPtr > | V_Property |
Public Member Functions | |
void | addTrackedObject (Ogre::MovableObject *object) |
virtual void | createProperties (const Picked &obj, PropertyManager *property_manager) |
virtual void | destroyProperties (const Picked &obj, PropertyManager *property_manager) |
virtual void | getAABBs (const Picked &obj, V_AABB &aabbs) |
void | initialize (VisualizationManager *manager) |
virtual bool | needsAdditionalRenderPass (uint32_t pass) |
virtual void | onDeselect (const Picked &obj) |
virtual void | onSelect (const Picked &obj) |
virtual void | postRenderPass (uint32_t pass) |
virtual void | preRenderPass (uint32_t pass) |
void | removeTrackedObject (Ogre::MovableObject *object) |
SelectionHandler () | |
virtual void | updateProperties () |
virtual void | updateTrackedBoxes () |
virtual | ~SelectionHandler () |
Protected Types | |
typedef boost::shared_ptr < Listener > | ListenerPtr |
typedef std::map< std::pair < CollObjectHandle, uint64_t > , std::pair< Ogre::SceneNode *, Ogre::WireBoundingBox * > > | M_HandleToBox |
typedef std::set < Ogre::MovableObject * > | S_Movable |
Protected Member Functions | |
void | createBox (const std::pair< CollObjectHandle, uint64_t > &handles, const Ogre::AxisAlignedBox &aabb, const std::string &material_name) |
void | destroyBox (const std::pair< CollObjectHandle, uint64_t > &handles) |
Protected Attributes | |
M_HandleToBox | boxes_ |
ListenerPtr | listener_ |
VisualizationManager * | manager_ |
V_Property | properties_ |
S_Movable | tracked_objects_ |
Friends | |
class | SelectionManager |
Definition at line 98 of file selection_manager.h.
typedef boost::shared_ptr<Listener> rviz::SelectionHandler::ListenerPtr [protected] |
Definition at line 161 of file selection_manager.h.
typedef std::map<std::pair<CollObjectHandle, uint64_t>, std::pair<Ogre::SceneNode*, Ogre::WireBoundingBox*> > rviz::SelectionHandler::M_HandleToBox [protected] |
Definition at line 135 of file selection_manager.h.
typedef std::set<Ogre::MovableObject*> rviz::SelectionHandler::S_Movable [protected] |
Definition at line 140 of file selection_manager.h.
typedef std::vector<PropertyBaseWPtr> rviz::SelectionHandler::V_Property |
Definition at line 101 of file selection_manager.h.
rviz::SelectionHandler::SelectionHandler | ( | ) |
Definition at line 57 of file selection_manager.cpp.
rviz::SelectionHandler::~SelectionHandler | ( | ) | [virtual] |
Definition at line 64 of file selection_manager.cpp.
void rviz::SelectionHandler::addTrackedObject | ( | Ogre::MovableObject * | object | ) |
Definition at line 107 of file selection_manager.cpp.
void rviz::SelectionHandler::createBox | ( | const std::pair< CollObjectHandle, uint64_t > & | handles, | |
const Ogre::AxisAlignedBox & | aabb, | |||
const std::string & | material_name | |||
) | [protected] |
Definition at line 177 of file selection_manager.cpp.
virtual void rviz::SelectionHandler::createProperties | ( | const Picked & | obj, | |
PropertyManager * | property_manager | |||
) | [inline, virtual] |
Reimplemented in rviz::MarkerSelectionHandler, rviz::PointCloudSelectionHandler, rviz::PoseDisplaySelectionHandler, rviz::FrameSelectionHandler, and rviz::RobotLinkSelectionHandler.
Definition at line 112 of file selection_manager.h.
void rviz::SelectionHandler::destroyBox | ( | const std::pair< CollObjectHandle, uint64_t > & | handles | ) | [protected] |
Definition at line 205 of file selection_manager.cpp.
void rviz::SelectionHandler::destroyProperties | ( | const Picked & | obj, | |
PropertyManager * | property_manager | |||
) | [virtual] |
Reimplemented in rviz::PointCloudSelectionHandler.
Definition at line 167 of file selection_manager.cpp.
Reimplemented in rviz::PointCloudSelectionHandler.
Definition at line 147 of file selection_manager.cpp.
void rviz::SelectionHandler::initialize | ( | VisualizationManager * | manager | ) |
Definition at line 80 of file selection_manager.cpp.
virtual bool rviz::SelectionHandler::needsAdditionalRenderPass | ( | uint32_t | pass | ) | [inline, virtual] |
Reimplemented in rviz::PointCloudSelectionHandler.
Definition at line 116 of file selection_manager.h.
void rviz::SelectionHandler::onDeselect | ( | const Picked & | obj | ) | [virtual] |
Reimplemented in rviz::PointCloudSelectionHandler.
Definition at line 243 of file selection_manager.cpp.
void rviz::SelectionHandler::onSelect | ( | const Picked & | obj | ) | [virtual] |
Reimplemented in rviz::PointCloudSelectionHandler.
Definition at line 222 of file selection_manager.cpp.
void rviz::SelectionHandler::postRenderPass | ( | uint32_t | pass | ) | [virtual] |
Reimplemented in rviz::PointCloudSelectionHandler.
Definition at line 96 of file selection_manager.cpp.
void rviz::SelectionHandler::preRenderPass | ( | uint32_t | pass | ) | [virtual] |
Reimplemented in rviz::PointCloudSelectionHandler.
Definition at line 85 of file selection_manager.cpp.
void rviz::SelectionHandler::removeTrackedObject | ( | Ogre::MovableObject * | object | ) |
Definition at line 113 of file selection_manager.cpp.
void rviz::SelectionHandler::updateProperties | ( | ) | [virtual] |
Definition at line 157 of file selection_manager.cpp.
void rviz::SelectionHandler::updateTrackedBoxes | ( | ) | [virtual] |
Definition at line 121 of file selection_manager.cpp.
friend class SelectionManager [friend] |
Definition at line 164 of file selection_manager.h.
M_HandleToBox rviz::SelectionHandler::boxes_ [protected] |
Definition at line 136 of file selection_manager.h.
ListenerPtr rviz::SelectionHandler::listener_ [protected] |
Definition at line 162 of file selection_manager.h.
VisualizationManager* rviz::SelectionHandler::manager_ [protected] |
Definition at line 138 of file selection_manager.h.
V_Property rviz::SelectionHandler::properties_ [protected] |
Definition at line 133 of file selection_manager.h.
S_Movable rviz::SelectionHandler::tracked_objects_ [protected] |
Definition at line 141 of file selection_manager.h.