mc_rtc::gui::plot::PolygonDescription Struct Reference

#include <mc_rtc/gui/plot/types.h>

Public Member Functions

 PolygonDescription ()
 
 PolygonDescription (const std::vector< std::array< double, 2 >> &points, Color outline)
 
bool operator== (const PolygonDescription &rhs) const
 
bool operator!= (const PolygonDescription &rhs) const
 
std::vector< std::array< double, 2 > > & points ()
 
Coloroutline ()
 
Style & style ()
 
Colorfill ()
 
bool closed ()
 
const std::vector< std::array< double, 2 > > & points () const
 
const Coloroutline () const
 
const Style & style () const
 
const Colorfill () const
 
bool closed () const
 
PolygonDescriptionoutline (const Color &outline)
 
PolygonDescriptionstyle (const Style &style)
 
PolygonDescriptionfill (const Color &fill)
 
PolygonDescriptionclosed (bool closed)
 
void fromMessagePack (const mc_rtc::Configuration &data)
 
void write (mc_rtc::MessagePackBuilder &builder) const
 

Detailed Description

Describe a polygon to be plotted

Constructor & Destructor Documentation

◆ PolygonDescription() [1/2]

mc_rtc::gui::plot::PolygonDescription::PolygonDescription ( )
inline

◆ PolygonDescription() [2/2]

mc_rtc::gui::plot::PolygonDescription::PolygonDescription ( const std::vector< std::array< double, 2 >> &  points,
Color  outline 
)
inline

Member Function Documentation

◆ closed() [1/3]

bool mc_rtc::gui::plot::PolygonDescription::closed ( )
inline

◆ closed() [2/3]

bool mc_rtc::gui::plot::PolygonDescription::closed ( ) const
inline

◆ closed() [3/3]

PolygonDescription& mc_rtc::gui::plot::PolygonDescription::closed ( bool  closed)
inline

◆ fill() [1/3]

Color& mc_rtc::gui::plot::PolygonDescription::fill ( )
inline

◆ fill() [2/3]

const Color& mc_rtc::gui::plot::PolygonDescription::fill ( ) const
inline

◆ fill() [3/3]

PolygonDescription& mc_rtc::gui::plot::PolygonDescription::fill ( const Color fill)
inline

◆ fromMessagePack()

void mc_rtc::gui::plot::PolygonDescription::fromMessagePack ( const mc_rtc::Configuration data)
inline

◆ operator!=()

bool mc_rtc::gui::plot::PolygonDescription::operator!= ( const PolygonDescription rhs) const
inline

◆ operator==()

bool mc_rtc::gui::plot::PolygonDescription::operator== ( const PolygonDescription rhs) const
inline

◆ outline() [1/3]

Color& mc_rtc::gui::plot::PolygonDescription::outline ( )
inline

◆ outline() [2/3]

const Color& mc_rtc::gui::plot::PolygonDescription::outline ( ) const
inline

◆ outline() [3/3]

PolygonDescription& mc_rtc::gui::plot::PolygonDescription::outline ( const Color outline)
inline

◆ points() [1/2]

std::vector<std::array<double, 2> >& mc_rtc::gui::plot::PolygonDescription::points ( )
inline

◆ points() [2/2]

const std::vector<std::array<double, 2> >& mc_rtc::gui::plot::PolygonDescription::points ( ) const
inline

◆ style() [1/3]

Style& mc_rtc::gui::plot::PolygonDescription::style ( )
inline

◆ style() [2/3]

const Style& mc_rtc::gui::plot::PolygonDescription::style ( ) const
inline

◆ style() [3/3]

PolygonDescription& mc_rtc::gui::plot::PolygonDescription::style ( const Style &  style)
inline

◆ write()

void mc_rtc::gui::plot::PolygonDescription::write ( mc_rtc::MessagePackBuilder builder) const
inline

The documentation for this struct was generated from the following file: