Public Member Functions | Static Public Attributes | Protected Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
rviz_mesh_plugin::TexturedMeshDisplay Class Reference

Class to show options in rviz window. More...

#include <textured_mesh_display.h>

Inheritance diagram for rviz_mesh_plugin::TexturedMeshDisplay:
Inheritance graph
[legend]

Public Member Functions

 TexturedMeshDisplay ()
 Constructor. More...
 
 ~TexturedMeshDisplay ()
 Destructor. More...
 
- Public Member Functions inherited from rviz::Display
virtual void deleteStatus (const QString &name)
 
void deleteStatusStd (const std::string &name)
 
 Display ()
 
void emitTimeSignal (ros::Time time)
 
QWidget * getAssociatedWidget () const
 
PanelDockWidgetgetAssociatedWidgetPanel ()
 
virtual QString getClassId () const
 
Ogre::SceneNode * getSceneNode () const
 
QVariant getViewData (int column, int role) const override
 
Qt::ItemFlags getViewFlags (int column) const override
 
uint32_t getVisibilityBits ()
 
void initialize (DisplayContext *context)
 
bool isEnabled () const
 
void load (const Config &config) override
 
void save (Config config) const override
 
void setAssociatedWidget (QWidget *widget)
 
virtual void setClassId (const QString &class_id)
 
void setFixedFrame (const QString &fixed_frame)
 
void setName (const QString &name) override
 
virtual void setStatus (StatusProperty::Level level, const QString &name, const QString &text)
 
void setStatusStd (StatusProperty::Level level, const std::string &name, const std::string &text)
 
virtual void setTopic (const QString &topic, const QString &datatype)
 
void setVisibilityBits (uint32_t bits)
 
void unsetVisibilityBits (uint32_t bits)
 
virtual void update (float wall_dt, float ros_dt)
 
 ~Display () override
 
- Public Member Functions inherited from rviz::BoolProperty
 BoolProperty (const QString &name=QString(), bool default_value=false, const QString &description=QString(), Property *parent=nullptr, const char *changed_slot=nullptr, QObject *receiver=nullptr)
 
virtual bool getBool () const
 
bool getDisableChildren () override
 
bool getDisableChildrenIfFalse ()
 
void setDisableChildrenIfFalse (bool disable)
 
 ~BoolProperty () override
 
- Public Member Functions inherited from rviz::Property
virtual void addChild (Property *child, int index=-1)
 
PropertychildAt (int index) const
 
virtual PropertychildAtUnchecked (int index) const
 
virtual void collapse ()
 
bool contains (Property *possible_child) const
 
virtual QWidget * createEditor (QWidget *parent, const QStyleOptionViewItem &option)
 
virtual void expand ()
 
virtual QString getDescription () const
 
virtual bool getHidden () const
 
virtual QIcon getIcon () const
 
PropertyTreeModelgetModel () const
 
virtual QString getName () const
 
std::string getNameStd () const
 
PropertygetParent () const
 
virtual bool getReadOnly () const
 
virtual QVariant getValue () const
 
void hide ()
 
bool isAncestorOf (Property *possible_child) const
 
virtual void moveChild (int from_index, int to_index)
 
virtual int numChildren () const
 
virtual bool paint (QPainter *painter, const QStyleOptionViewItem &option) const
 
 Property (const QString &name=QString(), const QVariant &default_value=QVariant(), const QString &description=QString(), Property *parent=nullptr, const char *changed_slot=nullptr, QObject *receiver=nullptr)
 
virtual void removeChildren (int start_index=0, int count=-1)
 
int rowNumberInParent () const
 
virtual void setDescription (const QString &description)
 
virtual void setHidden (bool hidden)
 
virtual void setIcon (const QIcon &icon)
 
void setModel (PropertyTreeModel *model)
 
void setParent (Property *new_parent)
 
virtual void setReadOnly (bool read_only)
 
void setShouldBeSaved (bool save)
 
virtual bool setValue (const QVariant &new_value)
 
bool shouldBeSaved () const
 
void show ()
 
