Skip to content

Struct robot_dart::simu::GUIData

ClassList > robot_dart > simu > GUIData

Public Functions

Type Name
std::shared_ptr< simu::TextData > add_text (const std::string & text, const Eigen::Affine2d & tf=Eigen::Affine2d::Identity(), Eigen::Vector4d color=Eigen::Vector4d(1, 1, 1, 1), std::uint8_t alignment=2<< 2, bool draw_bg=false, Eigen::Vector4d bg_color=Eigen::Vector4d(0, 0, 0, 0.75), double font_size=28)
bool cast_shadows (dart::dynamics::ShapeNode * shape) const
std::vector< std::pair< dart::dynamics::BodyNode *, double > > drawing_axes () const
const std::vector< std::shared_ptr< simu::TextData > > & drawing_texts () const
bool ghost (dart::dynamics::ShapeNode * shape) const
void remove_robot (const std::shared_ptr< Robot > & robot)
void remove_text (const std::shared_ptr< simu::TextData > & data)
void remove_text (size_t index)
void update_robot (const std::shared_ptr< Robot > & robot)

Public Functions Documentation

function add_text

inline std::shared_ptr< simu::TextData > robot_dart::simu::GUIData::add_text (
    const std::string & text,
    const Eigen::Affine2d & tf=Eigen::Affine2d::Identity(),
    Eigen::Vector4d color=Eigen::Vector4d(1, 1, 1, 1),
    std::uint8_t alignment=2<< 2,
    bool draw_bg=false,
    Eigen::Vector4d bg_color=Eigen::Vector4d(0, 0, 0, 0.75),
    double font_size=28
) 

function cast_shadows

inline bool robot_dart::simu::GUIData::cast_shadows (
    dart::dynamics::ShapeNode * shape
) const

function drawing_axes

inline std::vector< std::pair< dart::dynamics::BodyNode *, double > > robot_dart::simu::GUIData::drawing_axes () const

function drawing_texts

inline const std::vector< std::shared_ptr< simu::TextData > > & robot_dart::simu::GUIData::drawing_texts () const

function ghost

inline bool robot_dart::simu::GUIData::ghost (
    dart::dynamics::ShapeNode * shape
) const

function remove_robot

inline void robot_dart::simu::GUIData::remove_robot (
    const std::shared_ptr< Robot > & robot
) 

function remove_text [½]

inline void robot_dart::simu::GUIData::remove_text (
    const std::shared_ptr< simu::TextData > & data
) 

function remove_text [2/2]

inline void robot_dart::simu::GUIData::remove_text (
    size_t index
) 

function update_robot

inline void robot_dart::simu::GUIData::update_robot (
    const std::shared_ptr< Robot > & robot
) 


The documentation for this class was generated from the following file robot_dart/gui_data.hpp