#include <marker_base.h>
Public Types | |
typedef visualization_msgs::Marker | Marker |
typedef visualization_msgs::Marker::ConstPtr | MarkerConstPtr |
Public Member Functions | |
bool | expired () |
MarkerID | getID () |
const MarkerConstPtr & | getMessage () const |
std::string | getStringID () |
MarkerBase (MarkerDisplay *owner, VisualizationManager *manager, Ogre::SceneNode *parent_node) | |
void | setMessage (const MarkerConstPtr &message) |
void | updateFrameLocked () |
virtual | ~MarkerBase () |
Protected Member Functions | |
virtual void | onNewMessage (const MarkerConstPtr &old_message, const MarkerConstPtr &new_message)=0 |
bool | transform (const MarkerConstPtr &message, Ogre::Vector3 &pos, Ogre::Quaternion &orient, Ogre::Vector3 &scale, bool relative_orientation=true) |
Protected Attributes | |
CollObjectHandle | coll_ |
ros::Time | expiration_ |
MarkerConstPtr | message_ |
MarkerDisplay * | owner_ |
Ogre::SceneNode * | parent_node_ |
VisualizationManager * | vis_manager_ |
Definition at line 56 of file marker_base.h.
typedef visualization_msgs::Marker rviz::MarkerBase::Marker |
Definition at line 59 of file marker_base.h.
typedef visualization_msgs::Marker::ConstPtr rviz::MarkerBase::MarkerConstPtr |
Definition at line 60 of file marker_base.h.
rviz::MarkerBase::MarkerBase | ( | MarkerDisplay * | owner, | |
VisualizationManager * | manager, | |||
Ogre::SceneNode * | parent_node | |||
) |
Definition at line 46 of file marker_base.cpp.
rviz::MarkerBase::~MarkerBase | ( | ) | [virtual] |
Definition at line 53 of file marker_base.cpp.
bool rviz::MarkerBase::expired | ( | ) |
Definition at line 75 of file marker_base.cpp.
MarkerID rviz::MarkerBase::getID | ( | ) | [inline] |
Definition at line 73 of file marker_base.h.
const MarkerConstPtr& rviz::MarkerBase::getMessage | ( | ) | const [inline] |
Definition at line 71 of file marker_base.h.
std::string rviz::MarkerBase::getStringID | ( | ) | [inline] |
Definition at line 74 of file marker_base.h.
virtual void rviz::MarkerBase::onNewMessage | ( | const MarkerConstPtr & | old_message, | |
const MarkerConstPtr & | new_message | |||
) | [protected, pure virtual] |
void rviz::MarkerBase::setMessage | ( | const MarkerConstPtr & | message | ) |
Definition at line 59 of file marker_base.cpp.
bool rviz::MarkerBase::transform | ( | const MarkerConstPtr & | message, | |
Ogre::Vector3 & | pos, | |||
Ogre::Quaternion & | orient, | |||
Ogre::Vector3 & | scale, | |||
bool | relative_orientation = true | |||
) | [protected] |
Definition at line 80 of file marker_base.cpp.
void rviz::MarkerBase::updateFrameLocked | ( | ) |
Definition at line 69 of file marker_base.cpp.
CollObjectHandle rviz::MarkerBase::coll_ [protected] |
Definition at line 90 of file marker_base.h.
ros::Time rviz::MarkerBase::expiration_ [protected] |
Definition at line 93 of file marker_base.h.
MarkerConstPtr rviz::MarkerBase::message_ [protected] |
Definition at line 91 of file marker_base.h.
MarkerDisplay* rviz::MarkerBase::owner_ [protected] |
Definition at line 85 of file marker_base.h.
Ogre::SceneNode* rviz::MarkerBase::parent_node_ [protected] |
Definition at line 88 of file marker_base.h.
VisualizationManager* rviz::MarkerBase::vis_manager_ [protected] |
Definition at line 86 of file marker_base.h.