#include <camera.h>
|
| camera (char *in_name=NULL, int in_signature=-1) |
|
| ~camera () |
|
void | clear () |
|
void | reset () |
|
void | set_name (char *in_name) |
|
void | set_object_host (object *objp, int n_object_host_submodel=-1) |
|
void | set_object_target (object *objp, int n_object_target_submodel=-1) |
|
void | set_custom_position_function (void(*n_func_custom_position)(camera *cam, vec3d *pos)) |
|
void | set_custom_orientation_function (void(*n_func_custom_orientation)(camera *cam, matrix *ori)) |
|
void | set_fov (float in_fov, float in_fov_time=0.0f, float in_fov_acceleration_time=0.0f, float in_deceleration_time=0.0f) |
|
void | set_position (vec3d *in_position=NULL, float in_translation_time=0.0f, float in_translation_acceleration_time=0.0f, float in_translation_deceleration_time=0.0f, float in_end_velocity=0.0f) |
|
void | set_translation_velocity (vec3d *in_velocity, float in_acceleration_time=0.0f) |
|
void | set_rotation (matrix *in_orientation=NULL, float in_rotation_time=0.0f, float in_rotation_acceleration_time=0.0f, float in_rotation_deceleration_time=0.0f) |
|
void | set_rotation (angles *in_angles, float in_rotation_time=0.0f, float in_rotation_acceleration_time=0.0f, float in_rotation_deceleration_time=0.0f) |
|
void | set_rotation_facing (vec3d *in_target, float in_rotation_time=0.0f, float in_rotation_acceleration_time=0.0f, float in_rotation_deceleration_time=0.0f) |
|
void | set_rotation_velocity (angles *in_rotation_rate, float in_acceleration_time=0.0f) |
|
char * | get_name () |
|
int | get_signature () |
|
object * | get_object_host () |
|
int | get_object_host_submodel () |
|
object * | get_object_target () |
|
int | get_object_target_submodel () |
|
float | get_fov () |
|
void | get_info (vec3d *position, matrix *orientation) |
|
bool | is_empty () |
|
void | do_frame (float in_frametime) |
|
Definition at line 18 of file camera.h.
camera::camera |
( |
char * |
in_name = NULL , |
|
|
int |
in_signature = -1 |
|
) |
| |
float camera::get_fov |
( |
| ) |
|
char* camera::get_name |
( |
| ) |
|
|
inline |
object * camera::get_object_host |
( |
| ) |
|
int camera::get_object_host_submodel |
( |
| ) |
|
object * camera::get_object_target |
( |
| ) |
|
int camera::get_object_target_submodel |
( |
| ) |
|
int camera::get_signature |
( |
| ) |
|
|
inline |
bool camera::is_empty |
( |
| ) |
|
|
inline |
Custom function receives the already-modified current orientation value. It should be replaced or added to as the custom function modifier sees fit.
Definition at line 157 of file camera.cpp.
Custom function receives the already-modified current position value. It should be replaced or added to as the custom function modifier sees fit.
Definition at line 148 of file camera.cpp.
void camera::set_fov |
( |
float |
in_fov, |
|
|
float |
in_fov_time = 0.0f , |
|
|
float |
in_fov_acceleration_time = 0.0f , |
|
|
float |
in_deceleration_time = 0.0f |
|
) |
| |
void camera::set_name |
( |
char * |
in_name | ) |
|
void camera::set_object_host |
( |
object * |
objp, |
|
|
int |
n_object_host_submodel = -1 |
|
) |
| |
void camera::set_object_target |
( |
object * |
objp, |
|
|
int |
n_object_target_submodel = -1 |
|
) |
| |
void camera::set_position |
( |
vec3d * |
in_position = NULL , |
|
|
float |
in_translation_time = 0.0f , |
|
|
float |
in_translation_acceleration_time = 0.0f , |
|
|
float |
in_translation_deceleration_time = 0.0f , |
|
|
float |
in_end_velocity = 0.0f |
|
) |
| |
void camera::set_rotation |
( |
matrix * |
in_orientation = NULL , |
|
|
float |
in_rotation_time = 0.0f , |
|
|
float |
in_rotation_acceleration_time = 0.0f , |
|
|
float |
in_rotation_deceleration_time = 0.0f |
|
) |
| |
void camera::set_rotation |
( |
angles * |
in_angles, |
|
|
float |
in_rotation_time = 0.0f , |
|
|
float |
in_rotation_acceleration_time = 0.0f , |
|
|
float |
in_rotation_deceleration_time = 0.0f |
|
) |
| |
void camera::set_rotation_facing |
( |
vec3d * |
in_target, |
|
|
float |
in_rotation_time = 0.0f , |
|
|
float |
in_rotation_acceleration_time = 0.0f , |
|
|
float |
in_rotation_deceleration_time = 0.0f |
|
) |
| |
void camera::set_rotation_velocity |
( |
angles * |
in_rotation_rate, |
|
|
float |
in_acceleration_time = 0.0f |
|
) |
| |
void camera::set_translation_velocity |
( |
vec3d * |
in_velocity, |
|
|
float |
in_acceleration_time = 0.0f |
|
) |
| |
int camera::object_host_submodel |
|
protected |
int camera::object_target_submodel |
|
protected |
The documentation for this class was generated from the following files: