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