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). | |
virtual void | getAABBs (const Picked &obj, V_AABB &aabbs) |
virtual bool | needsAdditionalRenderPass (uint32_t pass) |
virtual void | onDeselect (const Picked &obj) |
virtual void | onSelect (const Picked &obj) |
PointCloudSelectionHandler (PointCloudBase *display) | |
virtual void | postRenderPass (uint32_t pass) |
virtual void | preRenderPass (uint32_t pass) |
virtual | ~PointCloudSelectionHandler () |
Private Member Functions | |
void | getCloudAndLocalIndexByGlobalIndex (int global_index, PointCloudBase::CloudInfoPtr &cloud_out, int &index_out) |
Private Attributes | |
PointCloudBase * | display_ |
QHash< IndexAndMessage, Property * > | property_hash_ |
Definition at line 60 of file point_cloud_base.cpp.
rviz::PointCloudSelectionHandler::PointCloudSelectionHandler | ( | PointCloudBase * | display | ) |
Definition at line 94 of file point_cloud_base.cpp.
rviz::PointCloudSelectionHandler::~PointCloudSelectionHandler | ( | ) | [virtual] |
Definition at line 99 of file point_cloud_base.cpp.
void rviz::PointCloudSelectionHandler::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 164 of file point_cloud_base.cpp.
void rviz::PointCloudSelectionHandler::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 232 of file point_cloud_base.cpp.
Reimplemented from rviz::SelectionHandler.
Definition at line 274 of file point_cloud_base.cpp.
void rviz::PointCloudSelectionHandler::getCloudAndLocalIndexByGlobalIndex | ( | int | global_index, | |
PointCloudBase::CloudInfoPtr & | cloud_out, | |||
int & | index_out | |||
) | [private] |
Definition at line 123 of file point_cloud_base.cpp.
virtual bool rviz::PointCloudSelectionHandler::needsAdditionalRenderPass | ( | uint32_t | pass | ) | [inline, virtual] |
Reimplemented from rviz::SelectionHandler.
Definition at line 69 of file point_cloud_base.cpp.
void rviz::PointCloudSelectionHandler::onDeselect | ( | const Picked & | obj | ) | [virtual] |
Reimplemented from rviz::SelectionHandler.
Definition at line 320 of file point_cloud_base.cpp.
void rviz::PointCloudSelectionHandler::onSelect | ( | const Picked & | obj | ) | [virtual] |
Reimplemented from rviz::SelectionHandler.
Definition at line 290 of file point_cloud_base.cpp.
void rviz::PointCloudSelectionHandler::postRenderPass | ( | uint32_t | pass | ) | [virtual] |
Reimplemented from rviz::SelectionHandler.
Definition at line 113 of file point_cloud_base.cpp.
void rviz::PointCloudSelectionHandler::preRenderPass | ( | uint32_t | pass | ) | [virtual] |
Reimplemented from rviz::SelectionHandler.
Definition at line 103 of file point_cloud_base.cpp.
Definition at line 90 of file point_cloud_base.cpp.
QHash<IndexAndMessage, Property*> rviz::PointCloudSelectionHandler::property_hash_ [private] |
Definition at line 91 of file point_cloud_base.cpp.