Skip to content

Class robot_dart::gui::magnum::DrawableObject

ClassList > robot_dart > gui > magnum > DrawableObject

Inherits the following classes: Object3D, Magnum::SceneGraph::Drawable3D

Public Functions

Type Name
DrawableObject (RobotDARTSimu * simu, dart::dynamics::ShapeNode * shape, const std::vector< std::reference_wrapper< Magnum::GL::Mesh > > & meshes, const std::vector< gs::Material > & materials, gs::PhongMultiLight & color, gs::PhongMultiLight & texture, Object3D * parent, Magnum::SceneGraph::DrawableGroup3D * group)
const std::vector< gs::Material > & materials () const
DrawableObject & set_color_shader (std::reference_wrapper< gs::PhongMultiLight > shader)
DrawableObject & set_materials (const std::vector< gs::Material > & materials)
DrawableObject & set_meshes (const std::vector< std::reference_wrapper< Magnum::GL::Mesh > > & meshes)
DrawableObject & set_scalings (const std::vector< Magnum::Vector3 > & scalings)
DrawableObject & set_soft_bodies (const std::vector< bool > & softBody)
DrawableObject & set_texture_shader (std::reference_wrapper< gs::PhongMultiLight > shader)
DrawableObject & set_transparent (bool transparent=true)
dart::dynamics::ShapeNode * shape () const
RobotDARTSimu * simu () const
bool transparent () const

Public Functions Documentation

function DrawableObject

explicit robot_dart::gui::magnum::DrawableObject::DrawableObject (
    RobotDARTSimu * simu,
    dart::dynamics::ShapeNode * shape,
    const std::vector< std::reference_wrapper< Magnum::GL::Mesh > > & meshes,
    const std::vector< gs::Material > & materials,
    gs::PhongMultiLight & color,
    gs::PhongMultiLight & texture,
    Object3D * parent,
    Magnum::SceneGraph::DrawableGroup3D * group
) 

function materials

inline const std::vector< gs::Material > & robot_dart::gui::magnum::DrawableObject::materials () const

function set_color_shader

DrawableObject & robot_dart::gui::magnum::DrawableObject::set_color_shader (
    std::reference_wrapper< gs::PhongMultiLight > shader
) 

function set_materials

DrawableObject & robot_dart::gui::magnum::DrawableObject::set_materials (
    const std::vector< gs::Material > & materials
) 

function set_meshes

DrawableObject & robot_dart::gui::magnum::DrawableObject::set_meshes (
    const std::vector< std::reference_wrapper< Magnum::GL::Mesh > > & meshes
) 

function set_scalings

DrawableObject & robot_dart::gui::magnum::DrawableObject::set_scalings (
    const std::vector< Magnum::Vector3 > & scalings
) 

function set_soft_bodies

DrawableObject & robot_dart::gui::magnum::DrawableObject::set_soft_bodies (
    const std::vector< bool > & softBody
) 

function set_texture_shader

DrawableObject & robot_dart::gui::magnum::DrawableObject::set_texture_shader (
    std::reference_wrapper< gs::PhongMultiLight > shader
) 

function set_transparent

DrawableObject & robot_dart::gui::magnum::DrawableObject::set_transparent (
    bool transparent=true
) 

function shape

inline dart::dynamics::ShapeNode * robot_dart::gui::magnum::DrawableObject::shape () const

function simu

inline RobotDARTSimu * robot_dart::gui::magnum::DrawableObject::simu () const

function transparent

inline bool robot_dart::gui::magnum::DrawableObject::transparent () const


The documentation for this class was generated from the following file robot_dart/gui/magnum/drawables.hpp