X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FwxManualTree_MPRWidget.cxx;h=73e238e94eda97041ba2e32741dd5c954f8ece46;hb=307866a8f06b14018ea832926bdf3d887bfffea8;hp=d05a590073fdefc32daadc18ccb82e3d85faae2f;hpb=a51951cc5a3aad3ff13e9b009dd680b6f833960a;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxManualTree_MPRWidget.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxManualTree_MPRWidget.cxx index d05a590..73e238e 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxManualTree_MPRWidget.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxManualTree_MPRWidget.cxx @@ -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);