Cameraman Class Reference
[Command]

Responsible for moving or rotating the camera. More...

#include <Cameraman.hpp>

Inheritance diagram for Cameraman:
Worker

List of all members.

Public Member Functions

 Cameraman (Scene *s, Canvas *c)
void fit (int command)
void refresh (int command)
void reset (int command)
void rotate (int command, float amount)
void translate (int command, float amount)

Detailed Description

Responsible for moving or rotating the camera.


Member Function Documentation

void fit ( int  cmd  ) 

Fits items in the view.

void refresh ( int  cmd  ) 

Refreshes the display.

void reset ( int  cmd  ) 

Resets the view's rotation.

void rotate ( int  cmd,
float  amt 
)

Rotates the camera around the scene.

Parameters:
cmd Command (should be in CIRCLE family).
amt Amount to rotate the camera.
void translate ( int  cmd,
float  amt 
)

Moves the camera.

Parameters:
cmd Command (either BOOM, TRACK, or ZOOM family).
amt Amount to move the camera.

The documentation for this class was generated from the following files:
Generated on Wed Jun 9 01:36:35 2010 for Gander by  doxygen 1.6.3