#include <face_selection_tool.h>
|
| void | deselectSingleFace (rviz::ViewportMouseEvent &event) |
| |
| void | getIdentityOfSingleFace (Ogre::ManualObject *mesh, Ogre::Ray &ray, size_t &goalSection, size_t &goalIndex, Ogre::Real &dist) |
| |
| void | getRawManualObjectData (Ogre::ManualObject *mesh, size_t sectionNumber, size_t &vertexCount, Ogre::Vector3 *&vertices, size_t &indexCount, unsigned long *&indices) |
| |
| void | getSegmentMesh (mesh_msgs::TriangleMesh &mesh) |
| |
| void | initNode () |
| |
| void | initOgre () |
| |
| void | meshCb (const mesh_msgs::TriangleMeshStamped::ConstPtr &mesh) |
| |
| void | selectSingleFace (rviz::ViewportMouseEvent &event) |
| |
| void | setReferenceMesh (mesh_msgs::TriangleMesh mesh) |
| |
| void | setTransform (const mesh_msgs::TriangleMeshStamped &mesh) |
| |
| bool | singleRayQuery (rviz::ViewportMouseEvent &event, int num_results, Ogre::Ray &ray) |
| |
| void | updateSelectionMesh () |
| |
Definition at line 119 of file face_selection_tool.h.
◆ FaceSelectionTool()
| FaceSelectionTool::FaceSelectionTool |
( |
| ) |
|
◆ ~FaceSelectionTool()
| FaceSelectionTool::~FaceSelectionTool |
( |
| ) |
|
◆ activate()
| void FaceSelectionTool::activate |
( |
| ) |
|
|
virtual |
◆ areFacesSelected()
| bool FaceSelectionTool::areFacesSelected |
( |
| ) |
|
◆ clearSelection()
| void FaceSelectionTool::clearSelection |
( |
| ) |
|
◆ deactivate()
| void FaceSelectionTool::deactivate |
( |
| ) |
|
|
virtual |
◆ deselectSingleFace()
◆ getIdentityOfSingleFace()
| void FaceSelectionTool::getIdentityOfSingleFace |
( |
Ogre::ManualObject * |
mesh, |
|
|
Ogre::Ray & |
ray, |
|
|
size_t & |
goalSection, |
|
|
size_t & |
goalIndex, |
|
|
Ogre::Real & |
dist |
|
) |
| |
|
private |
◆ getRawManualObjectData()
| void FaceSelectionTool::getRawManualObjectData |
( |
Ogre::ManualObject * |
mesh, |
|
|
size_t |
sectionNumber, |
|
|
size_t & |
vertexCount, |
|
|
Ogre::Vector3 *& |
vertices, |
|
|
size_t & |
indexCount, |
|
|
unsigned long *& |
indices |
|
) |
| |
|
private |
◆ getSegmentMesh()
| void FaceSelectionTool::getSegmentMesh |
( |
mesh_msgs::TriangleMesh & |
mesh | ) |
|
|
private |
◆ getSelectedFaces()
| void rviz_mesh_plugin::FaceSelectionTool::getSelectedFaces |
( |
size_t |
goalSection, |
|
|
std::string |
regionLabel, |
|
|
mesh_msgs::TriangleMesh & |
meshMsg |
|
) |
| |
◆ initNode()
| void FaceSelectionTool::initNode |
( |
| ) |
|
|
private |
◆ initOgre()
| void FaceSelectionTool::initOgre |
( |
| ) |
|
|
private |
◆ meshCb()
| void FaceSelectionTool::meshCb |
( |
const mesh_msgs::TriangleMeshStamped::ConstPtr & |
mesh | ) |
|
|
private |
◆ onInitialize()
| void FaceSelectionTool::onInitialize |
( |
| ) |
|
|
virtual |
◆ processKeyEvent()
| int FaceSelectionTool::processKeyEvent |
( |
QKeyEvent * |
event, |
|
|
rviz::RenderPanel * |
panel |
|
) |
| |
|
virtual |
◆ processMouseEvent()
◆ selectSingleFace()
◆ setReferenceMesh()
| void FaceSelectionTool::setReferenceMesh |
( |
mesh_msgs::TriangleMesh |
mesh | ) |
|
|
private |
◆ setTransform()
| void FaceSelectionTool::setTransform |
( |
const mesh_msgs::TriangleMeshStamped & |
mesh | ) |
|
|
private |
◆ singleRayQuery()
◆ updateSelectionMesh()
| void FaceSelectionTool::updateSelectionMesh |
( |
| ) |
|
|
private |
◆ updateTopic
| void FaceSelectionTool::updateTopic |
( |
| ) |
|
|
privateslot |
◆ BOX_SIZE_TOLERANCE
| const float FaceSelectionTool::BOX_SIZE_TOLERANCE = 0.0001 |
|
static |
◆ goal_pub
◆ has_mesh
| bool rviz_mesh_plugin::FaceSelectionTool::has_mesh |
|
private |
◆ id_pub
◆ m_goalFaces
| std::map<size_t, std::vector<size_t> > rviz_mesh_plugin::FaceSelectionTool::m_goalFaces |
|
private |
◆ m_singleDeselect
| bool rviz_mesh_plugin::FaceSelectionTool::m_singleDeselect |
|
private |
◆ m_singleSelect
| bool rviz_mesh_plugin::FaceSelectionTool::m_singleSelect |
|
private |
◆ MAXIMUM_PICKED_FACES
| const size_t FaceSelectionTool::MAXIMUM_PICKED_FACES = 10000 |
|
static |
◆ mesh_pub
◆ mesh_sub
◆ mesh_topic
◆ num_results
| int rviz_mesh_plugin::FaceSelectionTool::num_results |
|
private |
◆ reference_color_a
| float rviz_mesh_plugin::FaceSelectionTool::reference_color_a = 0.5 |
|
private |
◆ reference_color_b
| int rviz_mesh_plugin::FaceSelectionTool::reference_color_b = 155 |
|
private |
◆ reference_color_g
| int rviz_mesh_plugin::FaceSelectionTool::reference_color_g = 155 |
|
private |
◆ reference_color_r
| int rviz_mesh_plugin::FaceSelectionTool::reference_color_r = 0 |
|
private |
◆ reference_mesh
| Ogre::ManualObject* rviz_mesh_plugin::FaceSelectionTool::reference_mesh |
|
private |
◆ reference_mesh_material
| Ogre::MaterialPtr rviz_mesh_plugin::FaceSelectionTool::reference_mesh_material |
|
private |
◆ scene_manager
| Ogre::SceneManager* rviz_mesh_plugin::FaceSelectionTool::scene_manager |
|
private |
◆ scene_node
| Ogre::SceneNode* rviz_mesh_plugin::FaceSelectionTool::scene_node |
|
private |
◆ segment_color_a
| float rviz_mesh_plugin::FaceSelectionTool::segment_color_a = 0.75 |
|
private |
◆ segment_color_b
| int rviz_mesh_plugin::FaceSelectionTool::segment_color_b = 255 |
|
private |
◆ segment_color_g
| int rviz_mesh_plugin::FaceSelectionTool::segment_color_g = 0 |
|
private |
◆ segment_color_r
| int rviz_mesh_plugin::FaceSelectionTool::segment_color_r = 0 |
|
private |
◆ segment_mesh
| Ogre::ManualObject* rviz_mesh_plugin::FaceSelectionTool::segment_mesh |
|
private |
◆ segment_mesh_material
| Ogre::MaterialPtr rviz_mesh_plugin::FaceSelectionTool::segment_mesh_material |
|
private |
The documentation for this class was generated from the following files: