#include <marker_base.h>
Public Types | |
typedef visualization_msgs::Marker | Marker |
typedef visualization_msgs::Marker::ConstPtr | MarkerConstPtr |
Public Member Functions | |
bool | expired () |
MarkerID | getID () |
virtual S_MaterialPtr | getMaterials () |
const MarkerConstPtr & | getMessage () const |
const Ogre::Quaternion & | getOrientation () const |
const Ogre::Vector3 & | getPosition () const |
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 | extractMaterials (Ogre::Entity *entity, S_MaterialPtr &materials) |
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) |
Protected Attributes | |
DisplayContext * | context_ |
ros::Time | expiration_ |
boost::shared_ptr< MarkerSelectionHandler > | handler_ |
MarkerConstPtr | message_ |
MarkerDisplay * | owner_ |
Ogre::SceneNode * | scene_node_ |
Definition at line 53 of file marker_base.h.
typedef visualization_msgs::Marker rviz::MarkerBase::Marker |
Definition at line 56 of file marker_base.h.
typedef visualization_msgs::Marker::ConstPtr rviz::MarkerBase::MarkerConstPtr |
Definition at line 57 of file marker_base.h.
rviz::MarkerBase::MarkerBase | ( | MarkerDisplay * | owner, |
DisplayContext * | context, | ||
Ogre::SceneNode * | parent_node | ||
) |
Definition at line 49 of file marker_base.cpp.
|
virtual |
Definition at line 54 of file marker_base.cpp.
bool rviz::MarkerBase::expired | ( | ) |
Definition at line 82 of file marker_base.cpp.
|
protected |
Definition at line 144 of file marker_base.cpp.
|
inline |
Definition at line 74 of file marker_base.h.
|
inlinevirtual |
Reimplemented in rviz::TextViewFacingMarker, rviz::MeshResourceMarker, rviz::TriangleListMarker, rviz::ArrowMarker, rviz::LineListMarker, rviz::LineStripMarker, and rviz::ShapeMarker.
Definition at line 93 of file marker_base.h.
|
inline |
Definition at line 69 of file marker_base.h.
const Ogre::Quaternion & rviz::MarkerBase::getOrientation | ( | ) | const |
Definition at line 139 of file marker_base.cpp.
const Ogre::Vector3 & rviz::MarkerBase::getPosition | ( | ) | const |
Definition at line 134 of file marker_base.cpp.
|
inline |
Definition at line 78 of file marker_base.h.
|
protectedpure virtual |
void rviz::MarkerBase::setInteractiveObject | ( | InteractiveObjectWPtr | object | ) |
Associate an InteractiveObject with this MarkerBase.
Definition at line 116 of file marker_base.cpp.
void rviz::MarkerBase::setMessage | ( | const Marker & | message | ) |
Definition at line 59 of file marker_base.cpp.
void rviz::MarkerBase::setMessage | ( | const MarkerConstPtr & | message | ) |
Definition at line 66 of file marker_base.cpp.
|
virtual |
Reimplemented in rviz::TextViewFacingMarker.
Definition at line 129 of file marker_base.cpp.
|
virtual |
Definition at line 124 of file marker_base.cpp.
|
protected |
Definition at line 87 of file marker_base.cpp.
void rviz::MarkerBase::updateFrameLocked | ( | ) |
Definition at line 76 of file marker_base.cpp.
|
protected |
Definition at line 108 of file marker_base.h.
|
protected |
Definition at line 114 of file marker_base.h.
|
protected |
Definition at line 116 of file marker_base.h.
|
protected |
Definition at line 112 of file marker_base.h.
|
protected |
Definition at line 107 of file marker_base.h.
|
protected |
Definition at line 110 of file marker_base.h.