]> Creatis software - creaContours.git/blob - lib/Interface_ManagerContour_NDimensions/wxThresholdPanel.cxx
*** empty log message ***
[creaContours.git] / lib / Interface_ManagerContour_NDimensions / wxThresholdPanel.cxx
1 //----------------------------------------------------------------------------------------------------------------
2 // Class definition include
3 //----------------------------------------------------------------------------------------------------------------
4 #include "wxThresholdPanel.h"
5
6
7 //----------------------------------------------------------------------------------------------------------------
8 // Other includes
9 //----------------------------------------------------------------------------------------------------------------
10         
11         //------------------------------------------------------------------------------------------------------------
12         // Constructors & Destructors
13         //------------------------------------------------------------------------------------------------------------
14
15         wxThresholdPanel :: wxThresholdPanel ( vtkImageViewer2 * theViewer, wxWindow *parent, const wxPoint& pos, const wxSize& size,long style, int vertStart, int vertEnd, int horzStart, int horzEnd )       
16         :wxPanel(parent, -1, pos, size, style)          
17         {               
18                 //wxBoxSizer *topsizer = new wxBoxSizer(wxVERTICAL);
19                 
20                 vtkRenderWindowInteractor *iren = vtkRenderWindowInteractor::New();
21                 theViewer->SetupInteractor(iren);
22
23                 //crea::creawxVTKRenderWindowInteractor  * mInteractor = new crea::creawxVTKRenderWindowInteractor(this,-1);
24                 //mInteractor->UseCaptureMouseOn();
25                 //theViewer->SetupInteractor ( mInteractor );
26                   
27                 //theViewer->Render();
28                 //theViewer->GetRenderer()->ResetCamera();
29
30                 //topsizer-> Add( iren ,1,wxGROW  ,0);
31                 SetAutoLayout( true );
32                 //SetSizer( topsizer );     
33                 Layout(); 
34         }
35         
36
37         wxThresholdPanel :: ~wxThresholdPanel()
38         {
39                 
40         }