Public Member Functions | Protected Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
snowbot_operating_system::SnowDisplay Class Reference

#include <snow_display.h>

Inheritance diagram for snowbot_operating_system::SnowDisplay:
Inheritance graph
[legend]

Public Member Functions

 SnowDisplay ()
 
void update (float wall_dt, float ros_dt) override
 
- 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)
 
 ~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
 

Protected Member Functions

void onInitialize () override
 
- Protected Member Functions inherited from rviz::Display
virtual void clearStatuses ()
 
virtual void fixedFrameChanged ()
 
bool initialized () const
 
virtual void onDisable ()
 
virtual void onEnable ()
 
- Protected Member Functions inherited from rviz::Property
void loadValue (const Config &config)
 

Private Slots

void updatePosition ()
 
void updateSize ()
 

Private Member Functions

void initializeXY (geometry_msgs::Point &pt) const
 
void letItSnow ()
 

Private Attributes

std::vector< rviz::PointCloud::Pointflakes_
 
rviz::FloatPropertygravity_property_
 
double height_
 
rviz::FloatPropertyheight_property_
 
rviz::FloatPropertyjiggle_property_
 
rviz::PointCloudpoint_cloud_
 
std::vector< geometry_msgs::Pointpoints_
 
rviz::IntPropertysize_property_
 
double width_
 
rviz::FloatPropertywidth_property_
 
rviz::FloatPropertywind_property_
 

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

Definition at line 47 of file snow_display.h.

Constructor & Destructor Documentation

◆ SnowDisplay()

snowbot_operating_system::SnowDisplay::SnowDisplay ( )

Definition at line 46 of file snow_display.cpp.

Member Function Documentation

◆ initializeXY()

void snowbot_operating_system::SnowDisplay::initializeXY ( geometry_msgs::Point pt) const
private

Definition at line 80 of file snow_display.cpp.

◆ letItSnow()

void snowbot_operating_system::SnowDisplay::letItSnow ( )
private

Definition at line 139 of file snow_display.cpp.

◆ onInitialize()

void snowbot_operating_system::SnowDisplay::onInitialize ( )
overrideprotectedvirtual

Reimplemented from rviz::Display.

Definition at line 62 of file snow_display.cpp.

◆ update()

void snowbot_operating_system::SnowDisplay::update ( float  wall_dt,
float  ros_dt 
)
overridevirtual

Reimplemented from rviz::Display.

Definition at line 75 of file snow_display.cpp.

◆ updatePosition

void snowbot_operating_system::SnowDisplay::updatePosition ( )
privateslot

Definition at line 103 of file snow_display.cpp.

◆ updateSize

void snowbot_operating_system::SnowDisplay::updateSize ( )
privateslot

Definition at line 86 of file snow_display.cpp.

Member Data Documentation

◆ flakes_

std::vector<rviz::PointCloud::Point> snowbot_operating_system::SnowDisplay::flakes_
private

Definition at line 68 of file snow_display.h.

◆ gravity_property_

rviz::FloatProperty* snowbot_operating_system::SnowDisplay::gravity_property_
private

Definition at line 74 of file snow_display.h.

◆ height_

double snowbot_operating_system::SnowDisplay::height_
private

Definition at line 79 of file snow_display.h.

◆ height_property_

rviz::FloatProperty* snowbot_operating_system::SnowDisplay::height_property_
private

Definition at line 73 of file snow_display.h.

◆ jiggle_property_

rviz::FloatProperty* snowbot_operating_system::SnowDisplay::jiggle_property_
private

Definition at line 76 of file snow_display.h.

◆ point_cloud_

rviz::PointCloud* snowbot_operating_system::SnowDisplay::point_cloud_
private

Definition at line 67 of file snow_display.h.

◆ points_

std::vector<geometry_msgs::Point> snowbot_operating_system::SnowDisplay::points_
private

Definition at line 70 of file snow_display.h.

◆ size_property_

rviz::IntProperty* snowbot_operating_system::SnowDisplay::size_property_
private

Definition at line 77 of file snow_display.h.

◆ width_

double snowbot_operating_system::SnowDisplay::width_
private

Definition at line 79 of file snow_display.h.

◆ width_property_

rviz::FloatProperty* snowbot_operating_system::SnowDisplay::width_property_
private

Definition at line 72 of file snow_display.h.

◆ wind_property_

rviz::FloatProperty* snowbot_operating_system::SnowDisplay::wind_property_
private

Definition at line 75 of file snow_display.h.


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


snowbot_operating_system
Author(s):
autogenerated on Wed Mar 2 2022 01:03:22