Displays a String at a certain position in space. More...
#include <trianglemesh_display.h>
Public Member Functions | |
virtual void | createProperties () |
virtual void | fixedFrameChanged () |
const rviz::Color & | getColor () |
const std::string & | getTopic () |
const bool & | getWireFrameEnabled () |
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_ |
Displays a String at a certain position in space.
Definition at line 67 of file trianglemesh_display.h.
triangle_mesh::TriangleMeshDisplay::TriangleMeshDisplay | ( | const std::string & | name, |
rviz::VisualizationManager * | manager | ||
) |
Definition at line 50 of file trianglemesh_display.cpp.
triangle_mesh::TriangleMeshDisplay::~TriangleMeshDisplay | ( | ) | [virtual] |
Definition at line 66 of file trianglemesh_display.cpp.
void triangle_mesh::TriangleMeshDisplay::clear | ( | ) | [protected] |
void triangle_mesh::TriangleMeshDisplay::createProperties | ( | ) | [virtual] |
Definition at line 341 of file trianglemesh_display.cpp.
void triangle_mesh::TriangleMeshDisplay::fixedFrameChanged | ( | ) | [virtual] |
Reimplemented from rviz::Display.
Definition at line 128 of file trianglemesh_display.cpp.
const rviz::Color& triangle_mesh::TriangleMeshDisplay::getColor | ( | ) | [inline] |
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.
const bool& triangle_mesh::TriangleMeshDisplay::getWireFrameEnabled | ( | ) | [inline] |
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] |
void triangle_mesh::TriangleMeshDisplay::reset | ( | ) | [virtual] |
Reimplemented from rviz::Display.
Definition at line 333 of file trianglemesh_display.cpp.
void triangle_mesh::TriangleMeshDisplay::setColor | ( | const rviz::Color & | color | ) |
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.
void triangle_mesh::TriangleMeshDisplay::setWireFrameEnabled | ( | const bool & | wf | ) |
Definition at line 91 of file trianglemesh_display.cpp.
void triangle_mesh::TriangleMeshDisplay::subscribe | ( | ) | [protected] |
Definition at line 100 of file trianglemesh_display.cpp.
void triangle_mesh::TriangleMeshDisplay::targetFrameChanged | ( | ) | [virtual] |
Definition at line 337 of file trianglemesh_display.cpp.
void triangle_mesh::TriangleMeshDisplay::unsubscribe | ( | ) | [protected] |
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.
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.
int triangle_mesh::TriangleMeshDisplay::count [protected] |
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.
Ogre::Entity* triangle_mesh::TriangleMeshDisplay::entity_ [protected] |
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.
Ogre::SceneNode* triangle_mesh::TriangleMeshDisplay::scene_node_ [protected] |
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.
Ogre::SubMesh* triangle_mesh::TriangleMeshDisplay::submesh_ [protected] |
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.
std::string triangle_mesh::TriangleMeshDisplay::topic_ [protected] |
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.
bool triangle_mesh::TriangleMeshDisplay::wf_ [protected] |
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.