virtual PropertysubProp (const QString &sub_name)
 
PropertytakeChild (Property *child)
 
virtual PropertytakeChildAt (int index)
 
 ~Property () override
 

Static Public Attributes

static size_t displayCounter = 0
 

Protected Member Functions

void fixedFrameChanged ()
 Sets the fixed frame. More...
 
void incomingGeometry (const mesh_msgs::MeshGeometryStamped::ConstPtr &meshMsg)
 Handler for incoming geometry messages. Validate data and update mesh. More...
 
void incomingVertexColors (const mesh_msgs::MeshVertexColorsStamped::ConstPtr &colorsStamped)
 Handler for incoming vertex color messages. Validate data and update mesh. More...
 
void incomingVertexCosts (const mesh_msgs::MeshVertexCostsStamped::ConstPtr &costsStamped)
 Handler for incoming vertex cost messages. Validate data and update mesh. More...
 
void onDisable ()
 Calls unsubscribe() and reset() if display is disabled. More...
 
void onEnable ()
 Calls subscribe() if display is enabled. More...
 
void onInitialize ()
 Initialises all nessessary things to get started. More...
 
void reset ()
 Clears whole stored data. More...
 
void subscribe ()
 Set the topics to subscribe. More...
 
void unsubscribe ()
 Unsubscribes all topics. More...
 
- Protected Member Functions inherited from rviz::Display
virtual void clearStatuses ()
 
bool initialized () const
 
- Protected Member Functions inherited from rviz::Property
void loadValue (const Config &config)
 

Private Slots

void initServices ()
 Initializes the used services. More...
 
void updateMaterialAndTextureServices ()
 Updates the material and texture services. More...
 
void updateMesh ()
 Updates material for each mesh displayed by trianglemesh_visual. More...
 
void updateMeshBufferSize ()
 Sets capacity of trianglemesh_visual. More...
 
void updateSynchronizer ()
 Updates the topic synchronizer. More...
 
void updateTopic ()
 Updates the subscribed topic. More...
 
void updateVertexColorService ()
 Updates the vertex color service. More...
 
void updateVertexCosts ()
 Update the vertex costs. More...
 

Private Member Functions

void cacheVertexCosts (const mesh_msgs::MeshVertexCostsStamped::ConstPtr costsStamped)
 Cache function for vertex cost messages. More...
 
boost::shared_ptr< TexturedMeshVisualgetCurrentVisual ()
 Creates a new visual and returns shared pointer. More...
 
boost::shared_ptr< TexturedMeshVisualgetNewVisual ()
 Creates a new visual and returns shared pointer. More...
 
void initialServiceCall ()
 initial service call for UUID & geometry More...
 
void processMessage (const mesh_msgs::MeshGeometryStamped::ConstPtr &meshMsg)
 Sets data for trianglemesh_visual and updates the mesh. More...
 
void requestMaterials (boost::shared_ptr< TexturedMeshVisual > visual, std::string uuid)
 Requests materials from the specified service. More...
 
void requestVertexColors (boost::shared_ptr< TexturedMeshVisual > visual, std::string uuid)
 Requests vertex colors from the specified service. More...
 

Private Attributes

message_filters::Cache< mesh_msgs::MeshVertexColorsStamped > * m_colorsSynchronizer
 Synchronizer for vertex colors. More...
 
std::map< std::string, const mesh_msgs::MeshVertexCostsStamped::ConstPtr > m_costCache
 Cache for received vertex cost messages. More...
 
rviz::EnumPropertym_costColorType
 Property for selecting the color type for cost display. More...
 
rviz::FloatPropertym_costLowerLimit
 Property for setting the lower limit of cost display. More...
 
message_filters::Cache< mesh_msgs::MeshVertexCostsStamped > * m_costsSynchronizer
 Synchronizer for vertex costs. More...
 
rviz::FloatPropertym_costUpperLimit
 Property for setting the upper limit of cost display. More...
 
rviz::BoolPropertym_costUseCustomLimits
 Property for using custom limits for cost display. More...
 
size_t m_displayID
 DisplayID. More...
 
