00001 #pragma once 00002 00003 #include "Vis.hpp" 00004 #include "VisVolRenderer.hpp" 00005 00009 class ScreenCap 00010 { 00011 private: 00015 double progress; 00016 00020 string filename; 00021 00025 V2i size; 00026 00027 public: 00028 00034 ScreenCap(string filename, 00035 V2i size = V2i(4000,3000)) 00036 : progress(0.0), 00037 filename(filename), 00038 size(size) {}; 00039 00049 void exec(VolRenderer* renderer, V2i& screen_size, 00050 double fov, double near_plane, 00051 V3f& translation_vector, M44f& rotation_matrix); 00052 00057 double getProgress() 00058 { 00059 return progress; 00060 }; 00061 };