Public Member Functions | Protected Member Functions | Protected Attributes
triangle_mesh::TriangleMeshDisplay Class Reference

Displays a String at a certain position in space. More...

#include <trianglemesh_display.h>

Inheritance diagram for triangle_mesh::TriangleMeshDisplay:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void createProperties ()
virtual void fixedFrameChanged ()
const rviz::ColorgetColor ()
const std::string & getTopic ()
const boolgetWireFrameEnabled ()
virtual void reset ()
void setColor (const rviz::Color &color)
void setTopic (const std::string &topic)
void setWireFrameEnabled (const bool &wf)
virtual void targetFrameChanged ()
 TriangleMeshDisplay (const std::string &name, rviz::VisualizationManager *manager)
virtual void update (float wall_dt, float ros_dt)
virtual ~TriangleMeshDisplay ()

Protected Member Functions

void clear ()
void incomingMessage (const triangle_mesh_msgs::TriangleMesh::ConstPtr &message)
virtual void onDisable ()
virtual void onEnable ()
void processMessage (const triangle_mesh_msgs::TriangleMesh::ConstPtr &message)
void subscribe ()
void unsubscribe ()

Protected Attributes

rviz::Color color_
rviz::ColorPropertyWPtr color_property_
int count
triangle_mesh_msgs::TriangleMesh::ConstPtr current_message_
Ogre::VertexData * data
Ogre::Entity * entity_
Ogre::HardwareIndexBufferSharedPtr ibuf
Ogre::MeshPtr mesh_
Ogre::SceneNode * scene_node_
message_filters::Subscriber
< triangle_mesh_msgs::TriangleMesh > 
sub_
Ogre::SubMesh * submesh_
tf::MessageFilter
< triangle_mesh_msgs::TriangleMesh > 
tf_filter_
std::string topic_
rviz::ROSTopicStringPropertyWPtr topic_property_
Ogre::HardwareVertexBufferSharedPtr vbuf
bool wf_
rviz::BoolPropertyWPtr wireframe_property_

Detailed Description

Displays a String at a certain position in space.

Definition at line 67 of file trianglemesh_display.h.


Constructor & Destructor Documentation

Definition at line 50 of file trianglemesh_display.cpp.

Definition at line 66 of file trianglemesh_display.cpp.


Member Function Documentation

Definition at line 341 of file trianglemesh_display.cpp.

Reimplemented from rviz::Display.

Definition at line 128 of file trianglemesh_display.cpp.

Definition at line 81 of file trianglemesh_display.h.

const std::string& triangle_mesh::TriangleMeshDisplay::getTopic ( ) [inline]

Definition at line 75 of file trianglemesh_display.h.

Definition at line 87 of file trianglemesh_display.h.

void triangle_mesh::TriangleMeshDisplay::incomingMessage ( const triangle_mesh_msgs::TriangleMesh::ConstPtr &  message) [protected]

Definition at line 327 of file trianglemesh_display.cpp.

void triangle_mesh::TriangleMeshDisplay::onDisable ( ) [protected, virtual]

Reimplemented from rviz::Display.

Definition at line 122 of file trianglemesh_display.cpp.

void triangle_mesh::TriangleMeshDisplay::onEnable ( ) [protected, virtual]

Reimplemented from rviz::Display.

Definition at line 116 of file trianglemesh_display.cpp.

void triangle_mesh::TriangleMeshDisplay::processMessage ( const triangle_mesh_msgs::TriangleMesh::ConstPtr &  msg) [protected]
Todo:
Todo:
not sure ..
Todo:
Todo:
Todo:
: should add more elements, specifically normal vectors!

Definition at line 148 of file trianglemesh_display.cpp.

Reimplemented from rviz::Display.

Definition at line 333 of file trianglemesh_display.cpp.

Definition at line 82 of file trianglemesh_display.cpp.

void triangle_mesh::TriangleMeshDisplay::setTopic ( const std::string &  topic)

Definition at line 71 of file trianglemesh_display.cpp.

Definition at line 91 of file trianglemesh_display.cpp.

Definition at line 100 of file trianglemesh_display.cpp.

Definition at line 337 of file trianglemesh_display.cpp.

Definition at line 111 of file trianglemesh_display.cpp.

void triangle_mesh::TriangleMeshDisplay::update ( float  wall_dt,
float  ros_dt 
) [virtual]

Reimplemented from rviz::Display.

Definition at line 133 of file trianglemesh_display.cpp.


Member Data Documentation

Definition at line 111 of file trianglemesh_display.h.

rviz::ColorPropertyWPtr triangle_mesh::TriangleMeshDisplay::color_property_ [protected]

Definition at line 129 of file trianglemesh_display.h.

Definition at line 132 of file trianglemesh_display.h.

triangle_mesh_msgs::TriangleMesh::ConstPtr triangle_mesh::TriangleMeshDisplay::current_message_ [protected]

Definition at line 113 of file trianglemesh_display.h.

Ogre::VertexData* triangle_mesh::TriangleMeshDisplay::data [protected]

Definition at line 121 of file trianglemesh_display.h.

Definition at line 123 of file trianglemesh_display.h.

Ogre::HardwareIndexBufferSharedPtr triangle_mesh::TriangleMeshDisplay::ibuf [protected]

Definition at line 122 of file trianglemesh_display.h.

Definition at line 118 of file trianglemesh_display.h.

Reimplemented from rviz::Display.

Definition at line 115 of file trianglemesh_display.h.

message_filters::Subscriber<triangle_mesh_msgs::TriangleMesh> triangle_mesh::TriangleMeshDisplay::sub_ [protected]

Definition at line 125 of file trianglemesh_display.h.

Definition at line 119 of file trianglemesh_display.h.

tf::MessageFilter<triangle_mesh_msgs::TriangleMesh> triangle_mesh::TriangleMeshDisplay::tf_filter_ [protected]

Definition at line 126 of file trianglemesh_display.h.

Definition at line 110 of file trianglemesh_display.h.

rviz::ROSTopicStringPropertyWPtr triangle_mesh::TriangleMeshDisplay::topic_property_ [protected]

Definition at line 130 of file trianglemesh_display.h.

Ogre::HardwareVertexBufferSharedPtr triangle_mesh::TriangleMeshDisplay::vbuf [protected]

Definition at line 120 of file trianglemesh_display.h.

Definition at line 112 of file trianglemesh_display.h.

rviz::BoolPropertyWPtr triangle_mesh::TriangleMeshDisplay::wireframe_property_ [protected]

Definition at line 128 of file trianglemesh_display.h.


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


triangle_mesh_rviz_plugin
Author(s):
autogenerated on Mon Oct 6 2014 08:14:30