rviz::EnumPropertym_displayType
 Property to select the display type. More...
 
rviz::FloatPropertym_facesAlpha
 Property to set faces transparency. More...
 
rviz::ColorPropertym_facesColor
 Property to set faces color. More...
 
rviz::BoolPropertym_facesTriangleColors
 Property to use the triangle colors. More...
 
rviz::BoolPropertym_facesVertexColors
 Property to use the vertex colors. More...
 
ros::ServiceClient m_geometryClient
 Client to request the geometry. More...
 
std::string m_lastUuid
 Uuid of the last received message. More...
 
ros::ServiceClient m_materialsClient
 Client to request the materials. More...
 
rviz::StringPropertym_materialServiceName
 Property to handle service name for materials. More...
 
rviz::IntPropertym_meshBufferSize
 Property to set meshBufferSize. More...
 
size_t m_meshCounter
 Counter for the meshes. More...
 
message_filters::Subscriber< mesh_msgs::MeshGeometryStamped > m_meshSubscriber
 Subscriber for meshMsg. More...
 
message_filters::Cache< mesh_msgs::MeshGeometryStamped > * m_meshSynchronizer
 Synchronizer for meshMsgs. More...
 
rviz::RosTopicPropertym_meshTopic
 Property to handle topic for meshMsg. More...
 
boost::circular_buffer< boost::shared_ptr< TexturedMeshVisual > > m_meshVisuals
 Shared pointer to store the created objects of trianglemesh_visual. More...
 
uint32_t m_messagesReceived
 Counter for the received messages. More...
 
rviz::FloatPropertym_normalsAlpha
 Property to set the transparency of the normals. More...
 
rviz::ColorPropertym_normalsColor
 Property to set the color of the normals. More...
 
rviz::FloatPropertym_scalingFactor
 Property to set the size of the normals. More...
 
rviz::EnumPropertym_selectVertexCostMap
 Property to select different types of vertex cost maps to be shown. More...
 
rviz::BoolPropertym_showNormals
 Property to select the normals. More...
 
rviz::BoolPropertym_showTexturedFacesOnly
 Property to only show textured faces when texturizing is enabled. More...
 
rviz::BoolPropertym_showWireframe
 Property to select the wireframe. More...
 
ros::ServiceClient m_textureClient
 Client to request the textures. More...
 
rviz::StringPropertym_textureServiceName
 Property to handle service name for textures. More...
 
tf2_ros::MessageFilter< mesh_msgs::MeshGeometryStamped > * m_tfMeshFilter
 Messagefilter for meshMsg. More...
 
tf2_ros::MessageFilter< mesh_msgs::MeshVertexColorsStamped > * m_tfVertexColorsFilter
 Messagefilter for vertex colors. More...
 
tf2_ros::MessageFilter< mesh_msgs::MeshVertexCostsStamped > * m_tfVertexCostsFilter
 Messagefilter for vertex costs. More...
 
ros::ServiceClient m_uuidClient
 Client to request the UUID. More...
 
ros::ServiceClient m_vertexColorClient
 Client to request the vertex colors. More...
 
rviz::StringPropertym_vertexColorServiceName
 Property to handle service name for vertexColors. More...
 
message_filters::Subscriber< mesh_msgs::MeshVertexColorsStamped > m_vertexColorsSubscriber
 Subscriber for vertex colors. More...
 
rviz::RosTopicPropertym_vertexColorsTopic
 Property to handle topic for vertex colors. More...
 
message_filters::Subscriber< mesh_msgs::MeshVertexCostsStamped > m_vertexCostsSubscriber
 Subscriber for vertex costs. More...
 
rviz::RosTopicPropertym_vertexCostsTopic
 Property to handle topic for vertex cost maps. More...
 
rviz::FloatPropertym_wireframeAlpha
 Property to set wireframe transparency. More...
 
rviz::ColorPropertym_wireframeColor
 Property to set wireframe color. More...
 

Additional Inherited Members

- Public Slots inherited from rviz::Display
virtual void onEnableChanged ()
 
