00001 #pragma once 00002 00003 #ifndef OPTHANDLER_H 00004 #define OPTHANDLER_H 00005 00006 #include "Cam.h" 00007 #include "SourceLight.h" 00008 #include "SceneRender.h" 00009 #include "TfpList.h" 00010 00011 00015 class OptHandler 00016 { 00017 public: 00018 OptHandler(); 00019 ~OptHandler(); 00020 00021 void update(Cam *_camera, SourceLight *_light, TfpList *_pointList, SceneRender *_scene); 00022 00023 void load(std::string filename); 00024 void save(std::string filename); 00025 00026 00027 private: 00029 SceneRender *scene; 00031 TfpList *pointlist; 00033 SourceLight *light; 00035 Cam *camera; 00036 00037 }; 00038 #endif OPTHANDLER_H