]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtk3DBaseView.h
v1.0.3 Feature: 1397
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / wxVtk3DBaseView.h
1 #ifndef WXVTK3DBASEVIEW_H_
2 #define WXVTK3DBASEVIEW_H_
3
4 #include "wxVtkBaseView.h"
5 #ifdef _DEBUG
6 #include <crtdbg.h>
7 #define DEBUG_NEW new(_NORMAL_BLOCK ,__FILE__, __LINE__)
8 #else
9 #define DEBUG_NEW new
10 #endif
11 //------------------------------------------------------------------
12 //------------------------------------------------------------------
13 //------------------------------------------------------------------
14
15 class creaMaracasVisu_EXPORT wxVtk3DBaseView: public wxVtkBaseView{
16 public:
17         wxVtk3DBaseView( wxWindow *parent );
18         virtual ~wxVtk3DBaseView();
19         vtkCamera*                      GetCamera();
20         virtual vtkRenderer*            GetRenderer();
21         virtual vtkRenderWindow*        GetRenWin();
22         void                            Refresh();
23         void                            Configure();
24         virtual void            GetSpacing(double spc[3]);
25         void                            SetStereo(int type);
26
27 private:
28         bool                            _configure;
29         vtkRenderer                     *_aRenderer;
30         vtkRenderWindow         *_renWin;
31         vtkCamera                       *_aCamera;
32 protected:
33 };
34
35 #endif /*WXVTK3DBASEVIEW_H_*/