Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
rviz_map_plugin::MeshDisplay Class Reference

Display for showing the mesh in different modes. More...

#include <MeshDisplay.hpp>

Inheritance diagram for rviz_map_plugin::MeshDisplay:
Inheritance graph
[legend]

Public Member Functions

void addTexture (Texture &texture, uint32_t textureIndex)
 Add a texture. More...
 
void addVertexCosts (std::string costlayer, vector< float > &vertexCosts)
 Adds a vertex costlayer. More...
 
void clearVertexCosts ()
 Clears the vertex costs. More...
 
void ignoreIncomingMessages ()
 disables visualization of incoming messages More...
 
 MeshDisplay ()
 Constructor. More...
 
void onDisable ()
 RViz callback on disable. More...
 
void onEnable ()
 RViz callback on enable. More...
 
void setGeometry (shared_ptr< Geometry > geometry)
 Set the geometry. More...
 
void setMaterials (vector< Material > &materials, vector< TexCoords > &texCoords)
 Set the materials and texture coordinates. More...
 
void setPose (Ogre::Vector3 &position, Ogre::Quaternion &orientation)
 Set geometrys pose. More...
 
void setVertexColors (vector< Color > &vertexColors)
 Set the vertex colors. More...
 
void setVertexNormals (vector< Normal > &vertexNormals)
 Set the vertex normals. More...
 
void subscribe ()
 Set the topics to subscribe. More...
 
void unsubscribe ()
 Unsubscribes all topics. More...
 
 ~MeshDisplay ()
 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
 
