Go to the documentation of this file.
48 #ifndef CLUSTER_LABEL_VISUAL_HPP
49 #define CLUSTER_LABEL_VISUAL_HPP
57 #include <mesh_msgs/MeshGeometryStamped.h>
58 #include <mesh_msgs/MeshGeometry.h>
59 #include <OGRE/OgreColourValue.h>
60 #include <OGRE/OgrePrerequisites.h>
61 #include <OGRE/OgreMesh.h>
62 #include <OGRE/OgreSubMesh.h>
131 void setGeometry(std::shared_ptr<Geometry> geometry);
146 void setColor(Ogre::ColourValue facesColor,
float alpha = 1.0
f);
void setColor(Ogre::ColourValue facesColor, float alpha=1.0f)
Sets the color.
Ogre::MaterialPtr m_material
std::vector< uint32_t > m_faces
std::shared_ptr< Geometry > m_geometry
ClusterLabelVisual & operator=(const ClusterLabelVisual &)=delete
Disabling the copy assignment operator.
Ogre::ColourValue m_color
void setFacesInCluster(const std::vector< uint32_t > &faces)
Sets the faces, that are in the shown cluster.
Ogre::SubMesh * m_subMesh
void setGeometry(std::shared_ptr< Geometry > geometry)
Sets the geometry.
Visual to show a labeled cluster.
rviz::DisplayContext * m_displayContext
~ClusterLabelVisual()
Destructor.
void reset()
Deletes the material.
ClusterLabelVisual(rviz::DisplayContext *context, std::string labelId)
Constructor.
std::vector< uint32_t > getFaces()
Returns the faces.
Ogre::SceneNode * m_sceneNode
rviz_map_plugin
Author(s): Sebastian Pütz
, Kristin Schmidt , Jan Philipp Vogtherr , Malte kleine Piening
autogenerated on Sun Jan 21 2024 04:06:25