src/rcrt/loaders/CameraLoader.h

Go to the documentation of this file.
00001 #ifndef CAMERALOADER_H_
00002 #define CAMERALOADER_H_
00003 
00004 #include "XMLLoader.h"
00005 #include "../cameras/PerspectiveCamera.h"
00006 
00007 namespace rcrt
00008 {
00009 
00014 class CameraLoader : public XMLLoader
00015 {
00016 private:
00017         PerspectiveCamera camera;
00018         std::string name;
00019         bool initialised;
00020         
00021         void init();
00022         
00023 public:
00024         CameraLoader(std::string camFile);
00025         virtual ~CameraLoader();
00026         
00027         Camera* getCamera();
00028         
00029         bool goToFrame(const int& n);
00030         bool nextFrame();
00031 };
00032 
00033 }
00034 
00035 #endif /*CAMERALOADER_H_*/

Generated on Thu Jan 31 19:26:19 2008 for RenderingCompetitionRayTracer by  doxygen 1.5.3