wxManualTree_MPRWidget::wxManualTree_MPRWidget( wxWindow* parent,
- marImageData *marimageData ,double voxelSize)
+ marImageData *marimageData )
: wxPanel( parent, -1, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL)
{
- _voxelSize = voxelSize;
- _marimageData = marimageData;
+ _marimageData = marimageData;
_wxvtk3Dbaseview_Clipping3D_C = NULL;
_wxvtkmpr3Dview_C = NULL;
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);
_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);
_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);
_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);
_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);
_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);