CS123DummyCamera.h

Go to the documentation of this file.
00001 /**
00002  * This class is a very simple implementation of the CS123Camera.
00003  *
00004  * It will always return the same world to film matrix and not
00005  * respond to any of it's other methods.
00006  *
00007  * We have provided this only to help you get started with your camera.
00008  *
00009  * Once your camera is starting to work, feel free to delete this file.
00010  */
00011 
00012 #ifndef __CS123_DUMMY_CAMERA_H__
00013 #define __CS123_DUMMY_CAMERA_H__
00014 
00015 #include <CS123Camera.h>
00016 
00017 class CS123DummyCamera : public CS123Camera {
00018    public:
00019       CS123DummyCamera() {}
00020       virtual ~CS123DummyCamera() {}
00021       
00022       virtual void putWorldToFilm();
00023 
00024       virtual Point3  getPosition() const;
00025       virtual Vector4 getLook() const;
00026       virtual Vector4 getUp() const;
00027       virtual float getAspectRatio() const;
00028       virtual float getHeightAngle() const;
00029 
00030       virtual void orientLook(const Point3 &eye, const Vector4 &look, 
00031                               const Vector4 &up);
00032 
00033       virtual void setHeightAngle(float h);
00034       virtual void setAspectRatio(float a);
00035       virtual void translate(const Vector4 &v);
00036       virtual void rotateU(float degrees);
00037       virtual void rotateV(float degrees);
00038       virtual void rotateN(float degrees);
00039       virtual void setClip(float near, float far);
00040 };
00041 
00042 #endif // __CS123_DUMMY_CAMERA_H__
00043 

Generated on Sat Sep 20 04:06:11 2008 for CS123Support by  doxygen 1.5.6