Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

vuSimpleFVRDialog.h

Go to the documentation of this file.
00001 #ifndef _wxUIElements_vuSimpleFVRDialog_h_
00002 #define _wxUIElements_vuSimpleFVRDialog_h_
00003 
00004 #include "vuBasicSubViewer.h"
00005 #include "vuSimpleFVRCanvas.h"
00006 #include <wx/dialog.h>
00007 #include <wx/textctrl.h>
00008 #include <wx/wx.h>
00009 
00010 #include "Volume/Regular/Unimodal/3d/1B/Intensity/SimpleFVR/vuSimpleFVR.h"
00011 
00013 
00017 class vuSimpleFVRDialog : public vuBasicSubViewer
00018 {
00019  public:
00020     vuSimpleFVRDialog(wxWindow *parent);
00021     ~vuSimpleFVRDialog();
00022 
00024     void setFourierVolume(vuFourierVolume1 *volume);
00025 
00027     void setFourierFilter(vuFourierFilter *filter);
00028 
00030     void setCamera(vuCamera *camera);
00031 
00032     bool Show(bool flag=true);
00033  
00034  protected:
00036     vuBasicSubViewerCanvas *getCanvas();
00037     void addLeftRight(wxSizer *sizer, wxWindow *control);
00038 
00040     void OnButtonLoadFile(wxCommandEvent& event);
00041 
00043     void OnButtonCloseFile(wxCommandEvent& event);
00044 
00046     void OnChoiceMethod(wxCommandEvent& event);
00047 
00049     void OnClose(wxCloseEvent &event);
00050 
00052     void OnButtonEqualSize(wxCommandEvent& event);
00053 
00055     void OnSize(wxSizeEvent& event);
00056 
00058     void OnButtonFitScaleAndBias(wxCommandEvent& event);
00059 
00061     void OnCheckboxAutoScaleAndBias(wxCommandEvent& event);
00062 
00064     void OnSliderImageScale(wxScrollEvent& event);
00065 
00066 protected:
00068     vuSimpleFVRCanvas *m_Canvas;
00069     wxChoice          *m_CHOICEmethod;
00070     wxButton          *m_BUTTONcloseFile;
00071 
00072     wxCheckBox        *m_CHECKBOXautoScaleAndBias;
00073     wxButton          *m_BUTTONfitScaleAndBias;
00074     wxSlider          *m_SLIDERimageScale;
00075     wxSlider          *m_SLIDERimageBias;
00076 
00078     vu1112119  *m_FVR;
00079 
00080     vuFourierFilter *m_FourierFilter;
00081     vuCamera        *m_Camera;
00082                 
00083     DECLARE_EVENT_TABLE()
00084 };
00085 
00086 #endif /* _wxUIElements_vuSimpleFVRDialog_h_ */

Generated on Wed Dec 15 21:20:36 2004 for vuVolume by  doxygen 1.3.9.1