- vol = _vol;
- surface1 = _surface1;
- surface2 = _surface2;
- surface3 = _surface3;
-
- propID = id;
-
- transformV = vtkTransform::New();
- //vtkMatrix4x4 *_matrixV = vtkMatrix4x4::New();
- //_matrixV->Identity();
- //transformV->SetMatrix(_matrixV);
- //transformV->SetInput(vol->getViewData(propID)->getProp3D()->GetUserTransform());
-
- transformS1 = vtkTransform::New();
- //vtkMatrix4x4 *_matrixS1 = vtkMatrix4x4::New();
- //_matrixS1->Identity();
- //transformS1->SetMatrix(_matrixS1);
- //transformS1->SetInput(surface1->getViewData(propID)->getProp3D()->GetUserTransform());
-
- transformS2 = vtkTransform::New();
- //vtkMatrix4x4 *_matrixS2 = vtkMatrix4x4::New();
- //_matrixS2->Identity();
- //transformS2->SetMatrix(_matrixS2);
- //transformS2->SetInput(surface2->getViewData(propID)->getProp3D()->GetUserTransform());
-
- transformS3 = vtkTransform::New();
- //vtkMatrix4x4 *_matrixS3 = vtkMatrix4x4::New();
- //_matrixS3->Identity();
- //transformS3->SetMatrix(_matrixS3);
- //transformS3->SetInput(surface3->getViewData(propID)->getProp3D()->GetUserTransform());
-
+ wxtrasform = new wxMaracasRenderImageTransformation(_vol, _surface1, _surface2, _surface3, id);