00001 #ifndef _wxUIElements_vuFBRSubViewer_h_
00002 #define _wxUIElements_vuFBRSubViewer_h_
00003
00004 #include "vuFBRSubCanvas.h"
00005 #include <wx/dialog.h>
00006 #include <wx/textctrl.h>
00007 #include <wx/wx.h>
00008
00010
00014 template <int SIZE, class TYPE>
00015 class vuFBRSubViewer : public vuBasicSubViewer
00016 {
00017 public:
00018 vuFBRSubViewer(wxWindow *parent);
00019 ~vuFBRSubViewer();
00020
00021 void setInteractive(vuSphericInteractive<SIZE,TYPE> *interactive);
00022
00023 protected:
00025 vuBasicSubViewerCanvas *getCanvas();
00026
00028 void addLeftRight(wxSizer *sizer, wxWindow *control);
00029
00030 protected:
00031 vuFBRSubCanvas<SIZE,TYPE> *m_Canvas;
00032
00034 wxChoice *m_CHOICEmethod;
00035
00036
00037 };
00038
00039 template class vuFBRSubViewer<1,byte>;
00040 template class vuFBRSubViewer<2,byte>;
00041 template class vuFBRSubViewer<3,byte>;
00042 template class vuFBRSubViewer<1,float>;
00043 template class vuFBRSubViewer<2,float>;
00044 template class vuFBRSubViewer<3,float>;
00045
00046 typedef vuFBRSubViewer<1,byte> vuFBRSubViewer1B;
00047 typedef vuFBRSubViewer<2,byte> vuFBRSubViewer2B;
00048 typedef vuFBRSubViewer<3,byte> vuFBRSubViewer3B;
00049 typedef vuFBRSubViewer<1,float> vuFBRSubViewer1F;
00050 typedef vuFBRSubViewer<2,float> vuFBRSubViewer2F;
00051 typedef vuFBRSubViewer<3,float> vuFBRSubViewer3F;
00052
00053 #endif