void queueRender ()
 
void setEnabled (bool enabled)
 
void setIcon (const QIcon &icon) override
 
- Public Slots inherited from rviz::BoolProperty
bool setBool (bool value)
 
- Signals inherited from rviz::Display
void timeSignal (rviz::Display *display, ros::Time time)
 
- Signals inherited from rviz::Property
void aboutToChange ()
 
void changed ()
 
void childListChanged (Property *this_property)
 
- Protected Attributes inherited from rviz::Display
DisplayContextcontext_
 
QString fixed_frame_
 
Ogre::SceneManager * scene_manager_
 
Ogre::SceneNode * scene_node_
 
ros::NodeHandle threaded_nh_
 
ros::NodeHandle update_nh_
 
- Protected Attributes inherited from rviz::Property
bool child_indexes_valid_
 
QIcon icon_
 
PropertyTreeModelmodel_
 
QVariant value_
 

Detailed Description

Class to show options in rviz window.

Definition at line 105 of file textured_mesh_display.h.

Constructor & Destructor Documentation

◆ TexturedMeshDisplay()

rviz_mesh_plugin::TexturedMeshDisplay::TexturedMeshDisplay ( )

Constructor.

Definition at line 89 of file textured_mesh_display.cpp.

◆ ~TexturedMeshDisplay()

rviz_mesh_plugin::TexturedMeshDisplay::~TexturedMeshDisplay ( )

Destructor.

Definition at line 331 of file textured_mesh_display.cpp.

Member Function Documentation

◆ cacheVertexCosts()

void rviz_mesh_plugin::TexturedMeshDisplay::cacheVertexCosts ( const mesh_msgs::MeshVertexCostsStamped::ConstPtr  costsStamped)
private

Cache function for vertex cost messages.

Parameters
costsStampedThe vertex cost message

Definition at line 557 of file textured_mesh_display.cpp.

◆ fixedFrameChanged()

void rviz_mesh_plugin::TexturedMeshDisplay::fixedFrameChanged ( )
protectedvirtual

Sets the fixed frame.

Reimplemented from rviz::Display.

Definition at line 516 of file textured_mesh_display.cpp.

◆ getCurrentVisual()

boost::shared_ptr< TexturedMeshVisual > rviz_mesh_plugin::TexturedMeshDisplay::getCurrentVisual ( )
private

Creates a new visual and returns shared pointer.

Returns
The current visual

Definition at line 799 of file textured_mesh_display.cpp.

◆ getNewVisual()

boost::shared_ptr< TexturedMeshVisual > rviz_mesh_plugin::TexturedMeshDisplay::getNewVisual ( )
private

Creates a new visual and returns shared pointer.

Returns
The newly created visual

Definition at line 779 of file textured_mesh_display.cpp.

◆ incomingGeometry()

void rviz_mesh_plugin::TexturedMeshDisplay::incomingGeometry ( const mesh_msgs::MeshGeometryStamped::ConstPtr &  meshMsg)
protected

Handler for incoming geometry messages. Validate data and update mesh.

Parameters
meshMsgThe geometry

Definition at line 583 of file textured_mesh_display.cpp.

◆ incomingVertexColors()

void rviz_mesh_plugin::TexturedMeshDisplay::incomingVertexColors ( const mesh_msgs::MeshVertexColorsStamped::ConstPtr &  colorsStamped)
protected

Handler for incoming vertex color messages. Validate data and update mesh.

Parameters
colorsStampedThe vertex colors

Definition at line 522 of file textured_mesh_display.cpp.

◆ incomingVertexCosts()

void rviz_mesh_plugin::TexturedMeshDisplay::incomingVertexCosts ( const mesh_msgs::MeshVertexCostsStamped::ConstPtr &  costsStamped)
protected

Handler for incoming vertex cost messages. Validate data and update mesh.

Parameters
costsStampedThe vertex costs

Definition at line 540 of file textured_mesh_display.cpp.

◆ initialServiceCall()

void rviz_mesh_plugin::TexturedMeshDisplay::initialServiceCall ( )
private

