Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

vuCamera.h File Reference

#include <stdio.h>
#include <stream.h>
#include "vuDVector.h"
#include "vuHWTimer.h"
#include "vuSimpleTypes.h"
#include "vuVector.h"
#include "vuMisc/vuRay.h"

Include dependency graph for vuCamera.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

class  vuCamera
 The camera class controls the parameters associated with a camera. More...

Functions

int get_next_open (char *line)
 this will return the position of the next '(' in the line
int get_next_close (char *line)
 this will return the position of the next ')' in the line
vuCamerainterpolate (vuCamera *cam1, vuCamera *cam2, float t, float t0, float tf)
 This will imterpolate between cam1 and cam2 given that cam1 is at time t0, cam2 is at time tf, and the current time is t.


Function Documentation

int get_next_close char *  line  ) 
 

this will return the position of the next ')' in the line

This is provided to make parsing the camera files easier

Definition at line 348 of file vuCamera.cpp.

Referenced by vuCamera::RestoreShotBasic(), vuParallelCamera::RestoreShotOrtho(), and vuPerspectiveCamera::RestoreShotPersp().

int get_next_open char *  line  ) 
 

this will return the position of the next '(' in the line

This is provided to make parsing the camera files easier

Definition at line 337 of file vuCamera.cpp.

Referenced by vuCamera::RestoreShotBasic(), vuParallelCamera::RestoreShotOrtho(), and vuPerspectiveCamera::RestoreShotPersp().

vuCamera* interpolate vuCamera cam1,
vuCamera cam2,
float  t,
float  t0,
float  tf
 

This will imterpolate between cam1 and cam2 given that cam1 is at time t0, cam2 is at time tf, and the current time is t.

It will return a pointer to cam1, where the result will be stored.

This will work for all cameras properely derived from vuCamera

Definition at line 875 of file vuCamera.cpp.

References vuCamera::create_new(), and vuCamera::set_equal_to_interp().

Referenced by vuKeyFramerDialog::BurstPlayGI(), and vuKeyFramerDialog::PlayNextFrame().

Here is the call graph for this function:


Generated on Wed Dec 15 21:20:48 2004 for vuVolume by  doxygen 1.3.9.1