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

#include <mesh_resource_marker.h>

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

Public Member Functions

virtual S_MaterialPtr getMaterials ()
 
 MeshResourceMarker (MarkerDisplay *owner, DisplayContext *context, Ogre::SceneNode *parent_node)
 
 ~MeshResourceMarker ()
 
- Public Member Functions inherited from rviz::MarkerBase
bool expired ()
 
MarkerID getID ()
 
const MarkerConstPtrgetMessage () const
 
const Ogre::Quaternion & getOrientation ()
 
const Ogre::Vector3getPosition ()
 
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

virtual void onNewMessage (const MarkerConstPtr &old_message, const MarkerConstPtr &new_message)
 
void reset ()
 
- 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

Ogre::Entity * entity_
 
S_MaterialPtr materials_
 
float unit_rescale_
 Scaling factor to convert units. Currently relevant for Collada only. More...
 
- 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 48 of file mesh_resource_marker.h.

Constructor & Destructor Documentation

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

Definition at line 52 of file mesh_resource_marker.cpp.

rviz::MeshResourceMarker::~MeshResourceMarker ( )

Definition at line 58 of file mesh_resource_marker.cpp.

Member Function Documentation

S_MaterialPtr rviz::MeshResourceMarker::getMaterials ( )
virtual

Reimplemented from rviz::MarkerBase.

Definition at line 251 of file mesh_resource_marker.cpp.

void rviz::MeshResourceMarker::onNewMessage ( const MarkerConstPtr old_message,
const MarkerConstPtr new_message 
)
protectedvirtual

Implements rviz::MarkerBase.

Definition at line 88 of file mesh_resource_marker.cpp.

void rviz::MeshResourceMarker::reset ( )
protected

Definition at line 63 of file mesh_resource_marker.cpp.

Member Data Documentation

Ogre::Entity* rviz::MeshResourceMarker::entity_
protected

Definition at line 61 of file mesh_resource_marker.h.

S_MaterialPtr rviz::MeshResourceMarker::materials_
protected

Definition at line 62 of file mesh_resource_marker.h.

float rviz::MeshResourceMarker::unit_rescale_
protected

Scaling factor to convert units. Currently relevant for Collada only.

Definition at line 65 of file mesh_resource_marker.h.


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


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Wed Aug 28 2019 04:01:53