initial service call for UUID & geometry

Definition at line 376 of file textured_mesh_display.cpp.

◆ initServices

void rviz_mesh_plugin::TexturedMeshDisplay::initServices ( )
privateslot

Initializes the used services.

Definition at line 705 of file textured_mesh_display.cpp.

◆ onDisable()

void rviz_mesh_plugin::TexturedMeshDisplay::onDisable ( )
protectedvirtual

Calls unsubscribe() and reset() if display is disabled.

Reimplemented from rviz::Display.

Definition at line 510 of file textured_mesh_display.cpp.

◆ onEnable()

void rviz_mesh_plugin::TexturedMeshDisplay::onEnable ( )
protectedvirtual

Calls subscribe() if display is enabled.

Reimplemented from rviz::Display.

Definition at line 505 of file textured_mesh_display.cpp.

◆ onInitialize()

void rviz_mesh_plugin::TexturedMeshDisplay::onInitialize ( )
protectedvirtual

Initialises all nessessary things to get started.

Reimplemented from rviz::Display.

Definition at line 337 of file textured_mesh_display.cpp.

◆ processMessage()

void rviz_mesh_plugin::TexturedMeshDisplay::processMessage ( const mesh_msgs::MeshGeometryStamped::ConstPtr &  meshMsg)
private

Sets data for trianglemesh_visual and updates the mesh.

Parameters
meshMsgMessage containing geometry information

Definition at line 810 of file textured_mesh_display.cpp.

◆ requestMaterials()

void rviz_mesh_plugin::TexturedMeshDisplay::requestMaterials ( boost::shared_ptr< TexturedMeshVisual visual,
std::string  uuid 
)
private

Requests materials from the specified service.

Parameters
visualVisual to which the materials will be added
uuidMesh UUID

Definition at line 865 of file textured_mesh_display.cpp.

◆ requestVertexColors()

void rviz_mesh_plugin::TexturedMeshDisplay::requestVertexColors ( boost::shared_ptr< TexturedMeshVisual visual,
std::string  uuid 
)
private

Requests vertex colors from the specified service.

Parameters
visualVisual to which the vertex colors will be added
uuidMesh UUID

Definition at line 847 of file textured_mesh_display.cpp.

◆ reset()

void rviz_mesh_plugin::TexturedMeshDisplay::reset ( )
protectedvirtual

Clears whole stored data.

Reimplemented from rviz::Display.

Definition at line 410 of file textured_mesh_display.cpp.

◆ subscribe()

void rviz_mesh_plugin::TexturedMeshDisplay::subscribe ( )
protected

Set the topics to subscribe.

Definition at line 426 of file textured_mesh_display.cpp.

◆ unsubscribe()

void rviz_mesh_plugin::TexturedMeshDisplay::unsubscribe ( )
protected

Unsubscribes all topics.

Definition at line 482 of file textured_mesh_display.cpp.

◆ updateMaterialAndTextureServices

void rviz_mesh_plugin::TexturedMeshDisplay::updateMaterialAndTextureServices ( )
privateslot

Updates the material and texture services.

Definition at line 743 of file textured_mesh_display.cpp.

◆ updateMesh

void rviz_mesh_plugin::TexturedMeshDisplay::updateMesh ( )
privateslot

Updates material for each mesh displayed by trianglemesh_visual.

Definition at line 630 of file textured_mesh_display.cpp.

◆ updateMeshBufferSize

void rviz_mesh_plugin::TexturedMeshDisplay::updateMeshBufferSize ( )
privateslot

Sets capacity of trianglemesh_visual.

Definition at line 590 of file textured_mesh_display.cpp.

◆ updateSynchronizer

void rviz_mesh_plugin::TexturedMeshDisplay::updateSynchronizer ( )
privateslot

Updates the topic synchronizer.

◆ updateTopic

void rviz_mesh_plugin::TexturedMeshDisplay::updateTopic ( )
privateslot

Updates the subscribed topic.

Definition at line 418 of file textured_mesh_display.cpp.

◆ updateVertexColorService

void rviz_mesh_plugin::TexturedMeshDisplay::updateVertexColorService ( )
privateslot

Updates the vertex color service.

Definition at line 716 of file textured_mesh_display.cpp.

◆ updateVertexCosts

void rviz_mesh_plugin::TexturedMeshDisplay::updateVertexCosts ( )
privateslot

Update the vertex costs.

Definition at line 596 of file textured_mesh_display.cpp.

Member Data Documentation

◆ displayCounter

size_t rviz_mesh_plugin::TexturedMeshDisplay::displayCounter = 0
static

Definition at line 109 of file textured_mesh_display.h.

◆ m_colorsSynchronizer

message_filters::Cache<mesh_msgs::MeshVertexColorsStamped>* rviz_mesh_plugin::TexturedMeshDisplay::m_colorsSynchronizer
private

Synchronizer for vertex colors.

Definition at line 283 of file textured_mesh_display.h.

◆ m_costCache

std::map<std::string, const mesh_msgs::MeshVertexCostsStamped::ConstPtr> rviz_mesh_plugin::TexturedMeshDisplay::m_costCache
private

Cache for received vertex cost messages.

Definition at line 394 of file textured_mesh_display.h.

◆ m_costColorType

rviz::EnumProperty* rviz_mesh_plugin::TexturedMeshDisplay::m_costColorType
private

Property for selecting the color type for cost display.

Definition at line 382 of file textured_mesh_display.h.

◆ m_costLowerLimit

rviz::FloatProperty* rviz_mesh_plugin::TexturedMeshDisplay::m_costLowerLimit
private

Property for setting the lower limit of cost display.

Definition at line 388 of file textured_mesh_display.h.

◆ m_costsSynchronizer

message_filters::Cache<mesh_msgs::MeshVertexCostsStamped>* rviz_mesh_plugin::TexturedMeshDisplay::m_costsSynchronizer
private

Synchronizer for vertex costs.

Definition at line 286 of file textured_mesh_display.h.

◆ m_costUpperLimit

rviz::FloatProperty* rviz_mesh_plugin::TexturedMeshDisplay::m_costUpperLimit
private

Property for setting the upper limit of cost display.

Definition at line 391 of file textured_mesh_display.h.

◆ m_costUseCustomLimits

rviz::BoolProperty* rviz_mesh_plugin::TexturedMeshDisplay::m_costUseCustomLimits
private

Property for using custom limits for cost display.

Definition at line 385 of file textured_mesh_display.h.

◆ m_displayID

size_t rviz_mesh_plugin::TexturedMeshDisplay::m_displayID
private

DisplayID.

Definition at line 298 of file textured_mesh_display.h.

◆ m_displayType

rviz::EnumProperty* rviz_mesh_plugin::TexturedMeshDisplay::m_displayType
private

Property to select the display type.

Definition at line 352 of file textured_mesh_display.h.

◆ m_facesAlpha

rviz::FloatProperty* rviz_mesh_plugin::TexturedMeshDisplay::m_facesAlpha
private

Property to set faces transparency.

Definition at line 334 of file textured_mesh_display.h.

◆ m_facesColor

rviz::ColorProperty* rviz_mesh_plugin::TexturedMeshDisplay::m_facesColor
private

Property to set faces color.

Definition at line 331 of file textured_mesh_display.h.

◆ m_facesTriangleColors

rviz::BoolProperty* rviz_mesh_plugin::TexturedMeshDisplay::m_facesTriangleColors
private

Property to use the triangle colors.

Definition at line 340 of file textured_mesh_display.h.

◆ m_facesVertexColors

rviz::BoolProperty* rviz_mesh_plugin::TexturedMeshDisplay::m_facesVertexColors
private

Property to use the vertex colors.

Definition at line 337 of file textured_mesh_display.h.

◆ m_geometryClient

ros::ServiceClient rviz_mesh_plugin::TexturedMeshDisplay::m_geometryClient
private

Client to request the geometry.

Definition at line 373 of file textured_mesh_display.h.

◆ m_lastUuid

