#include <point_cloud_common.h>
Public Member Functions | |
virtual void | createProperties (const Picked &obj, Property *parent_property) |
Override to create properties of the given picked object(s). More... | |
virtual void | destroyProperties (const Picked &obj, Property *parent_property) |
Destroy all properties for the given picked object(s). More... | |
virtual void | getAABBs (const Picked &obj, V_AABB &aabbs) |
bool | hasSelections () |
virtual bool | needsAdditionalRenderPass (uint32_t pass) |
virtual void | onDeselect (const Picked &obj) |
virtual void | onSelect (const Picked &obj) |
PointCloudSelectionHandler (float box_size, PointCloudCommon::CloudInfo *cloud_info, DisplayContext *context) | |
virtual void | postRenderPass (uint32_t pass) |
virtual void | preRenderPass (uint32_t pass) |
void | setBoxSize (float size) |
virtual | ~PointCloudSelectionHandler () |
Public Member Functions inherited from rviz::SelectionHandler | |
void | addTrackedObject (Ogre::MovableObject *object) |
void | addTrackedObjects (Ogre::SceneNode *node) |
CollObjectHandle | getHandle () const |
virtual InteractiveObjectWPtr | getInteractiveObject () |
Get the object to listen to mouse events and other interaction calls during use of the 'interact' tool. More... | |
void | removeTrackedObject (Ogre::MovableObject *object) |
SelectionHandler (DisplayContext *context) | |
virtual void | setInteractiveObject (InteractiveObjectWPtr object) |
Set an object to listen to mouse events and other interaction calls during use of the 'interact' tool. More... | |
virtual void | updateProperties () |
Override to update property values. More... | |
virtual void | updateTrackedBoxes () |
virtual | ~SelectionHandler () |
Private Attributes | |
float | box_size_ |
PointCloudCommon::CloudInfo * | cloud_info_ |
QHash< IndexAndMessage, Property * > | property_hash_ |
Additional Inherited Members | |
Protected Types inherited from rviz::SelectionHandler | |
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 inherited from rviz::SelectionHandler | |
void | createBox (const std::pair< CollObjectHandle, uint64_t > &handles, const Ogre::AxisAlignedBox &aabb, const std::string &material_name) |
Create or update a box for the given handle-int pair, with the box specified by aabb. More... | |
void | destroyBox (const std::pair< CollObjectHandle, uint64_t > &handles) |
Destroy the box associated with the given handle-int pair, if there is one. More... | |
Protected Attributes inherited from rviz::SelectionHandler | |
M_HandleToBox | boxes_ |
DisplayContext * | context_ |
InteractiveObjectWPtr | interactive_object_ |
ListenerPtr | listener_ |
QList< Property * > | properties_ |
S_Movable | tracked_objects_ |
Definition at line 220 of file point_cloud_common.h.
rviz::PointCloudSelectionHandler::PointCloudSelectionHandler | ( | float | box_size, |
PointCloudCommon::CloudInfo * | cloud_info, | ||
DisplayContext * | context | ||
) |
Definition at line 84 of file point_cloud_common.cpp.
|
virtual |
Definition at line 94 of file point_cloud_common.cpp.
|
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 148 of file point_cloud_common.cpp.
|
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 216 of file point_cloud_common.cpp.
Reimplemented from rviz::SelectionHandler.
Definition at line 246 of file point_cloud_common.cpp.
|
inline |
Definition at line 249 of file point_cloud_common.h.
|
inlinevirtual |
Reimplemented from rviz::SelectionHandler.
Definition at line 229 of file point_cloud_common.h.
|
virtual |
Reimplemented from rviz::SelectionHandler.
Definition at line 283 of file point_cloud_common.cpp.
|
virtual |
Reimplemented from rviz::SelectionHandler.
Definition at line 262 of file point_cloud_common.cpp.
|
virtual |
Reimplemented from rviz::SelectionHandler.
Definition at line 121 of file point_cloud_common.cpp.
|
virtual |
Reimplemented from rviz::SelectionHandler.
Definition at line 104 of file point_cloud_common.cpp.
|
inline |
Definition at line 247 of file point_cloud_common.h.
|
private |
Definition at line 254 of file point_cloud_common.h.
|
private |
Definition at line 252 of file point_cloud_common.h.
|
private |
Definition at line 253 of file point_cloud_common.h.