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¶
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¶
function remove_robot¶
function remove_text [½]¶
inline void robot_dart::simu::GUIData::remove_text (
const std::shared_ptr< simu::TextData > & data
)
function remove_text [2/2]¶
function update_robot¶
The documentation for this class was generated from the following file robot_dart/gui_data.hpp