37#ifndef H_SKIN_IMGUI_CAMERA_H
38#define H_SKIN_IMGUI_CAMERA_H
41#include <OGF/skin_imgui/widgets/render_area.h>
55 struct ClippingConfig {
59 mode(GLUP_CLIP_STRADDLING_CELLS),
61 rotation{{1,0,0,0},{0,1,0,0},{0,0,1,0},{0,0,0,1}},
103 void set_auto_focus(
bool value);
172 gom_attribute(aggregate_properties,
"true")
180 clipping_config_ = value;
181 update_clipping_config();
189 return clipping_config_;
196 gom_attribute(visible,
"false")
218 const std::
string& name, const
Any& value
222 void update_clipping_config();
A smart pointer with reference-counted copy semantics.
A class that stores a variable of arbitrary type.
Implementation of Skin application using ImGui.
void set_clipping(const ClippingConfig &value)
Sets the current clipping configuration.
FullScreenEffect * get_effect_properties() const
Gets the full screen effect object.
const Color & get_bkg_color_2() const
Gets the secondary background color.
void set_effect(const FullScreenEffectName &effect)
Sets the full screen effect.
mat4 get_lighting_matrix() const
Gets the lighting matrix.
const ClippingConfig & get_clipping() const
Gets the current clipping configuration.
bool get_auto_focus() const
Tests whether autofocus is active.
~Camera() override
Camera destructor.
const FullScreenEffectName & get_effect() const
Gets the full screen effect.
Camera(Application *app)
Camera constructor.
bool set_property(const std::string &name, const Any &value) override
Sets an individual property.
const Color & get_bkg_color_1() const
Gets the background color.
void set_lighting_matrix(const mat4 &value)
Sets the lighting matrix.
void set_draw_selected_only(bool value)
Sets whether only the selected object should be drawn.
void set_bkg_color_1(const Color &value)
Sets the primary background color.
bool get_draw_selected_only() const
Tests whether only the selected object should be drawn.
void set_bkg_color_2(const Color &value)
Sets the secondary background color.
Object(bool transient=false)
Object constructor.
Manages the shaders and full screen effects for the entire SceneGraph.
Matrix< 4, Numeric::float64 > mat4
Represents a 4x4 matrix.
GenColor< Numeric::float64 > Color
Default representation of colors.
Global Graphite namespace.
Name< FullScreenEffect * > FullScreenEffectName
The name of a full screen effect.
The base class for all composite objects in the GOM system.
Definitions common to all include files in the skin_imgui library.