]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/wxManualTree_MPRWidget.cxx
#3093 creaMaracasVisu Feature New Normal - Contour Information in pixels and image...
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / wxManualTree_MPRWidget.cxx
index d05a590073fdefc32daadc18ccb82e3d85faae2f..73e238e94eda97041ba2e32741dd5c954f8ece46 100644 (file)
@@ -62,11 +62,10 @@ END_EVENT_TABLE( );
 
 
 wxManualTree_MPRWidget::wxManualTree_MPRWidget( wxWindow* parent,
-                          marImageData *marimageData ,double voxelSize )
+                          marImageData *marimageData )
 : wxPanel( parent, -1, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL)
 {
 
-       _voxelSize                                                      = voxelSize;
        _marimageData                                           = marimageData;
 
        _wxvtk3Dbaseview_Clipping3D_C           = NULL;
@@ -76,7 +75,7 @@ wxManualTree_MPRWidget::wxManualTree_MPRWidget( wxWindow* parent,
     wxSplitterWindow   *pnlSplitter    = new wxSplitterWindow( this , -1);
        
        int ww,hh;
-       _MPRWidget2                                     = new wxMPRWidget2(pnlSplitter,_marimageData,voxelSize);
+       _MPRWidget2                                     = new wxMPRWidget2(pnlSplitter,_marimageData);
        wxPanel *       contour3DView   = Create3DViewContour( pnlSplitter , _MPRWidget2->GetVtkMPRBaseData());
        this->GetSize(&ww,&hh);
 
@@ -177,7 +176,6 @@ void wxManualTree_MPRWidget::ConfigureContour()
        _mViewContour_2->SetModel( _mContourModel_2 );
        _mViewContour_2->SetWxVtkBaseView( wxvtkbaseview );
        _mViewContour_2->SetRange( 1 );
-       _mViewContour_2->SetMesureScale( _voxelSize     );
 
 //EED 3 oct 2006
        _mViewContour_2->SetSpacing(spc);
@@ -191,7 +189,6 @@ void wxManualTree_MPRWidget::ConfigureContour()
        _mViewContour_0->SetModel( _mContourModel_2 );
        _mViewContour_0->SetWxVtkBaseView( wxvtkbaseview );
        _mViewContour_0->SetRange( 1 );
-       _mViewContour_0->SetMesureScale( _voxelSize     );
 
 //EED 3 oct 2006
        _mViewContour_0->SetSpacing(spc);
@@ -205,7 +202,6 @@ void wxManualTree_MPRWidget::ConfigureContour()
        _mViewContour_1->SetModel( _mContourModel_2 );
        _mViewContour_1->SetWxVtkBaseView( wxvtkbaseview );
        _mViewContour_1->SetRange( 1 );
-       _mViewContour_1->SetMesureScale( _voxelSize     );
 
 //EED 3 oct 2006
        _mViewContour_1->SetSpacing(spc);
@@ -220,7 +216,6 @@ void wxManualTree_MPRWidget::ConfigureContour()
        _mViewContour_p         ->      SetModel( _mContourModel_2 );
        _mViewContour_p         ->      SetWxVtkBaseView( wxvtkbaseview );
        _mViewContour_p         ->      SetRange( 1 );
-       _mViewContour_p->SetMesureScale( _voxelSize     );
 
 //EED 3 oct 2006
        _mViewContour_p->SetSpacing(spc);
@@ -238,7 +233,6 @@ void wxManualTree_MPRWidget::ConfigureContour()
        _mViewContour_3D->SetModel( _mContourModel_2 );
        _mViewContour_3D->SetWxVtkBaseView( wxvtkbaseview );
        _mViewContour_3D->SetRange( 1 );
-       _mViewContour_3D->SetMesureScale(_voxelSize     );
 
 //EED 3 oct 2006
        _mViewContour_3D->SetSpacing(spc);