00001 #ifndef _vu1112119_H_ 00002 #define _vu1112119_H_ 00003 00004 #include "../intensity.h" 00005 #include "vuFourierVolume_IO.h" 00006 00007 class vu1112119; 00008 typedef vu1112119 vuVolumeRegularUnimodal3d1B1SimpleFVR; 00009 00010 class vu1112119 : public vu111211, public vuFourierVolume_IO<1> 00011 { 00012 public: 00013 vu1112119(); 00014 ~vu1112119(); 00015 00016 byte *getData(); 00018 void updateCamera(); 00019 00020 void setCamera(vuCamera *camera); 00021 00022 void setViewVectors(const vuVector& view, 00023 const vuVector& up, 00024 const vuVector& right); 00025 00028 virtual bool read(); 00029 00030 virtual void glResize(dword height, dword width); 00032 void render(); 00033 00034 vuVector getCenter(); 00035 00036 static bool convertVUD2VUF(vuString inputFile, vuString outputFile, 00037 float mult_pad=M_SQRT2, float add_pad=0, 00038 float scale=1.0f, vuTFIntensity *tf=NULL); 00039 static bool convertVUF2VUD(vuString inputFile, vuString outputFile, 00040 float scale); 00041 00042 }; 00043 #endif