std::string rviz_mesh_plugin::TexturedMeshDisplay::m_lastUuid
private

Uuid of the last received message.

Definition at line 301 of file textured_mesh_display.h.

◆ m_materialsClient

ros::ServiceClient rviz_mesh_plugin::TexturedMeshDisplay::m_materialsClient
private

Client to request the materials.

Definition at line 364 of file textured_mesh_display.h.

◆ m_materialServiceName

rviz::StringProperty* rviz_mesh_plugin::TexturedMeshDisplay::m_materialServiceName
private

Property to handle service name for materials.

Definition at line 316 of file textured_mesh_display.h.

◆ m_meshBufferSize

rviz::IntProperty* rviz_mesh_plugin::TexturedMeshDisplay::m_meshBufferSize
private

Property to set meshBufferSize.

Definition at line 322 of file textured_mesh_display.h.

◆ m_meshCounter

size_t rviz_mesh_plugin::TexturedMeshDisplay::m_meshCounter
private

Counter for the meshes.

Definition at line 295 of file textured_mesh_display.h.

◆ m_meshSubscriber

message_filters::Subscriber<mesh_msgs::MeshGeometryStamped> rviz_mesh_plugin::TexturedMeshDisplay::m_meshSubscriber
private

Subscriber for meshMsg.

Definition at line 262 of file textured_mesh_display.h.

◆ m_meshSynchronizer

message_filters::Cache<mesh_msgs::MeshGeometryStamped>* rviz_mesh_plugin::TexturedMeshDisplay::m_meshSynchronizer
private

Synchronizer for meshMsgs.

Definition at line 280 of file textured_mesh_display.h.

◆ m_meshTopic

rviz::RosTopicProperty* rviz_mesh_plugin::TexturedMeshDisplay::m_meshTopic
private

Property to handle topic for meshMsg.

Definition at line 304 of file textured_mesh_display.h.

◆ m_meshVisuals

boost::circular_buffer<boost::shared_ptr<TexturedMeshVisual> > rviz_mesh_plugin::TexturedMeshDisplay::m_meshVisuals
private

Shared pointer to store the created objects of trianglemesh_visual.

Definition at line 292 of file textured_mesh_display.h.

◆ m_messagesReceived

uint32_t rviz_mesh_plugin::TexturedMeshDisplay::m_messagesReceived
private

Counter for the received messages.

Definition at line 289 of file textured_mesh_display.h.

◆ m_normalsAlpha

rviz::FloatProperty* rviz_mesh_plugin::TexturedMeshDisplay::m_normalsAlpha
private

Property to set the transparency of the normals.

Definition at line 349 of file textured_mesh_display.h.

◆ m_normalsColor

rviz::ColorProperty* rviz_mesh_plugin::TexturedMeshDisplay::m_normalsColor
private

Property to set the color of the normals.

Definition at line 346 of file textured_mesh_display.h.

◆ m_scalingFactor

rviz::FloatProperty* rviz_mesh_plugin::TexturedMeshDisplay::m_scalingFactor
private

Property to set the size of the normals.

Definition at line 343 of file textured_mesh_display.h.

◆ m_selectVertexCostMap

rviz::EnumProperty* rviz_mesh_plugin::TexturedMeshDisplay::m_selectVertexCostMap
private

Property to select different types of vertex cost maps to be shown.

Definition at line 379 of file textured_mesh_display.h.

◆ m_showNormals

rviz::BoolProperty* rviz_mesh_plugin::TexturedMeshDisplay::m_showNormals
private

Property to select the normals.

Definition at line 358 of file textured_mesh_display.h.

◆ m_showTexturedFacesOnly

rviz::BoolProperty* rviz_mesh_plugin::TexturedMeshDisplay::m_showTexturedFacesOnly
private

Property to only show textured faces when texturizing is enabled.

Definition at line 376 of file textured_mesh_display.h.

◆ m_showWireframe

rviz::BoolProperty* rviz_mesh_plugin::TexturedMeshDisplay::m_showWireframe
private

Property to select the wireframe.

