nuclear@36: #ifndef VIEW3D_H_ nuclear@36: #define VIEW3D_H_ nuclear@36: nuclear@36: #include "glview.h" nuclear@36: #include "volume.h" nuclear@36: nuclear@36: class View3D { nuclear@36: private: nuclear@36: Volume *vol; nuclear@36: float thres_low, thres_high; nuclear@36: GLView *glview; nuclear@36: nuclear@36: public: nuclear@36: View3D(); nuclear@36: ~View3D(); nuclear@36: nuclear@36: bool init(GLView *glview); nuclear@36: void destroy(); nuclear@36: nuclear@36: void display(); nuclear@36: void reshape(int x, int y); nuclear@36: nuclear@36: void set_volume(Volume *vol); nuclear@36: void set_thresholds(float low, float high); nuclear@36: }; nuclear@36: nuclear@36: #endif // VIEW3D_H_ nuclear@36: