#include <mesh_object.h>
Classes | |
struct | Point |
Public Member Functions | |
void | clear () |
Ogre::Entity * | getEntity () |
void | loadMesh (std::string name, const shape_msgs::Mesh &mesh) |
void | loadMesh (std::string name, const std::vector< Point > &vertices, const std::vector< unsigned > triangles=std::vector< unsigned >()) |
void | loadPoints (std::string name, const std::vector< geometry_msgs::Point32 > &points) |
MeshObject (Ogre::SceneManager *scene_manager, Ogre::SceneNode *scene_root) | |
void | setMaterialName (std::string name) |
void | setPose (const geometry_msgs::Pose &pose) |
void | setVisible (bool visible) |
~MeshObject () | |
Private Member Functions | |
MeshObject (const MeshObject &) | |
MeshObject & | operator= (const MeshObject &) |
Private Attributes | |
Ogre::Entity * | entity_ |
Ogre::MeshPtr | mesh_ptr_ |
Ogre::SceneManager * | scene_manager_ |
Ogre::SceneNode * | scene_node_ |
Ogre::SceneNode * | scene_root_ |
Definition at line 46 of file mesh_object.h.
rviz_interaction_tools::MeshObject::MeshObject | ( | Ogre::SceneManager * | scene_manager, |
Ogre::SceneNode * | scene_root | ||
) |
Definition at line 43 of file mesh_object.cpp.
Definition at line 51 of file mesh_object.cpp.
rviz_interaction_tools::MeshObject::MeshObject | ( | const MeshObject & | ) | [private] |
void rviz_interaction_tools::MeshObject::clear | ( | void | ) |
Definition at line 57 of file mesh_object.cpp.
Ogre::Entity* rviz_interaction_tools::MeshObject::getEntity | ( | ) | [inline] |
Definition at line 74 of file mesh_object.h.
void rviz_interaction_tools::MeshObject::loadMesh | ( | std::string | name, |
const shape_msgs::Mesh & | mesh | ||
) |
Definition at line 91 of file mesh_object.cpp.
void rviz_interaction_tools::MeshObject::loadMesh | ( | std::string | name, |
const std::vector< Point > & | vertices, | ||
const std::vector< unsigned > | triangles = std::vector<unsigned>() |
||
) |
Definition at line 165 of file mesh_object.cpp.
void rviz_interaction_tools::MeshObject::loadPoints | ( | std::string | name, |
const std::vector< geometry_msgs::Point32 > & | points | ||
) |
Definition at line 145 of file mesh_object.cpp.
MeshObject& rviz_interaction_tools::MeshObject::operator= | ( | const MeshObject & | ) | [private] |
void rviz_interaction_tools::MeshObject::setMaterialName | ( | std::string | name | ) |
Definition at line 80 of file mesh_object.cpp.
void rviz_interaction_tools::MeshObject::setPose | ( | const geometry_msgs::Pose & | pose | ) |
Definition at line 85 of file mesh_object.cpp.
void rviz_interaction_tools::MeshObject::setVisible | ( | bool | visible | ) |
Definition at line 74 of file mesh_object.cpp.
Ogre::Entity* rviz_interaction_tools::MeshObject::entity_ [private] |
Definition at line 85 of file mesh_object.h.
Definition at line 84 of file mesh_object.h.
Ogre::SceneManager* rviz_interaction_tools::MeshObject::scene_manager_ [private] |
Definition at line 87 of file mesh_object.h.
Ogre::SceneNode* rviz_interaction_tools::MeshObject::scene_node_ [private] |
Definition at line 83 of file mesh_object.h.
Ogre::SceneNode* rviz_interaction_tools::MeshObject::scene_root_ [private] |
Definition at line 88 of file mesh_object.h.