Definition at line 355 of file textured_mesh_display.h.

◆ m_textureClient

ros::ServiceClient rviz_mesh_plugin::TexturedMeshDisplay::m_textureClient
private

Client to request the textures.

Definition at line 367 of file textured_mesh_display.h.

◆ m_textureServiceName

rviz::StringProperty* rviz_mesh_plugin::TexturedMeshDisplay::m_textureServiceName
private

Property to handle service name for textures.

Definition at line 319 of file textured_mesh_display.h.

◆ m_tfMeshFilter

tf2_ros::MessageFilter<mesh_msgs::MeshGeometryStamped>* rviz_mesh_plugin::TexturedMeshDisplay::m_tfMeshFilter
private

Messagefilter for meshMsg.

Definition at line 271 of file textured_mesh_display.h.

◆ m_tfVertexColorsFilter

tf2_ros::MessageFilter<mesh_msgs::MeshVertexColorsStamped>* rviz_mesh_plugin::TexturedMeshDisplay::m_tfVertexColorsFilter
private

Messagefilter for vertex colors.

Definition at line 274 of file textured_mesh_display.h.

◆ m_tfVertexCostsFilter

tf2_ros::MessageFilter<mesh_msgs::MeshVertexCostsStamped>* rviz_mesh_plugin::TexturedMeshDisplay::m_tfVertexCostsFilter
private

Messagefilter for vertex costs.

Definition at line 277 of file textured_mesh_display.h.

◆ m_uuidClient

ros::ServiceClient rviz_mesh_plugin::TexturedMeshDisplay::m_uuidClient
private

Client to request the UUID.

Definition at line 370 of file textured_mesh_display.h.

◆ m_vertexColorClient

ros::ServiceClient rviz_mesh_plugin::TexturedMeshDisplay::m_vertexColorClient
private

Client to request the vertex colors.

Definition at line 361 of file textured_mesh_display.h.

◆ m_vertexColorServiceName

rviz::StringProperty* rviz_mesh_plugin::TexturedMeshDisplay::m_vertexColorServiceName
private

Property to handle service name for vertexColors.

Definition at line 313 of file textured_mesh_display.h.

◆ m_vertexColorsSubscriber

message_filters::Subscriber<mesh_msgs::MeshVertexColorsStamped> rviz_mesh_plugin::TexturedMeshDisplay::m_vertexColorsSubscriber
private

Subscriber for vertex colors.

Definition at line 265 of file textured_mesh_display.h.

◆ m_vertexColorsTopic

rviz::RosTopicProperty* rviz_mesh_plugin::TexturedMeshDisplay::m_vertexColorsTopic
private

Property to handle topic for vertex colors.

Definition at line 307 of file textured_mesh_display.h.

◆ m_vertexCostsSubscriber

message_filters::Subscriber<mesh_msgs::MeshVertexCostsStamped> rviz_mesh_plugin::TexturedMeshDisplay::m_vertexCostsSubscriber
private

Subscriber for vertex costs.

Definition at line 268 of file textured_mesh_display.h.

◆ m_vertexCostsTopic

rviz::RosTopicProperty* rviz_mesh_plugin::TexturedMeshDisplay::m_vertexCostsTopic
private

Property to handle topic for vertex cost maps.

Definition at line 310 of file textured_mesh_display.h.

◆ m_wireframeAlpha

rviz::FloatProperty* rviz_mesh_plugin::TexturedMeshDisplay::m_wireframeAlpha
private

Property to set wireframe transparency.

Definition at line 328 of file textured_mesh_display.h.

◆ m_wireframeColor

rviz::ColorProperty* rviz_mesh_plugin::TexturedMeshDisplay::m_wireframeColor
private

Property to set wireframe color.

Definition at line 325 of file textured_mesh_display.h.


The documentation for this class was generated from the following files:


rviz_mesh_plugin
Author(s): Sebastian Pütz , Henning Deeken , Marcel Mrozinski , Kristin Schmidt , Jan Philipp Vogtherr
autogenerated on Fri Feb 12 2021 04:03:57