NostalgiaRoom docs
nostalgia.media.mit.edu
 All Classes Files Functions Variables Macros Groups Pages
Functions | Variables
Camera

These are used for positioning and animating the camera in the scene. More...

Functions

ofVec3f testApp::adjustoverShotCameraPosition ()
 
ofVec3f testApp::animate (int, int)
 
void testApp::startAnimation ()
 
ofVec3f testApp::startAnimationCameraPosition ()
 

Variables

ofCamera testApp::camera
 
ofVec3f testApp::cameraStartPosition
 These variables will be useful if DEBUGMODE is defined. More...
 
ofVec3f testApp::cameraEndPosition
 
int testApp::cameraindex =0
 The Cameraindex value,this make the camera go from one image/position to another. More...
 
bool testApp::animationMode
 checks whether the camera is currently transitioning to another picture or if it is stationary a.k.a animationMode More...
 
float testApp::tweenvalue
 stores intermediate tweenvalues for all animations More...
 
ofVec3f testApp::tweenedCameraPosition
 Stores the temporary camera position while tweening(interpolating camera position while moving from 1 point in the spiral to another) More...
 
int testApp::animationCounter
 Animation Counter that is operative while the animation is occuring. More...
 
bool testApp::isstartingAnimationActive
 If set,this variable will start the Animation of the spiral zooming out. More...
 
int testApp::startAnimationCounter
 During the starting animation,the StartAnimationCounter will change the tweenvalue which in turn sets the CameraPosition. More...
 

Detailed Description

These are used for positioning and animating the camera in the scene.

Function Documentation

ofVec3f testApp::adjustoverShotCameraPosition ( )

Definition at line 847 of file testApp.cpp.

ofVec3f testApp::animate ( int  pos1,
int  pos2 
)

Given 2 indices (that are positions in a conical helix,this Function will animate the camera from one position to another using ofLerp

Parameters
pos1is the position from which we will animateFrom,pos2
Returns
ofVec3f

Definition at line 531 of file testApp.cpp.

void testApp::startAnimation ( )

This function plays the starting animation which zooms out of the spiral

ofVec3f testApp::startAnimationCameraPosition ( )

If the starting animation is active,this function will return a vector that has the startingCamera's intermediate tweened position

Returns
ofVec3f

Definition at line 571 of file testApp.cpp.

Variable Documentation

int testApp::animationCounter

Animation Counter that is operative while the animation is occuring.

Definition at line 115 of file testApp.h.

bool testApp::animationMode

checks whether the camera is currently transitioning to another picture or if it is stationary a.k.a animationMode

Definition at line 106 of file testApp.h.

ofCamera testApp::camera

Definition at line 97 of file testApp.h.

ofVec3f testApp::cameraEndPosition

Definition at line 100 of file testApp.h.

int testApp::cameraindex =0

The Cameraindex value,this make the camera go from one image/position to another.

Definition at line 103 of file testApp.h.

ofVec3f testApp::cameraStartPosition

These variables will be useful if DEBUGMODE is defined.

Definition at line 100 of file testApp.h.

bool testApp::isstartingAnimationActive

If set,this variable will start the Animation of the spiral zooming out.

Definition at line 118 of file testApp.h.

int testApp::startAnimationCounter

During the starting animation,the StartAnimationCounter will change the tweenvalue which in turn sets the CameraPosition.

Definition at line 121 of file testApp.h.

ofVec3f testApp::tweenedCameraPosition

Stores the temporary camera position while tweening(interpolating camera position while moving from 1 point in the spiral to another)

Definition at line 112 of file testApp.h.

float testApp::tweenvalue

stores intermediate tweenvalues for all animations

Definition at line 109 of file testApp.h.