Public Member Functions | Private Attributes | List of all members
rviz::FrameSelectionHandler Class Reference
Inheritance diagram for rviz::FrameSelectionHandler:
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...
 
 FrameSelectionHandler (FrameInfo *frame, DisplayContext *context)
 
bool getEnabled ()
 
void setEnabled (bool enabled)
 
void setOrientation (const Ogre::Quaternion &orientation)
 
void setParentName (const std::string &parent_name)
 
void setPosition (const Ogre::Vector3 &position)
 
 ~FrameSelectionHandler () override
 
- Public Member Functions inherited from rviz::SelectionHandler
void addTrackedObject (Ogre::MovableObject *object)
 
void addTrackedObjects (Ogre::SceneNode *node)
 
virtual void getAABBs (const Picked &obj, V_AABB &aabbs)
 
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...
 
virtual bool needsAdditionalRenderPass (uint32_t)
 
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 (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

Propertycategory_property_
 
BoolPropertyenabled_property_
 
FrameInfoframe_
 
QuaternionPropertyorientation_property_
 
StringPropertyparent_property_
 
VectorPropertyposition_property_
 

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 56 of file tf_display.cpp.

Constructor & Destructor Documentation

◆ FrameSelectionHandler()

rviz::FrameSelectionHandler::FrameSelectionHandler ( FrameInfo frame,
DisplayContext context 
)

Definition at line 82 of file tf_display.cpp.

◆ ~FrameSelectionHandler()

rviz::FrameSelectionHandler::~FrameSelectionHandler ( )
inlineoverride

Definition at line 60 of file tf_display.cpp.

Member Function Documentation

◆ createProperties()

void rviz::FrameSelectionHandler::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 93 of file tf_display.cpp.

◆ destroyProperties()

void rviz::FrameSelectionHandler::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 112 of file tf_display.cpp.

◆ getEnabled()

bool rviz::FrameSelectionHandler::getEnabled ( )

Definition at line 122 of file tf_display.cpp.

◆ setEnabled()

void rviz::FrameSelectionHandler::setEnabled ( bool  enabled)

Definition at line 131 of file tf_display.cpp.

◆ setOrientation()

void rviz::FrameSelectionHandler::setOrientation ( const Ogre::Quaternion &  orientation)

Definition at line 155 of file tf_display.cpp.

◆ setParentName()

void rviz::FrameSelectionHandler::setParentName ( const std::string &  parent_name)

Definition at line 139 of file tf_display.cpp.

◆ setPosition()

void rviz::FrameSelectionHandler::setPosition ( const Ogre::Vector3 &  position)

Definition at line 147 of file tf_display.cpp.

Member Data Documentation

◆ category_property_

Property* rviz::FrameSelectionHandler::category_property_
private

Definition at line 75 of file tf_display.cpp.

◆ enabled_property_

BoolProperty* rviz::FrameSelectionHandler::enabled_property_
private

Definition at line 76 of file tf_display.cpp.

◆ frame_

FrameInfo* rviz::FrameSelectionHandler::frame_
private

Definition at line 74 of file tf_display.cpp.

◆ orientation_property_

QuaternionProperty* rviz::FrameSelectionHandler::orientation_property_
private

Definition at line 79 of file tf_display.cpp.

◆ parent_property_

StringProperty* rviz::FrameSelectionHandler::parent_property_
private

Definition at line 77 of file tf_display.cpp.

◆ position_property_

VectorProperty* rviz::FrameSelectionHandler::position_property_
private

Definition at line 78 of file tf_display.cpp.


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


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust, William Woodall
autogenerated on Fri Dec 13 2024 03:31:03