Class robot_dart::gui::magnum::BaseGraphics¶
template <typename T>
ClassList > robot_dart > gui > magnum > BaseGraphics
Inherits the following classes: robot_dart::gui::Base
Public Functions¶
Type | Name |
---|---|
BaseGraphics (const GraphicsConfiguration & configuration=GraphicsConfiguration()) |
|
void | add_light (const magnum::Light & light) |
gs::Camera & | camera () |
const gs::Camera & | camera () const |
Eigen::Matrix4d | camera_extrinsic_matrix () const |
Eigen::Matrix3d | camera_intrinsic_matrix () const |
void | clear_lights () |
virtual DepthImage | depth_array () override |
virtual GrayscaleImage | depth_image () override |
virtual bool | done () override const |
void | enable_shadows (bool enable=true, bool transparent=true) |
virtual size_t | height () override const |
virtual Image | image () override |
magnum::Light & | light (size_t i) |
std::vector< gs::Light > & | lights () |
void | look_at (const Eigen::Vector3d & camera_pos, const Eigen::Vector3d & look_at=Eigen::Vector3d(0, 0, 0), const Eigen::Vector3d & up=Eigen::Vector3d(0, 0, 1)) |
BaseApplication * | magnum_app () |
const BaseApplication * | magnum_app () const |
Magnum::Image2D * | magnum_image () |
size_t | num_lights () const |
virtual GrayscaleImage | raw_depth_image () override |
void | record_video (const std::string & video_fname, int fps=-1) |
virtual void | refresh () override |
virtual void | set_enable (bool enable) override |
virtual void | set_fps (int fps) override |
virtual void | set_simu (RobotDARTSimu * simu) override |
bool | shadowed () const |
bool | transparent_shadows () const |
virtual size_t | width () override const |
virtual | ~BaseGraphics () |
Public Functions inherited from robot_dart::gui::Base¶
Type | Name |
---|---|
Base () |
|
virtual DepthImage | depth_array () |
virtual GrayscaleImage | depth_image () |
virtual bool | done () const |
virtual size_t | height () const |
virtual Image | image () |
virtual GrayscaleImage | raw_depth_image () |
virtual void | refresh () |
virtual void | set_enable (bool) |
virtual void | set_fps (int) |
virtual void | set_render_period (double) |
virtual void | set_simu (RobotDARTSimu * simu) |
const RobotDARTSimu * | simu () const |
virtual size_t | width () const |
virtual | ~Base () |
Protected Attributes¶
Type | Name |
---|---|
GraphicsConfiguration | _configuration |
bool | _enabled |
int | _fps |
std::unique_ptr< BaseApplication > | _magnum_app |
Corrade::Utility::Debug | _magnum_silence_output = {nullptr} |
Protected Attributes inherited from robot_dart::gui::Base¶
Type | Name |
---|---|
RobotDARTSimu * | _simu = = nullptr |
Public Functions Documentation¶
function BaseGraphics¶
inline robot_dart::gui::magnum::BaseGraphics::BaseGraphics (
const GraphicsConfiguration & configuration=GraphicsConfiguration ()
)
function add_light¶
function camera [½]¶
function camera [2/2]¶
function camera_extrinsic_matrix¶
function camera_intrinsic_matrix¶
function clear_lights¶
function depth_array¶
Implements robot_dart::gui::Base::depth_array
function depth_image¶
Implements robot_dart::gui::Base::depth_image
function done¶
Implements robot_dart::gui::Base::done
function enable_shadows¶
inline void robot_dart::gui::magnum::BaseGraphics::enable_shadows (
bool enable=true,
bool transparent=true
)
function height¶
Implements robot_dart::gui::Base::height
function image¶
Implements robot_dart::gui::Base::image
function light¶
function lights¶
function look_at¶
inline void robot_dart::gui::magnum::BaseGraphics::look_at (
const Eigen::Vector3d & camera_pos,
const Eigen::Vector3d & look_at=Eigen::Vector3d(0, 0, 0),
const Eigen::Vector3d & up=Eigen::Vector3d(0, 0, 1)
)
function magnum_app [½]¶
function magnum_app [2/2]¶
function magnum_image¶
function num_lights¶
function raw_depth_image¶
Implements robot_dart::gui::Base::raw_depth_image
function record_video¶
inline void robot_dart::gui::magnum::BaseGraphics::record_video (
const std::string & video_fname,
int fps=-1
)
function refresh¶
Implements robot_dart::gui::Base::refresh
function set_enable¶
Implements robot_dart::gui::Base::set_enable
function set_fps¶
Implements robot_dart::gui::Base::set_fps
function set_simu¶
inline virtual void robot_dart::gui::magnum::BaseGraphics::set_simu (
RobotDARTSimu * simu
) override
Implements robot_dart::gui::Base::set_simu
function shadowed¶
function transparent_shadows¶
function width¶
Implements robot_dart::gui::Base::width
function ~BaseGraphics¶
Protected Attributes Documentation¶
variable _configuration¶
variable _enabled¶
variable _fps¶
variable _magnum_app¶
variable _magnum_silence_output¶
The documentation for this class was generated from the following file robot_dart/gui/magnum/base_graphics.hpp