virtual void reset ()
 
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, bool default_value, const QString &description, P *parent, Func &&changed_slot)
 
 BoolProperty (const QString &name, bool default_value, const QString &description, Property *parent, Func &&changed_slot, const R *receiver)
 
 BoolProperty (const QString &name=QString(), bool default_value=false, const QString &description=QString(), Property *parent=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 ()
 
std::enable_if<!QtPrivate::FunctionPointer< Func >::IsPointerToMemberFunction, QMetaObject::Connection >::type connect (const QObject *context, Func &&slot, Qt::ConnectionType type=Qt::AutoConnection)
 
QMetaObject::Connection connect (const QObject *receiver, const char *slot, Qt::ConnectionType type=Qt::AutoConnection)
 
std::enable_if< QtPrivate::FunctionPointer< Func >::IsPointerToMemberFunction, QMetaObject::Connection >::type connect (const R *receiver, Func &&slot, Qt::ConnectionType type=Qt::AutoConnection)
 
std::enable_if<!QtPrivate::FunctionPointer< Func >::IsPointerToMemberFunction, QMetaObject::Connection >::type connect (Func &&slot, Qt::ConnectionType type=Qt::AutoConnection)
 
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 ()
 
void insertChildSorted (Property *child)
 
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, const QVariant &default_value, const QString &description, P *parent, Func &&changed_slot)
 
 Property (const QString &name, const QVariant &default_value, const QString &description, Property *parent, Func &&changed_slot, const R *receiver)
 
 Property (const QString &name=QString(), const QVariant &default_value=QVariant(), const QString &description=QString(), Property *parent=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
 

Private Slots

void updateBufferSize ()
 Updates the buffer size. More...
 
void updateMaterialAndTextureServices ()
 Updates the material and texture services. More...
 
void updateMesh ()
 Updates the mesh. More...
 
void updateNormals ()
 Update the mesh normals. More...
 
void updateNormalsColor ()
 Update the color of the mesh normals. More...
 
void updateNormalsSize ()
 Update the size of the mesh normals. More...
 
void updateTopic ()
 Updates the subscribed topic. More...
 
void updateVertexColorService ()
 Updates the vertex color service. More...
 
void updateVertexColorsTopic ()
 Updates the subscribed vertex colors topic. More...
 
void updateVertexCosts ()
 Update the vertex costs. More...
 
void updateVertexCostsTopic ()
 Updates the subscribed vertex costs topic. More...
 
void updateWireframe ()
 Updates the mesh wireframe. More...
 

Private Member Functions

std::shared_ptr< MeshVisualaddNewVisual ()
 adds a new visual to the ring buffer More...
 
void cacheVertexCosts (std::string layer, const std::vector< float > &costs)
 Cache function for vertex cost messages. More...
 
std::shared_ptr< MeshVisualgetLatestVisual ()
 delivers the latest mesh visual 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 initialServiceCall ()
 initial service call for UUID & geometry More...
 
void onInitialize ()
 RViz callback on initialize. More...
 
void processMessage (const mesh_msgs::MeshGeometryStamped::ConstPtr &meshMsg)
 Sets data for trianglemesh_visual and updates the mesh. More...
 
void requestMaterials (std::string uuid)
 Requests materials from the specified service. More...
 
void requestVertexColors (std::string uuid)
 Requests vertex colors from the specified service. More...
 

Private Attributes

rviz::IntPropertym_bufferSize
 Property to handle buffer size. More...
 
message_filters::Cache< mesh_msgs::MeshVertexColorsStamped > * m_colorsSynchronizer
 Synchronizer for vertex colors. More...
 
std::map< std::string, std::vector< float > > 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...
 
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...
 
ros::ServiceClient m_geometryClient
 Client to request the geometry. More...
 
bool m_ignoreMsgs
 if set to true, ignore incoming messages and do not use services to request materials 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...
 
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...
 
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...
 
std::queue< std::shared_ptr< MeshVisual > > m_visuals
 Visual data. 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 (ros::Time time, QPrivateSignal)
 
- Signals inherited from rviz::Property
void aboutToChange ()
 
void changed ()
 
void childListChanged (Property *this_property)
 
- Protected Member Functions inherited from rviz::Display
virtual void clearStatuses ()
 
virtual void fixedFrameChanged ()
 
bool initialized () const
 
- Protected Member Functions inherited from rviz::Property
void loadValue (const Config &config)
 
- 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

Display for showing the mesh in different modes.

Definition at line 128 of file MeshDisplay.hpp.

Constructor & Destructor Documentation

◆ MeshDisplay()

rviz_map_plugin::MeshDisplay::MeshDisplay ( )

Constructor.

Definition at line 72 of file MeshDisplay.cpp.

◆ ~MeshDisplay()

rviz_map_plugin::MeshDisplay::~MeshDisplay ( )

Destructor.

Definition at line 199 of file MeshDisplay.cpp.

Member Function Documentation

◆ addNewVisual()

std::shared_ptr< MeshVisual > rviz_map_plugin::MeshDisplay::addNewVisual ( )
private

adds a new visual to the ring buffer

Returns
newly added visual

Definition at line 973 of file MeshDisplay.cpp.

◆ addTexture()

void rviz_map_plugin::MeshDisplay::addTexture ( Texture texture,
uint32_t  textureIndex 
)

Add a texture.

Parameters
textureThe texture
textureIndexThe textures index

Definition at line 395 of file MeshDisplay.cpp.

◆ addVertexCosts()

void rviz_map_plugin::MeshDisplay::addVertexCosts ( std::string  costlayer,
vector< float > &  vertexCosts 
)

Adds a vertex costlayer.

Parameters
costlayerName of the new costlayer
vertexCostsThe vertex costs

Definition at line 366 of file MeshDisplay.cpp.

◆ cacheVertexCosts()

void rviz_map_plugin::MeshDisplay::cacheVertexCosts ( std::string  layer,
const std::vector< float > &  costs 
)
private

Cache function for vertex cost messages.

Parameters
costsStampedThe vertex cost message

Definition at line 944 of file MeshDisplay.cpp.

◆ clearVertexCosts()

void rviz_map_plugin::MeshDisplay::clearVertexCosts ( )

Clears the vertex costs.

Definition at line 360 of file MeshDisplay.cpp.

◆ getLatestVisual()

std::shared_ptr< MeshVisual > rviz_map_plugin::MeshDisplay::getLatestVisual ( )
private

delivers the latest mesh visual

Returns
latest mesh visual

Definition at line 964 of file MeshDisplay.cpp.

◆ ignoreIncomingMessages()

void rviz_map_plugin::MeshDisplay::ignoreIncomingMessages ( )

disables visualization of incoming messages

When called, incoming mesh messages will be ignored and the rviz properties to set topics and services will be hidden. This cloud be useful when using this display as a child-display e.g. of the MapDisplay

Definition at line 320 of file MeshDisplay.cpp.

◆ incomingGeometry()

void rviz_map_plugin::MeshDisplay::incomingGeometry ( const mesh_msgs::MeshGeometryStamped::ConstPtr &  meshMsg)
private

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

Parameters
meshMsgThe geometry

Definition at line 798 of file MeshDisplay.cpp.

◆ incomingVertexColors()

void rviz_map_plugin::MeshDisplay::incomingVertexColors ( const mesh_msgs::MeshVertexColorsStamped::ConstPtr &  colorsStamped)
private

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

Parameters
colorsStampedThe vertex colors

Definition at line 805 of file MeshDisplay.cpp.

◆ incomingVertexCosts()

void rviz_map_plugin::MeshDisplay::incomingVertexCosts ( const mesh_msgs::MeshVertexCostsStamped::ConstPtr &  costsStamped)
private

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

Parameters
costsStampedThe vertex costs

Definition at line 823 of file MeshDisplay.cpp.

◆ initialServiceCall()

void rviz_map_plugin::MeshDisplay::initialServiceCall ( )
private

initial service call for UUID & geometry

Definition at line 692 of file MeshDisplay.cpp.

◆ onDisable()

void rviz_map_plugin::MeshDisplay::onDisable ( )
virtual

RViz callback on disable.

Reimplemented from rviz::Display.

Definition at line 250 of file MeshDisplay.cpp.

◆ onEnable()

void rviz_map_plugin::MeshDisplay::onEnable ( )
virtual

RViz callback on enable.

Reimplemented from rviz::Display.

Definition at line 241 of file MeshDisplay.cpp.

◆ onInitialize()

void rviz_map_plugin::MeshDisplay::onInitialize ( )
privatevirtual

RViz callback on initialize.

Reimplemented from rviz::Display.

Definition at line 203 of file MeshDisplay.cpp.

◆ processMessage()

void rviz_map_plugin::MeshDisplay::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 736 of file MeshDisplay.cpp.

◆ requestMaterials()

void rviz_map_plugin::MeshDisplay::requestMaterials ( std::string  uuid)
private

Requests materials from the specified service.

Parameters
uuidMesh UUID

Definition at line 865 of file MeshDisplay.cpp.

◆ requestVertexColors()

void rviz_map_plugin::MeshDisplay::requestVertexColors ( std::string  uuid)
private

Requests vertex colors from the specified service.

Parameters
uuidMesh UUID

Definition at line 835 of file MeshDisplay.cpp.

◆ setGeometry()

void rviz_map_plugin::MeshDisplay::setGeometry ( shared_ptr< Geometry geometry)

Set the geometry.

Parameters
geometryThe geometry

Definition at line 336 of file MeshDisplay.cpp.

◆ setMaterials()

void rviz_map_plugin::MeshDisplay::setMaterials ( vector< Material > &  materials,
vector< TexCoords > &  texCoords 
)

Set the materials and texture coordinates.

Parameters
materialsThe materials
texCoordsThe texture coordinates

Definition at line 385 of file MeshDisplay.cpp.

◆ setPose()

void rviz_map_plugin::MeshDisplay::setPose ( Ogre::Vector3 position,
Ogre::Quaternion &  orientation 
)

Set geometrys pose.

Parameters
positionposition of the pose
orientationorientation of the pose

Definition at line 404 of file MeshDisplay.cpp.

◆ setVertexColors()

void rviz_map_plugin::MeshDisplay::setVertexColors ( vector< Color > &  vertexColors)

Set the vertex colors.

Parameters
vertexColorsThe vertex colors

Definition at line 350 of file MeshDisplay.cpp.

◆ setVertexNormals()

void rviz_map_plugin::MeshDisplay::setVertexNormals ( vector< Normal > &  vertexNormals)

Set the vertex normals.

Parameters
vertexNormalsThe vertex normals

Definition at line 372 of file MeshDisplay.cpp.

◆ subscribe()

void rviz_map_plugin::MeshDisplay::subscribe ( )

Set the topics to subscribe.

Definition at line 258 of file MeshDisplay.cpp.

◆ unsubscribe()

void rviz_map_plugin::MeshDisplay::unsubscribe ( )

Unsubscribes all topics.

Definition at line 297 of file MeshDisplay.cpp.

◆ updateBufferSize

void rviz_map_plugin::MeshDisplay::updateBufferSize ( )
privateslot

Updates the buffer size.

Definition at line 417 of file MeshDisplay.cpp.

◆ updateMaterialAndTextureServices

void rviz_map_plugin::MeshDisplay::updateMaterialAndTextureServices ( )
privateslot

Updates the material and texture services.

Definition at line 622 of file MeshDisplay.cpp.

◆ updateMesh

void rviz_map_plugin::MeshDisplay::updateMesh ( )
privateslot

Updates the mesh.

Definition at line 425 of file MeshDisplay.cpp.

◆ updateNormals

void rviz_map_plugin::MeshDisplay::updateNormals ( )
privateslot

Update the mesh normals.

Definition at line 535 of file MeshDisplay.cpp.

◆ updateNormalsColor

void rviz_map_plugin::MeshDisplay::updateNormalsColor ( )
privateslot

Update the color of the mesh normals.

Definition at line 547 of file MeshDisplay.cpp.

◆ updateNormalsSize

void rviz_map_plugin::MeshDisplay::updateNormalsSize ( )
privateslot

Update the size of the mesh normals.

Definition at line 558 of file MeshDisplay.cpp.

◆ updateTopic

void rviz_map_plugin::MeshDisplay::updateTopic ( )
privateslot

Updates the subscribed topic.

Definition at line 615 of file MeshDisplay.cpp.

◆ updateVertexColorService

void rviz_map_plugin::MeshDisplay::updateVertexColorService ( )
privateslot

Updates the vertex color service.

Definition at line 660 of file MeshDisplay.cpp.

◆ updateVertexColorsTopic

void rviz_map_plugin::MeshDisplay::updateVertexColorsTopic ( )
privateslot

Updates the subscribed vertex colors topic.

Definition at line 595 of file MeshDisplay.cpp.

◆ updateVertexCosts

void rviz_map_plugin::MeshDisplay::updateVertexCosts ( )
privateslot

Update the vertex costs.

Definition at line 567 of file MeshDisplay.cpp.

◆ updateVertexCostsTopic

void rviz_map_plugin::MeshDisplay::updateVertexCostsTopic ( )
privateslot

Updates the subscribed vertex costs topic.

Definition at line 605 of file MeshDisplay.cpp.

◆ updateWireframe

void rviz_map_plugin::MeshDisplay::updateWireframe ( )
privateslot

Updates the mesh wireframe.

Definition at line 524 of file MeshDisplay.cpp.

Member Data Documentation

◆ m_bufferSize

rviz::IntProperty* rviz_map_plugin::MeshDisplay::m_bufferSize
private

Property to handle buffer size.

Definition at line 407 of file MeshDisplay.hpp.

◆ m_colorsSynchronizer

message_filters::Cache<mesh_msgs::MeshVertexColorsStamped>* rviz_map_plugin::MeshDisplay::m_colorsSynchronizer
private

Synchronizer for vertex colors.

Definition at line 389 of file MeshDisplay.hpp.

◆ m_costCache

std::map<std::string, std::vector<float> > rviz_map_plugin::MeshDisplay::m_costCache
private

Cache for received vertex cost messages.

Definition at line 473 of file MeshDisplay.hpp.

◆ m_costColorType

rviz::EnumProperty* rviz_map_plugin::MeshDisplay::m_costColorType
private

Property for selecting the color type for cost display.

Definition at line 434 of file MeshDisplay.hpp.

◆ m_costLowerLimit

rviz::FloatProperty* rviz_map_plugin::MeshDisplay::m_costLowerLimit
private

Property for setting the lower limit of cost display.

Definition at line 446 of file MeshDisplay.hpp.

◆ m_costsSynchronizer

message_filters::Cache<mesh_msgs::MeshVertexCostsStamped>* rviz_map_plugin::MeshDisplay::m_costsSynchronizer
private

Synchronizer for vertex costs.

Definition at line 392 of file MeshDisplay.hpp.

◆ m_costUpperLimit

rviz::FloatProperty* rviz_map_plugin::MeshDisplay::m_costUpperLimit
private

Property for setting the upper limit of cost display.

Definition at line 449 of file MeshDisplay.hpp.

◆ m_costUseCustomLimits

rviz::BoolProperty* rviz_map_plugin::MeshDisplay::m_costUseCustomLimits
private

Property for using custom limits for cost display.

Definition at line 443 of file MeshDisplay.hpp.

◆ m_displayType

rviz::EnumProperty* rviz_map_plugin::MeshDisplay::m_displayType
private

Property to select the display type.

Definition at line 410 of file MeshDisplay.hpp.

◆ m_facesAlpha

rviz::FloatProperty* rviz_map_plugin::MeshDisplay::m_facesAlpha
private

Property to set faces transparency.

Definition at line 416 of file MeshDisplay.hpp.

◆ m_facesColor

rviz::ColorProperty* rviz_map_plugin::MeshDisplay::m_facesColor
private

Property to set faces color.

Definition at line 413 of file MeshDisplay.hpp.

◆ m_geometryClient

ros::ServiceClient rviz_map_plugin::MeshDisplay::m_geometryClient
private

Client to request the geometry.

Definition at line 365 of file MeshDisplay.hpp.

◆ m_ignoreMsgs

bool rviz_map_plugin::MeshDisplay::m_ignoreMsgs
private

if set to true, ignore incoming messages and do not use services to request materials

Definition at line 350 of file MeshDisplay.hpp.

◆ m_lastUuid

std::string rviz_map_plugin::MeshDisplay::m_lastUuid
private

Uuid of the last received message.

Definition at line 398 of file MeshDisplay.hpp.

◆ m_materialsClient

ros::ServiceClient rviz_map_plugin::MeshDisplay::m_materialsClient
private

Client to request the materials.

Definition at line 356 of file MeshDisplay.hpp.

◆ m_materialServiceName

rviz::StringProperty* rviz_map_plugin::MeshDisplay::m_materialServiceName
private

Property to handle service name for materials.

Definition at line 428 of file MeshDisplay.hpp.

◆ m_meshSubscriber

message_filters::Subscriber<mesh_msgs::MeshGeometryStamped> rviz_map_plugin::MeshDisplay::m_meshSubscriber
private

Subscriber for meshMsg.

Definition at line 368 of file MeshDisplay.hpp.

◆ m_meshSynchronizer

message_filters::Cache<mesh_msgs::MeshGeometryStamped>* rviz_map_plugin::MeshDisplay::m_meshSynchronizer
private

Synchronizer for meshMsgs.

Definition at line 386 of file MeshDisplay.hpp.

◆ m_meshTopic

rviz::RosTopicProperty* rviz_map_plugin::MeshDisplay::m_meshTopic
private

Property to handle topic for meshMsg.

Definition at line 404 of file MeshDisplay.hpp.

◆ m_messagesReceived

uint32_t rviz_map_plugin::MeshDisplay::m_messagesReceived
private

Counter for the received messages.

Definition at line 395 of file MeshDisplay.hpp.

◆ m_normalsAlpha

rviz::FloatProperty* rviz_map_plugin::MeshDisplay::m_normalsAlpha
private

Property to set the transparency of the normals.

Definition at line 458 of file MeshDisplay.hpp.

◆ m_normalsColor

rviz::ColorProperty* rviz_map_plugin::MeshDisplay::m_normalsColor
private

Property to set the color of the normals.

Definition at line 455 of file MeshDisplay.hpp.

◆ m_scalingFactor

rviz::FloatProperty* rviz_map_plugin::MeshDisplay::m_scalingFactor
private

Property to set the size of the normals.

Definition at line 461 of file MeshDisplay.hpp.

◆ m_selectVertexCostMap

rviz::EnumProperty* rviz_map_plugin::MeshDisplay::m_selectVertexCostMap
private

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

Definition at line 440 of file MeshDisplay.hpp.

◆ m_showNormals

rviz::BoolProperty* rviz_map_plugin::MeshDisplay::m_showNormals
private

Property to select the normals.

Definition at line 452 of file MeshDisplay.hpp.

◆ m_showTexturedFacesOnly

rviz::BoolProperty* rviz_map_plugin::MeshDisplay::m_showTexturedFacesOnly
private

Property to only show textured faces when texturizing is enabled.

Definition at line 425 of file MeshDisplay.hpp.

◆ m_showWireframe

rviz::BoolProperty* rviz_map_plugin::MeshDisplay::m_showWireframe
private

Property to select the wireframe.

Definition at line 464 of file MeshDisplay.hpp.

◆ m_textureClient

ros::ServiceClient rviz_map_plugin::MeshDisplay::m_textureClient
private

Client to request the textures.

Definition at line 359 of file MeshDisplay.hpp.

◆ m_textureServiceName

rviz::StringProperty* rviz_map_plugin::MeshDisplay::m_textureServiceName
private

Property to handle service name for textures.

Definition at line 431 of file MeshDisplay.hpp.

◆ m_tfMeshFilter

tf2_ros::MessageFilter<mesh_msgs::MeshGeometryStamped>* rviz_map_plugin::MeshDisplay::m_tfMeshFilter
private

Messagefilter for meshMsg.

Definition at line 377 of file MeshDisplay.hpp.

◆ m_tfVertexColorsFilter

tf2_ros::MessageFilter<mesh_msgs::MeshVertexColorsStamped>* rviz_map_plugin::MeshDisplay::m_tfVertexColorsFilter
private

Messagefilter for vertex colors.

Definition at line 380 of file MeshDisplay.hpp.

◆ m_tfVertexCostsFilter

tf2_ros::MessageFilter<mesh_msgs::MeshVertexCostsStamped>* rviz_map_plugin::MeshDisplay::m_tfVertexCostsFilter
private

Messagefilter for vertex costs.

Definition at line 383 of file MeshDisplay.hpp.

◆ m_uuidClient

ros::ServiceClient rviz_map_plugin::MeshDisplay::m_uuidClient
private

Client to request the UUID.

Definition at line 362 of file MeshDisplay.hpp.

◆ m_vertexColorClient

ros::ServiceClient rviz_map_plugin::MeshDisplay::m_vertexColorClient
private

Client to request the vertex colors.

Definition at line 353 of file MeshDisplay.hpp.

◆ m_vertexColorServiceName

rviz::StringProperty* rviz_map_plugin::MeshDisplay::m_vertexColorServiceName
private

Property to handle service name for vertexColors.

Definition at line 422 of file MeshDisplay.hpp.

◆ m_vertexColorsSubscriber

message_filters::Subscriber<mesh_msgs::MeshVertexColorsStamped> rviz_map_plugin::MeshDisplay::m_vertexColorsSubscriber
private

Subscriber for vertex colors.

Definition at line 371 of file MeshDisplay.hpp.

◆ m_vertexColorsTopic

rviz::RosTopicProperty* rviz_map_plugin::MeshDisplay::m_vertexColorsTopic
private

Property to handle topic for vertex colors.

Definition at line 419 of file MeshDisplay.hpp.

◆ m_vertexCostsSubscriber

message_filters::Subscriber<mesh_msgs::MeshVertexCostsStamped> rviz_map_plugin::MeshDisplay::m_vertexCostsSubscriber
private

Subscriber for vertex costs.

Definition at line 374 of file MeshDisplay.hpp.

◆ m_vertexCostsTopic

rviz::RosTopicProperty* rviz_map_plugin::MeshDisplay::m_vertexCostsTopic
private

Property to handle topic for vertex cost maps.

Definition at line 437 of file MeshDisplay.hpp.

◆ m_visuals

std::queue<std::shared_ptr<MeshVisual> > rviz_map_plugin::MeshDisplay::m_visuals
private

Visual data.

Definition at line 401 of file MeshDisplay.hpp.

◆ m_wireframeAlpha

rviz::FloatProperty* rviz_map_plugin::MeshDisplay::m_wireframeAlpha
private

Property to set wireframe transparency.

Definition at line 470 of file MeshDisplay.hpp.

◆ m_wireframeColor

rviz::ColorProperty* rviz_map_plugin::MeshDisplay::m_wireframeColor
private

Property to set wireframe color.

Definition at line 467 of file MeshDisplay.hpp.


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


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