Class robot_dart::gui::magnum::Camera¶
ClassList > robot_dart > gui > magnum > gs > Camera
Inherits the following classes: Object3D
Public Functions¶
Type | Name |
---|---|
Camera (Object3D & object, Magnum::Int width, Magnum::Int height) |
|
Camera3D & | camera () const |
Object3D & | camera_object () const |
Corrade::Containers::Optional< Magnum::Image2D > & | depth_image () |
void | draw (Magnum::SceneGraph::DrawableGroup3D & drawables, Magnum::GL::AbstractFramebuffer & framebuffer, Magnum::PixelFormat format, RobotDARTSimu * simu, const DebugDrawData & debug_data, bool draw_debug=true) |
Magnum::Matrix4 | extrinsic_matrix () const |
Magnum::Float | far_plane () const |
Camera & | forward (Magnum::Float speed) |
Magnum::Float | fov () const |
Magnum::Int | height () const |
Corrade::Containers::Optional< Magnum::Image2D > & | image () |
Magnum::Matrix3 | intrinsic_matrix () const |
Camera & | look_at (const Magnum::Vector3 & camera, const Magnum::Vector3 & center, const Magnum::Vector3 & up=Magnum::Vector3::zAxis()) |
Camera & | move (const Magnum::Vector2i & shift) |
Magnum::Float | near_plane () const |
void | record (bool recording, bool recording_depth=false) |
void | record_video (const std::string & video_fname, int fps) |
bool | recording () |
bool | recording_depth () |
Object3D & | root_object () |
Camera & | set_camera_params (Magnum::Float near_plane, Magnum::Float far_plane, Magnum::Float fov, Magnum::Int width, Magnum::Int height) |
Camera & | set_far_plane (Magnum::Float far_plane) |
Camera & | set_fov (Magnum::Float fov) |
Camera & | set_near_plane (Magnum::Float near_plane) |
Camera & | set_speed (const Magnum::Vector2 & speed) |
Camera & | set_viewport (const Magnum::Vector2i & size) |
Magnum::Vector2 | speed () const |
Camera & | strafe (Magnum::Float speed) |
void | transform_lights (std::vector< gs::Light > & lights) const |
Magnum::Int | width () const |
~Camera () |
Public Functions Documentation¶
function Camera¶
explicit robot_dart::gui::magnum::gs::Camera::Camera (
Object3D & object,
Magnum::Int width,
Magnum::Int height
)
function camera¶
function camera_object¶
function depth_image¶
inline Corrade::Containers::Optional< Magnum::Image2D > & robot_dart::gui::magnum::gs::Camera::depth_image ()
function draw¶
void robot_dart::gui::magnum::gs::Camera::draw (
Magnum::SceneGraph::DrawableGroup3D & drawables,
Magnum::GL::AbstractFramebuffer & framebuffer,
Magnum::PixelFormat format,
RobotDARTSimu * simu,
const DebugDrawData & debug_data,
bool draw_debug=true
)
function extrinsic_matrix¶
function far_plane¶
function forward¶
function fov¶
function height¶
function image¶
inline Corrade::Containers::Optional< Magnum::Image2D > & robot_dart::gui::magnum::gs::Camera::image ()
function intrinsic_matrix¶
function look_at¶
Camera & robot_dart::gui::magnum::gs::Camera::look_at (
const Magnum::Vector3 & camera,
const Magnum::Vector3 & center,
const Magnum::Vector3 & up=Magnum::Vector3::zAxis()
)
function move¶
function near_plane¶
function record¶
inline void robot_dart::gui::magnum::gs::Camera::record (
bool recording,
bool recording_depth=false
)
function record_video¶
function recording¶
function recording_depth¶
function root_object¶
function set_camera_params¶
Camera & robot_dart::gui::magnum::gs::Camera::set_camera_params (
Magnum::Float near_plane,
Magnum::Float far_plane,
Magnum::Float fov,
Magnum::Int width,
Magnum::Int height
)
function set_far_plane¶
function set_fov¶
function set_near_plane¶
function set_speed¶
function set_viewport¶
function speed¶
function strafe¶
function transform_lights¶
void robot_dart::gui::magnum::gs::Camera::transform_lights (
std::vector< gs::Light > & lights
) const
function width¶
function ~Camera¶
The documentation for this class was generated from the following file robot_dart/gui/magnum/gs/camera.hpp