Class robot_dart::gui::magnum::Graphics¶
ClassList > robot_dart > gui > magnum > Graphics
Inherits the following classes: robot_dart::gui::magnum::BaseGraphics
Public Functions¶
Type | Name |
---|---|
Graphics (const GraphicsConfiguration & configuration=default_configuration()) |
|
virtual void | set_simu (RobotDARTSimu * simu) override |
~Graphics () |
Public Functions inherited from robot_dart::gui::magnum::BaseGraphics¶
See robot_dart::gui::magnum::BaseGraphics
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 () |
Public Static Functions¶
Type | Name |
---|---|
GraphicsConfiguration | default_configuration () |
Protected Attributes inherited from robot_dart::gui::magnum::BaseGraphics¶
See robot_dart::gui::magnum::BaseGraphics
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 Graphics¶
inline robot_dart::gui::magnum::Graphics::Graphics (
const GraphicsConfiguration & configuration=default_configuration()
)
function set_simu¶
Implements robot_dart::gui::magnum::BaseGraphics::set_simu
function ~Graphics¶
Public Static Functions Documentation¶
function default_configuration¶
The documentation for this class was generated from the following file robot_dart/gui/magnum/graphics.hpp