$search
#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 Ogre::Vector3 & | getPosition () |
std::string | getStringID () |
MarkerBase (MarkerDisplay *owner, VisualizationManager *manager, Ogre::SceneNode *parent_node) | |
void | setControl (InteractiveMarkerControl *control) |
void | setMessage (const MarkerConstPtr &message) |
void | setMessage (const Marker &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 | |
CollObjectHandle | coll_ |
ros::Time | expiration_ |
MarkerConstPtr | message_ |
MarkerDisplay * | owner_ |
Ogre::SceneNode * | scene_node_ |
VisualizationManager * | vis_manager_ |
Definition at line 59 of file marker_base.h.
Definition at line 62 of file marker_base.h.
Definition at line 63 of file marker_base.h.
rviz::MarkerBase::MarkerBase | ( | MarkerDisplay * | owner, | |
VisualizationManager * | manager, | |||
Ogre::SceneNode * | parent_node | |||
) |
Definition at line 48 of file marker_base.cpp.
rviz::MarkerBase::~MarkerBase | ( | ) | [virtual] |
Definition at line 55 of file marker_base.cpp.
bool rviz::MarkerBase::expired | ( | ) |
Definition at line 84 of file marker_base.cpp.
void rviz::MarkerBase::extractMaterials | ( | Ogre::Entity * | entity, | |
S_MaterialPtr & | materials | |||
) | [protected] |
Definition at line 143 of file marker_base.cpp.
MarkerID rviz::MarkerBase::getID | ( | ) | [inline] |
Definition at line 77 of file marker_base.h.
virtual S_MaterialPtr rviz::MarkerBase::getMaterials | ( | ) | [inline, virtual] |
Reimplemented in rviz::ArrowMarker, rviz::LineListMarker, rviz::LineStripMarker, rviz::MeshResourceMarker, rviz::ShapeMarker, rviz::TextViewFacingMarker, and rviz::TriangleListMarker.
Definition at line 92 of file marker_base.h.
const MarkerConstPtr& rviz::MarkerBase::getMessage | ( | ) | const [inline] |
Definition at line 75 of file marker_base.h.
const Ogre::Quaternion & rviz::MarkerBase::getOrientation | ( | ) |
Definition at line 138 of file marker_base.cpp.
const Ogre::Vector3 & rviz::MarkerBase::getPosition | ( | ) |
Definition at line 133 of file marker_base.cpp.
std::string rviz::MarkerBase::getStringID | ( | ) | [inline] |
Definition at line 78 of file marker_base.h.
virtual void rviz::MarkerBase::onNewMessage | ( | const MarkerConstPtr & | old_message, | |
const MarkerConstPtr & | new_message | |||
) | [protected, pure virtual] |
void rviz::MarkerBase::setControl | ( | InteractiveMarkerControl * | control | ) |
Definition at line 113 of file marker_base.cpp.
void rviz::MarkerBase::setMessage | ( | const MarkerConstPtr & | message | ) |
Definition at line 68 of file marker_base.cpp.
void rviz::MarkerBase::setMessage | ( | const Marker & | message | ) |
Definition at line 61 of file marker_base.cpp.
void rviz::MarkerBase::setOrientation | ( | const Ogre::Quaternion & | orientation | ) | [virtual] |
Reimplemented in rviz::TextViewFacingMarker.
Definition at line 128 of file marker_base.cpp.
void rviz::MarkerBase::setPosition | ( | const Ogre::Vector3 & | position | ) | [virtual] |
Definition at line 123 of file marker_base.cpp.
bool rviz::MarkerBase::transform | ( | const MarkerConstPtr & | message, | |
Ogre::Vector3 & | pos, | |||
Ogre::Quaternion & | orient, | |||
Ogre::Vector3 & | scale | |||
) | [protected] |
Definition at line 89 of file marker_base.cpp.
void rviz::MarkerBase::updateFrameLocked | ( | ) |
Definition at line 78 of file marker_base.cpp.
CollObjectHandle rviz::MarkerBase::coll_ [protected] |
Definition at line 105 of file marker_base.h.
ros::Time rviz::MarkerBase::expiration_ [protected] |
Definition at line 108 of file marker_base.h.
MarkerConstPtr rviz::MarkerBase::message_ [protected] |
Definition at line 106 of file marker_base.h.
MarkerDisplay* rviz::MarkerBase::owner_ [protected] |
Definition at line 100 of file marker_base.h.
Ogre::SceneNode* rviz::MarkerBase::scene_node_ [protected] |
Definition at line 103 of file marker_base.h.
VisualizationManager* rviz::MarkerBase::vis_manager_ [protected] |
Definition at line 101 of file marker_base.h.