Tool for selecting faces.
More...
#include <ClusterLabelTool.hpp>
Tool for selecting faces.
Definition at line 125 of file ClusterLabelTool.hpp.
◆ ClusterLabelTool()
rviz_map_plugin::ClusterLabelTool::ClusterLabelTool |
( |
| ) |
|
◆ ~ClusterLabelTool()
rviz_map_plugin::ClusterLabelTool::~ClusterLabelTool |
( |
| ) |
|
◆ activate()
void rviz_map_plugin::ClusterLabelTool::activate |
( |
| ) |
|
|
virtual |
◆ deactivate()
void rviz_map_plugin::ClusterLabelTool::deactivate |
( |
| ) |
|
|
virtual |
◆ getClosestIntersectedFaceParallel()
boost::optional< std::pair< uint32_t, float > > rviz_map_plugin::ClusterLabelTool::getClosestIntersectedFaceParallel |
( |
Ogre::Ray & |
ray | ) |
|
|
private |
◆ getSelectedFaces
std::vector< uint32_t > rviz_map_plugin::ClusterLabelTool::getSelectedFaces |
( |
| ) |
|
|
slot |
Returns a list of selected face ID's.
- Returns
- List of face ID's
Definition at line 709 of file ClusterLabelTool.cpp.
◆ onInitialize()
void rviz_map_plugin::ClusterLabelTool::onInitialize |
( |
| ) |
|
|
virtual |
◆ processMouseEvent()
◆ publishLabel
void rviz_map_plugin::ClusterLabelTool::publishLabel |
( |
std::string |
name | ) |
|
|
slot |
◆ resetFaces
void rviz_map_plugin::ClusterLabelTool::resetFaces |
( |
| ) |
|
|
slot |
◆ resetVisual
void rviz_map_plugin::ClusterLabelTool::resetVisual |
( |
| ) |
|
|
slot |
◆ selectFacesInBoxParallel()
void rviz_map_plugin::ClusterLabelTool::selectFacesInBoxParallel |
( |
Ogre::PlaneBoundedVolume & |
volume, |
|
|
bool |
selectMode |
|
) |
| |
|
private |
◆ selectionBoxMove()
◆ selectionBoxStart()
◆ selectMultipleFaces()
◆ selectSingleFace()
◆ selectSingleFaceParallel()
void rviz_map_plugin::ClusterLabelTool::selectSingleFaceParallel |
( |
Ogre::Ray & |
ray, |
|
|
bool |
selectMode |
|
) |
| |
|
private |
◆ selectSphereFaces()
◆ selectSphereFacesParallel()
void rviz_map_plugin::ClusterLabelTool::selectSphereFacesParallel |
( |
Ogre::Ray & |
ray, |
|
|
bool |
selectMode |
|
) |
| |
|
private |
◆ setDisplay()
Connects this tool with a given display.
- Parameters
-
display | The display that creates this tool |
Definition at line 261 of file ClusterLabelTool.cpp.
◆ setSphereSize()
void rviz_map_plugin::ClusterLabelTool::setSphereSize |
( |
float |
size | ) |
|
◆ setVisual()
void rviz_map_plugin::ClusterLabelTool::setVisual |
( |
std::shared_ptr< ClusterLabelVisual > |
visual | ) |
|
Connects this tool with a given visual.
- Parameters
-
visual | The visual that will become editable with this tool |
Definition at line 231 of file ClusterLabelTool.cpp.
◆ updateSelectionBox()
void rviz_map_plugin::ClusterLabelTool::updateSelectionBox |
( |
| ) |
|
|
private |
◆ m_boxData
std::vector<float> rviz_map_plugin::ClusterLabelTool::m_boxData |
|
private |
◆ m_clBoxBuffer
cl::Buffer rviz_map_plugin::ClusterLabelTool::m_clBoxBuffer |
|
private |
◆ m_clContext
cl::Context rviz_map_plugin::ClusterLabelTool::m_clContext |
|
private |
◆ m_clDevice
cl::Device rviz_map_plugin::ClusterLabelTool::m_clDevice |
|
private |
◆ m_clKernelBox
cl::Kernel rviz_map_plugin::ClusterLabelTool::m_clKernelBox |
|
private |
◆ m_clKernelDirAndDist
cl::Kernel rviz_map_plugin::ClusterLabelTool::m_clKernelDirAndDist |
|
private |
◆ m_clKernelSingleRay
cl::Kernel rviz_map_plugin::ClusterLabelTool::m_clKernelSingleRay |
|
private |
◆ m_clKernelSphere
cl::Kernel rviz_map_plugin::ClusterLabelTool::m_clKernelSphere |
|
private |
◆ m_clProgram
cl::Program rviz_map_plugin::ClusterLabelTool::m_clProgram |
|
private |
◆ m_clProgramSources
cl::Program::Sources rviz_map_plugin::ClusterLabelTool::m_clProgramSources |
|
private |
◆ m_clQueue
cl::CommandQueue rviz_map_plugin::ClusterLabelTool::m_clQueue |
|
private |
◆ m_clRayBuffer
cl::Buffer rviz_map_plugin::ClusterLabelTool::m_clRayBuffer |
|
private |
◆ m_clResultBuffer
cl::Buffer rviz_map_plugin::ClusterLabelTool::m_clResultBuffer |
|
private |
◆ m_clSphereBuffer
cl::Buffer rviz_map_plugin::ClusterLabelTool::m_clSphereBuffer |
|
private |
◆ m_clStartNormalBuffer
cl::Buffer rviz_map_plugin::ClusterLabelTool::m_clStartNormalBuffer |
|
private |
◆ m_clVertexBuffer
cl::Buffer rviz_map_plugin::ClusterLabelTool::m_clVertexBuffer |
|
private |
◆ m_display
◆ m_displayContext
◆ m_displayInitialized
bool rviz_map_plugin::ClusterLabelTool::m_displayInitialized |
|
private |
◆ m_faceSelectedArray
std::vector<bool> rviz_map_plugin::ClusterLabelTool::m_faceSelectedArray |
|
private |
◆ m_labelPublisher
◆ m_meshGeometry
std::shared_ptr<Geometry> rviz_map_plugin::ClusterLabelTool::m_meshGeometry |
|
private |
◆ m_multipleSelect
bool rviz_map_plugin::ClusterLabelTool::m_multipleSelect = false |
|
private |
◆ m_rayData
std::array<float, 6> rviz_map_plugin::ClusterLabelTool::m_rayData |
|
private |
◆ m_resultDistances
std::vector<float> rviz_map_plugin::ClusterLabelTool::m_resultDistances |
|
private |
◆ m_sceneNode
Ogre::SceneNode* rviz_map_plugin::ClusterLabelTool::m_sceneNode |
|
private |
◆ m_selectedFaces
std::vector<uint32_t> rviz_map_plugin::ClusterLabelTool::m_selectedFaces |
|
private |
◆ m_selectionBox
Ogre::ManualObject* rviz_map_plugin::ClusterLabelTool::m_selectionBox |
|
private |
◆ m_selectionBoxMaterial
Ogre::MaterialPtr rviz_map_plugin::ClusterLabelTool::m_selectionBoxMaterial |
|
private |
◆ m_selectionStart
Ogre::Vector2 rviz_map_plugin::ClusterLabelTool::m_selectionStart |
|
private |
◆ m_selectionStop
◆ m_singleDeselect
bool rviz_map_plugin::ClusterLabelTool::m_singleDeselect = false |
|
private |
◆ m_singleSelect
bool rviz_map_plugin::ClusterLabelTool::m_singleSelect = false |
|
private |
◆ m_sphereData
std::array<float, 4> rviz_map_plugin::ClusterLabelTool::m_sphereData |
|
private |
◆ m_sphereSize
float rviz_map_plugin::ClusterLabelTool::m_sphereSize = 1.0f |
|
private |
◆ m_startNormalData
std::array<float, 3> rviz_map_plugin::ClusterLabelTool::m_startNormalData |
|
private |
◆ m_vertexData
std::vector<float> rviz_map_plugin::ClusterLabelTool::m_vertexData |
|
private |
◆ m_vertexPositions
std::vector<Ogre::Vector3> rviz_map_plugin::ClusterLabelTool::m_vertexPositions |
|
private |
◆ m_visual
The documentation for this class was generated from the following files: