00001 #ifndef _VUVOLUMEFOURIER_UNIMODAL_3d_STANDARDFVR_H_ 00002 #define _VUVOLUMEFOURIER_UNIMODAL_3d_STANDARDFVR_H_ 00003 00004 #include "../3d.h" 00005 #include "General/vuFourier/vuFourierVolume.h" 00006 00008 00009 template <int SIZE> 00010 class vu1712_1 : public vu1712<SIZE>, public vuFourierVolume<SIZE> 00011 { 00012 protected: 00013 using vu1712<SIZE>::m_Camera; 00014 using vuFourierVolume<SIZE>::m_Volume; 00015 using vu1712<SIZE>::m_FileName; 00016 using vuFourierVolume<SIZE>::m_XSize; 00017 using vuFourierVolume<SIZE>::m_YSize; 00018 using vuFourierVolume<SIZE>::m_ZSize; 00019 using vuFourierVolume<SIZE>::m_Wrap; 00020 using vu1712<SIZE>::m_Dim1Size; 00021 using vu1712<SIZE>::m_Dim2Size; 00022 using vu1712<SIZE>::m_Dim3Size; 00023 00024 public: 00025 using vu1712<SIZE>::readHeader; 00026 using vuFourierVolume<SIZE>::setWrap; 00027 using vuFourierVolume<SIZE>::wrapAndInitialize; 00028 using vu1712<SIZE>::setError; 00029 using vu1712<SIZE>::writeHeader; 00030 00031 public: 00032 vu1712_1(); 00033 ~vu1712_1(); 00034 00035 virtual bool read(void); 00036 virtual bool write(void); 00037 00038 // Empty implementation... 00039 void setViewVectors (const vuVector &lookAt, 00040 const vuVector &up, 00041 const vuVector &right); 00042 00043 void render(); 00044 00045 void glResize(dword width, dword height); 00046 00047 void setIsReRendering(bool flag); 00048 bool getIsReRendering(); 00049 }; 00050 00051 template class vu1712_1<1>; 00052 template class vu1712_1<2>; 00053 template class vu1712_1<3>; 00054 00055 typedef vu1712_1<1> vu1712A1; 00056 typedef vu1712_1<2> vu1712B1; 00057 typedef vu1712_1<3> vu1712C1; 00058 00059 typedef vu1712A1 vuVolumeFourierUnimodal3dStandardFVRA; 00060 typedef vu1712B1 vuVolumeFourierUnimodal3dStandardFVRB; 00061 typedef vu1712C1 vuVolumeFourierUnimodal3dStandardFVRC; 00062 00063 #endif