Go to the documentation of this file.
34 #ifndef Q_MOC_RUN // See: https://bugreports.qt-project.org/browse/QTBUG-22829
40 #include <rviz/rviz_export.h>
61 class PanelDockWidget;
76 QVariant getViewData(
int column,
int role)
const override;
80 Qt::ItemFlags getViewFlags(
int column)
const override;
104 void load(
const Config& config)
override;
109 void save(
Config config)
const override;
122 virtual void setTopic(
const QString& topic,
const QString& datatype)
129 bool isEnabled()
const;
132 void setFixedFrame(
const QString& fixed_frame);
137 virtual void update(
float wall_dt,
float ros_dt)
144 virtual void reset();
165 setStatus(level, QString::fromStdString(name), QString::fromStdString(text));
169 virtual void deleteStatus(
const QString& name);
174 deleteStatus(QString::fromStdString(name));
178 void setVisibilityBits(uint32_t bits);
179 void unsetVisibilityBits(uint32_t bits);
182 return visibility_bits_;
204 void setAssociatedWidget(QWidget* widget);
210 return associated_widget_;
217 return associated_widget_panel_;
221 void setName(
const QString& name)
override;
228 void timeSignal(
ros::Time time, QPrivateSignal);
235 void setEnabled(
bool enabled);
241 void setIcon(
const QIcon& icon)
override;
267 virtual void clearStatuses();
315 virtual void onEnableChanged();
318 void setStatusInternal(
int level,
const QString& name,
const QString& text);
319 void deleteStatusInternal(
const QString& name);
320 void clearStatusesInternal();
321 void associatedPanelVisibilityChange(
bool visible);
bool suppress_hiding_associated_widget_panel_
virtual void setClassId(const QString &class_id)
Set the class identifier used to create this instance. Typically this will be set by the factory obje...
bool initialized() const
Returns true if the display has been initialized.
virtual QString getClassId() const
Return the class identifier which was used to create this instance. This version just returns whateve...
uint32_t getVisibilityBits()
virtual void onDisable()
Derived classes override this to do the actual work of disabling themselves.
QWidget * getAssociatedWidget() const
Return the current associated widget, or NULL if there is none.
Property specialized to provide getter for booleans.
Q_DECLARE_METATYPE(ros::Time)
QString fixed_frame_
A convenience variable equal to context_->getFixedFrame().
PanelDockWidget * associated_widget_panel_
void deleteStatusStd(const std::string &name)
Delete the status entry with the given std::string name. This is thread-safe.
virtual void setTopic(const QString &topic, const QString &datatype)
Set the ROS topic to listen to for this display.
QWidget * associated_widget_
Ogre::SceneNode * scene_node_
The Ogre::SceneNode to hold all 3D scene elements shown by this Display.
virtual void fixedFrameChanged()
Called by setFixedFrame(). Override to respond to changes to fixed_frame_.
virtual void onInitialize()
Override this function to do subclass-specific initialization.
Ogre::SceneManager * scene_manager_
A convenience variable equal to context_->getSceneManager().
Pure-virtual base class for objects which give Display subclasses context in which to work.
PanelDockWidget * getAssociatedWidgetPanel()
Return the panel containing the associated widget, or NULL if there is none.
void setStatusStd(StatusProperty::Level level, const std::string &name, const std::string &text)
Show status level and text, using a std::string. Convenience function which converts std::string to Q...
DisplayContext * context_
This DisplayContext pointer is the main connection a Display has into the rest of rviz....
Ogre::SceneNode * getSceneNode() const
Return the Ogre::SceneNode holding all 3D scene elements shown by this Display.
ROSCONSOLE_DECL void initialize()
virtual void onEnable()
Derived classes override this to do the actual work of enabling themselves.
ros::NodeHandle threaded_nh_
A NodeHandle whose CallbackQueue is run from a different thread than the GUI.
uint32_t visibility_bits_
Configuration data storage class.
virtual void update(float wall_dt, float ros_dt)
Called periodically by the visualization manager.
ros::NodeHandle update_nh_
A NodeHandle whose CallbackQueue is run from the main GUI thread (the "update" thread).
rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust, William Woodall
autogenerated on Fri Aug 2 2024 08:43:09