mc_rtc::gui::PolyhedronConfig Struct Reference

#include <mc_rtc/gui/types.h>

Collaboration diagram for mc_rtc::gui::PolyhedronConfig:

Public Member Functions

 PolyhedronConfig ()
 
 PolyhedronConfig (const mc_rtc::Configuration &config)
 
void fromConfig (const mc_rtc::Configuration &config)
 
mc_rtc::Configuration saveConfig () const
 
void fromMessagePack (const mc_rtc::Configuration &config)
 

Static Public Member Functions

static constexpr size_t write_size ()
 

Public Attributes

Color triangle_color
 
bool show_triangle = true
 When true, use triangle face color from triangle_color. Else interpolate between each vertex color. More...
 
bool use_triangle_color = false
 
LineConfig edge_config
 
bool show_edges = true
 When true, use edge colors from edges_config. Else interpolate between each vertex color. More...
 
bool fixed_edge_color = true
 
PointConfig vertices_config
 
bool show_vertices = true
 
bool fixed_vertices_color = true
 

Constructor & Destructor Documentation

◆ PolyhedronConfig() [1/2]

mc_rtc::gui::PolyhedronConfig::PolyhedronConfig ( )
inline

◆ PolyhedronConfig() [2/2]

mc_rtc::gui::PolyhedronConfig::PolyhedronConfig ( const mc_rtc::Configuration config)
inline

Member Function Documentation

◆ fromConfig()

void mc_rtc::gui::PolyhedronConfig::fromConfig ( const mc_rtc::Configuration config)
inline

◆ fromMessagePack()

void mc_rtc::gui::PolyhedronConfig::fromMessagePack ( const mc_rtc::Configuration config)
inline

◆ saveConfig()

mc_rtc::Configuration mc_rtc::gui::PolyhedronConfig::saveConfig ( ) const
inline

◆ write_size()

static constexpr size_t mc_rtc::gui::PolyhedronConfig::write_size ( )
inlinestaticconstexpr

Member Data Documentation

◆ edge_config

LineConfig mc_rtc::gui::PolyhedronConfig::edge_config

◆ fixed_edge_color

bool mc_rtc::gui::PolyhedronConfig::fixed_edge_color = true

◆ fixed_vertices_color

bool mc_rtc::gui::PolyhedronConfig::fixed_vertices_color = true

◆ show_edges

bool mc_rtc::gui::PolyhedronConfig::show_edges = true

When true, use edge colors from edges_config. Else interpolate between each vertex color.

◆ show_triangle

bool mc_rtc::gui::PolyhedronConfig::show_triangle = true

When true, use triangle face color from triangle_color. Else interpolate between each vertex color.

◆ show_vertices

bool mc_rtc::gui::PolyhedronConfig::show_vertices = true

When true, use vertices colors from vertices_config. Else use the vertex color passed along with the triangles

◆ triangle_color

Color mc_rtc::gui::PolyhedronConfig::triangle_color

◆ use_triangle_color

bool mc_rtc::gui::PolyhedronConfig::use_triangle_color = false

◆ vertices_config

PointConfig mc_rtc::gui::PolyhedronConfig::vertices_config

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