8 #ifndef MI_NEURAYLIB_ICAMERA_H
9 #define MI_NEURAYLIB_ICAMERA_H
19 class MI_NEURAYLIB_DEPRECATED_CLASS_METASL(IShader);
58 public base::Interface_declare<0xb23d7fee,0xffb9,0x4076,0xa0,0x3a,0x34,0xbb,0xa1,0x08,0x75,0x91,
59 neuraylib::IScene_element>
68 virtual bool get_orthographic()
const = 0;
74 virtual void set_orthographic(
bool orthographic) = 0;
77 virtual Float64 get_focal()
const = 0;
80 virtual void set_focal(
Float64 focal) = 0;
83 virtual Float64 get_aperture()
const = 0;
86 virtual void set_aperture(
Float64 aperture) = 0;
89 virtual Float64 get_clip_min()
const = 0;
92 virtual void set_clip_min(
Float64 clip_min) = 0;
95 virtual Float64 get_clip_max()
const = 0;
98 virtual void set_clip_max(
Float64 clip_max) = 0;
101 virtual Float64 get_offset_x()
const = 0;
104 virtual void set_offset_x(
Float64 offset_x) = 0;
107 virtual Float64 get_offset_y()
const = 0;
110 virtual void set_offset_y(
Float64 offset_y) = 0;
113 virtual Uint32 get_resolution_x()
const = 0;
116 virtual void set_resolution_x(
Uint32 resolution_x) = 0;
119 virtual Uint32 get_resolution_y()
const = 0;
122 virtual void set_resolution_y(
Uint32 resolution_y) = 0;
125 virtual Uint32 get_window_xl()
const = 0;
128 virtual void set_window_xl(
Uint32 window_xl) = 0;
131 virtual Uint32 get_window_yl()
const = 0;
134 virtual void set_window_yl(
Uint32 window_yl) = 0;
137 virtual Uint32 get_window_xh()
const = 0;
140 virtual void set_window_xh(
Uint32 window_xh) = 0;
143 virtual Uint32 get_window_yh()
const = 0;
146 virtual void set_window_yh(
Uint32 window_yh) = 0;
149 virtual Float64 get_frame_time()
const = 0;
152 virtual void set_frame_time(
Float64 frame_time) = 0;
155 virtual Float64 get_aspect()
const = 0;
158 virtual void set_aspect(
Float64 aspect) = 0;
178 virtual Sint32 set_backplate_function(
const char* name) = 0;
189 virtual const char* get_backplate_function()
const = 0;
195 virtual void set_backplate_background_color(
const Color_struct& color) = 0;
201 virtual Color_struct get_backplate_background_color()
const = 0;
206 virtual void set_backplate_tonemapping_enabled(
bool flag) = 0;
209 virtual bool get_backplate_tonemapping_enabled()
const = 0;
214 virtual void set_backplate_dof_enabled(
bool flag) = 0;
217 virtual bool get_backplate_dof_enabled()
const = 0;
222 virtual void set_backplate_lens_effects_enabled(
bool flag) = 0;
225 virtual bool get_backplate_lens_effects_enabled()
const = 0;
240 virtual Sint32 set_aperture_function(
const char* name) = 0;
250 virtual const char* get_aperture_function()
const = 0;
269 virtual Sint32 set_irradiance_probes(
const char* probes) = 0;
277 virtual const char* get_irradiance_probes()
const = 0;
281 virtual Sint32 MI_NEURAYLIB_DEPRECATED_METHOD_METASL(attach_shader)(
282 Shader_type type,
const char* name) = 0;
284 virtual Sint32 MI_NEURAYLIB_DEPRECATED_METHOD_METASL(detach_shader)(
285 Shader_type type) = 0;
287 virtual const MI_NEURAYLIB_DEPRECATED_CLASS_METASL(IShader)* access_shader(
288 Shader_type type)
const = 0;
290 virtual MI_NEURAYLIB_DEPRECATED_CLASS_METASL(IShader)* edit_shader(
291 Shader_type type)
const = 0;
298 #ifdef MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION
299 using neuraylib::ICamera;
300 using neuraylib::IScene_element;
301 using neuraylib::MI_NEURAYLIB_DEPRECATED_CLASS_METASL(IShader);
302 using neuraylib::Shader_type;
303 #endif // MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION
307 #endif // MI_NEURAYLIB_ICAMERA_H