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

S_MaterialPtr getMaterials () override
 
 MeshResourceMarker (MarkerDisplay *owner, DisplayContext *context, Ogre::SceneNode *parent_node)
 
 ~MeshResourceMarker () override
 
- Public Member Functions inherited from rviz::MarkerBase
bool expired ()
 
MarkerID getID ()
 
const MarkerConstPtrgetMessage () 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 onNewMessage (const MarkerConstPtr &old_message, const MarkerConstPtr &new_message) override
 
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 47 of file mesh_resource_marker.h.

Constructor & Destructor Documentation

◆ MeshResourceMarker()

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

Definition at line 50 of file mesh_resource_marker.cpp.

◆ ~MeshResourceMarker()

rviz::MeshResourceMarker::~MeshResourceMarker ( )
override

Definition at line 57 of file mesh_resource_marker.cpp.

Member Function Documentation

◆ getMaterials()

S_MaterialPtr rviz::MeshResourceMarker::getMaterials ( )
overridevirtual

Reimplemented from rviz::MarkerBase.

Definition at line 248 of file mesh_resource_marker.cpp.

◆ onNewMessage()

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

Implements rviz::MarkerBase.

Definition at line 85 of file mesh_resource_marker.cpp.

◆ reset()

void rviz::MeshResourceMarker::reset ( )
protected

Definition at line 62 of file mesh_resource_marker.cpp.

Member Data Documentation

◆ entity_

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

Definition at line 60 of file mesh_resource_marker.h.

◆ materials_

S_MaterialPtr rviz::MeshResourceMarker::materials_
protected

Definition at line 61 of file mesh_resource_marker.h.

◆ unit_rescale_

float rviz::MeshResourceMarker::unit_rescale_
protected

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

Definition at line 64 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, William Woodall
autogenerated on Fri Dec 13 2024 03:31:03