Class OverlayTextDisplay

Inheritance Relationships

Base Type

  • public rviz_common::RosTopicDisplay< rviz_2d_overlay_msgs::msg::OverlayText >

Class Documentation

class OverlayTextDisplay : public rviz_common::RosTopicDisplay<rviz_2d_overlay_msgs::msg::OverlayText>

Public Functions

OverlayTextDisplay()
virtual ~OverlayTextDisplay()

Protected Functions

virtual void onInitialize() override
virtual void onEnable() override
virtual void onDisable() override
virtual void update(float wall_dt, float ros_dt) override
virtual void reset() override

Protected Attributes

rviz_2d_overlay_plugins::OverlayObject::SharedPtr overlay_
int texture_width_
int texture_height_
bool overtake_fg_color_properties_
bool overtake_bg_color_properties_
bool overtake_position_properties_
bool align_bottom_
bool invert_shadow_
QColor bg_color_
QColor fg_color_
int text_size_
int line_width_
std::string text_
QStringList font_families_
std::string font_
int horizontal_dist_
int vertical_dist_
HorizontalAlignment horizontal_alignment_
VerticalAlignment vertical_alignment_
bool require_update_texture_
rviz_common::properties::BoolProperty *overtake_position_properties_property_
rviz_common::properties::BoolProperty *overtake_fg_color_properties_property_
rviz_common::properties::BoolProperty *overtake_bg_color_properties_property_
rviz_common::properties::BoolProperty *align_bottom_property_
rviz_common::properties::BoolProperty *invert_shadow_property_
rviz_common::properties::IntProperty *hor_dist_property_
rviz_common::properties::IntProperty *ver_dist_property_
rviz_common::properties::EnumProperty *hor_alignment_property_
rviz_common::properties::EnumProperty *ver_alignment_property_
rviz_common::properties::IntProperty *width_property_
rviz_common::properties::IntProperty *height_property_
rviz_common::properties::IntProperty *text_size_property_
rviz_common::properties::IntProperty *line_width_property_
rviz_common::properties::ColorProperty *bg_color_property_
rviz_common::properties::FloatProperty *bg_alpha_property_
rviz_common::properties::ColorProperty *fg_color_property_
rviz_common::properties::FloatProperty *fg_alpha_property_
rviz_common::properties::EnumProperty *font_property_

Protected Slots

void updateOvertakePositionProperties()
void updateOvertakeFGColorProperties()
void updateOvertakeBGColorProperties()
void updateAlignBottom()
void updateInvertShadow()
void updateHorizontalDistance()
void updateVerticalDistance()
void updateHorizontalAlignment()
void updateVerticalAlignment()
void updateWidth()
void updateHeight()
void updateTextSize()
void updateFGColor()
void updateFGAlpha()
void updateBGColor()
void updateBGAlpha()
void updateFont()
void updateLineWidth()