29 #ifndef __diguyViewCameraSettings_H
30 #define __diguyViewCameraSettings_H
35 #define CPLUSPLUS_ONLY
84 const char* get_name();
92 const char* get_type_name();
100 void set_near_plane(
float near_plane);
108 float get_near_plane();
116 void set_far_plane(
float far_plane);
124 float get_far_plane();
132 void set_fov(
float fov);
148 void set_min_fov(
float fov);
156 void set_max_fov(
float fov);
180 void set_aspect(
float aspect);
196 void set_position(
float x,
float y,
float z);
204 float get_position_x();
212 float get_position_y();
220 float get_position_z();
228 void set_orientation(
float yaw,
float roll,
float pitch);
236 void set_orientation_roll(
float r);
244 float get_orientation_yaw();
252 float get_orientation_roll();
260 float get_orientation_pitch();
268 void set_pitch_lower_limit(
float limit);
276 void set_pitch_upper_limit(
float limit);
284 float get_pitch_lower_limit();
292 float get_pitch_upper_limit();
300 int get_pitch_has_limits();
308 void set_distance(
float distance);
316 float get_distance();
324 void set_fix(
float x,
float y,
float z);
388 int set_speed(
float speed);
411 void set_track_name(
const char* track_name);
419 const char* get_track_name();
427 void set_track_link_name(
const char* track_link_name);
435 const char* get_track_link_name();
443 void set_track_offset(
float x,
float y,
float z);
451 float get_track_offset_x();
459 float get_track_offset_y();
467 float get_track_offset_z();
475 void set_track_offset_is_in_world_coordinates(
int value);
483 int get_track_offset_is_in_world_coordinates();
491 void set_dolly_name(
const char* dolly_name);
499 const char* get_dolly_name();
507 void set_dolly_link_name(
const char* dolly_link_name);
515 const char* get_dolly_link_name();
523 void set_dolly_offset(
float x,
float y,
float z);
531 float get_dolly_offset_x();
539 float get_dolly_offset_y();
547 float get_dolly_offset_z();
555 void set_dolly_offset_is_in_world_coordinates(
int value);
563 int get_dolly_offset_is_in_world_coordinates();
583 void set_speed_fov_degrees_per_wheel_click(
float fov_change);
589 float get_speed_fov_degrees_per_wheel_click();
595 void set_speed_meters_per_second(
float speed);
601 float get_speed_meters_per_second();
607 void set_require_smooth_servo(
int require);
613 int get_require_smooth_servo();
619 void set_track_camera_avoids_obstacles(
int avoid);
625 int get_track_camera_avoids_obstacles();
631 void set_ignore_mouse_drags(
int ignore);
637 int get_ignore_mouse_drags();
644 #ifdef CPLUSPLUS_ONLY
646 bdiCamera* get_scripted_object() {
return m_camera;}
660 friend class bdiCamera;