Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
rviz::ShapeMarker Class Reference

#include <shape_marker.h>

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

Public Member Functions

S_MaterialPtr getMaterials () override
 
 ShapeMarker (MarkerDisplay *owner, DisplayContext *context, Ogre::SceneNode *parent_node)
 
 ~ShapeMarker () override
 
- Public Member Functions inherited from rviz::MarkerBase
bool expired ()
 
MarkerID getID ()
 
const MarkerConstPtrgetMessage () const
 
const Ogre::Quaternion & getOrientation ()
 
const Ogre::Vector3 & getPosition ()
 
std::string getStringID ()
 
 MarkerBase (MarkerDisplay *owner, DisplayContext *context, Ogre::SceneNode *parent_node)
 
void setInteractiveObject (InteractiveObjectWPtr object)
 Associate an InteractiveObject with this MarkerBase. More...
 
void setMessage (const Marker &message)
 
void setMessage (const MarkerConstPtr &message)
 
virtual void setOrientation (const Ogre::Quaternion &orientation)
 
virtual void setPosition (const Ogre::Vector3 &position)
 
void updateFrameLocked ()
 
virtual ~MarkerBase ()
 

Protected Member Functions

void onNewMessage (const MarkerConstPtr &old_message, const MarkerConstPtr &new_message) override
 
- Protected Member Functions inherited from rviz::MarkerBase
void extractMaterials (Ogre::Entity *entity, S_MaterialPtr &materials)
 
bool transform (const MarkerConstPtr &message, Ogre::Vector3 &pos, Ogre::Quaternion &orient, Ogre::Vector3 &scale)
 

Protected Attributes

Shapeshape_
 
- Protected Attributes inherited from rviz::MarkerBase
DisplayContextcontext_
 
ros::Time expiration_
 
boost::shared_ptr< MarkerSelectionHandlerhandler_
 
MarkerConstPtr message_
 
MarkerDisplayowner_
 
Ogre::SceneNode * scene_node_
 

Additional Inherited Members

- Public Types inherited from rviz::MarkerBase
typedef visualization_msgs::Marker Marker
 
typedef visualization_msgs::Marker::ConstPtr MarkerConstPtr
 

Detailed Description

Definition at line 42 of file shape_marker.h.

Constructor & Destructor Documentation

◆ ShapeMarker()

rviz::ShapeMarker::ShapeMarker ( MarkerDisplay owner,
DisplayContext context,
Ogre::SceneNode *  parent_node 
)

Definition at line 44 of file shape_marker.cpp.

◆ ~ShapeMarker()

rviz::ShapeMarker::~ShapeMarker ( )
override

Definition at line 49 of file shape_marker.cpp.

Member Function Documentation

◆ getMaterials()

S_MaterialPtr rviz::ShapeMarker::getMaterials ( )
overridevirtual

Reimplemented from rviz::MarkerBase.

Definition at line 100 of file shape_marker.cpp.

◆ onNewMessage()

void rviz::ShapeMarker::onNewMessage ( const MarkerConstPtr old_message,
const MarkerConstPtr new_message 
)
overrideprotectedvirtual

Implements rviz::MarkerBase.

Definition at line 54 of file shape_marker.cpp.

Member Data Documentation

◆ shape_

Shape* rviz::ShapeMarker::shape_
protected

Definition at line 52 of file shape_marker.h.


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


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Sat May 27 2023 02:06:26