Public Member Functions | Private Attributes | List of all members
rviz::PointCloudSelectionHandler Class Reference

#include <point_cloud_common.h>

Inheritance diagram for rviz::PointCloudSelectionHandler:
Inheritance graph
[legend]

Public Member Functions

void createProperties (const Picked &obj, Property *parent_property) override
 Override to create properties of the given picked object(s). More...
 
void destroyProperties (const Picked &obj, Property *parent_property) override
 Destroy all properties for the given picked object(s). More...
 
void getAABBs (const Picked &obj, V_AABB &aabbs) override
 
bool hasSelections ()
 
bool needsAdditionalRenderPass (uint32_t pass) override
 
void onDeselect (const Picked &obj) override
 
void onSelect (const Picked &obj) override
 
 PointCloudSelectionHandler (float box_size, PointCloudCommon::CloudInfo *cloud_info, DisplayContext *context)
 
void postRenderPass (uint32_t pass) override
 
void preRenderPass (uint32_t pass) override
 
void setBoxSize (float size)
 
 ~PointCloudSelectionHandler () override
 
- 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::CloudInfocloud_info_
 
QHash< IndexAndMessage, Property * > property_hash_
 

Additional Inherited Members

- Protected Types inherited from rviz::SelectionHandler
typedef boost::shared_ptr< ListenerListenerPtr
 
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_
 
DisplayContextcontext_
 
InteractiveObjectWPtr interactive_object_
 
ListenerPtr listener_
 
QList< Property * > properties_
 
S_Movable tracked_objects_
 

Detailed Description

Definition at line 216 of file point_cloud_common.h.

Constructor & Destructor Documentation

◆ PointCloudSelectionHandler()

rviz::PointCloudSelectionHandler::PointCloudSelectionHandler ( float  box_size,
PointCloudCommon::CloudInfo cloud_info,
DisplayContext context 
)

Definition at line 77 of file point_cloud_common.cpp.

◆ ~PointCloudSelectionHandler()

rviz::PointCloudSelectionHandler::~PointCloudSelectionHandler ( )
override

Definition at line 84 of file point_cloud_common.cpp.

Member Function Documentation

◆ createProperties()

void rviz::PointCloudSelectionHandler::createProperties ( const Picked ,
Property  
)
overridevirtual

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 138 of file point_cloud_common.cpp.

◆ destroyProperties()

void rviz::PointCloudSelectionHandler::destroyProperties ( const Picked obj,
Property parent_property 
)
overridevirtual

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 211 of file point_cloud_common.cpp.

◆ getAABBs()

void rviz::PointCloudSelectionHandler::getAABBs ( const Picked obj,
V_AABB aabbs 
)
overridevirtual

Reimplemented from rviz::SelectionHandler.

Definition at line 241 of file point_cloud_common.cpp.

◆ hasSelections()

bool rviz::PointCloudSelectionHandler::hasSelections ( )
inline

Definition at line 245 of file point_cloud_common.h.

◆ needsAdditionalRenderPass()

bool rviz::PointCloudSelectionHandler::needsAdditionalRenderPass ( uint32_t  pass)
inlineoverridevirtual

Reimplemented from rviz::SelectionHandler.

Definition at line 227 of file point_cloud_common.h.

◆ onDeselect()

void rviz::PointCloudSelectionHandler::onDeselect ( const Picked obj)
overridevirtual

Reimplemented from rviz::SelectionHandler.

Definition at line 278 of file point_cloud_common.cpp.

◆ onSelect()

void rviz::PointCloudSelectionHandler::onSelect ( const Picked obj)
overridevirtual

Reimplemented from rviz::SelectionHandler.

Definition at line 257 of file point_cloud_common.cpp.

◆ postRenderPass()

void rviz::PointCloudSelectionHandler::postRenderPass ( uint32_t  pass)
overridevirtual

Reimplemented from rviz::SelectionHandler.

Definition at line 111 of file point_cloud_common.cpp.

◆ preRenderPass()

void rviz::PointCloudSelectionHandler::preRenderPass ( uint32_t  pass)
overridevirtual

Reimplemented from rviz::SelectionHandler.

Definition at line 94 of file point_cloud_common.cpp.

◆ setBoxSize()

void rviz::PointCloudSelectionHandler::setBoxSize ( float  size)
inline

Definition at line 240 of file point_cloud_common.h.

Member Data Documentation

◆ box_size_

float rviz::PointCloudSelectionHandler::box_size_
private

Definition at line 253 of file point_cloud_common.h.

◆ cloud_info_

PointCloudCommon::CloudInfo* rviz::PointCloudSelectionHandler::cloud_info_
private

Definition at line 251 of file point_cloud_common.h.

◆ property_hash_

QHash<IndexAndMessage, Property*> rviz::PointCloudSelectionHandler::property_hash_
private

Definition at line 252 of file point_cloud_common.h.


The documentation for this class was generated from the following files:


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Mon Aug 15 2022 02:05:18