int px,py;
wxVTKiren->GetEventPosition(px,py);
- int typeView = 2;
+// int typeView = 1;
double X = (double)px;
double Y = (double)py;
double Z = wxvtk2Dbaseview->GetActualSlice();
- wxvtk2Dbaseview->TransFromCoordScreenToWorld(X, Y, Z,false, typeView);
-
-// int px = _vtkInteractorStyleBaseView->GetInteractor()->GetEventPosition()[0];
-// int py = _vtkInteractorStyleBaseView->GetInteractor()->GetEventPosition()[1];
+// wxvtk2Dbaseview->TransFromCoordScreenToWorld(X, Y, Z,true, typeView);
+ wxvtk2Dbaseview->TransFromCoordScreenToWorld(X, Y, Z,true);
_manualPaintControler->PaintImage((int)X,(int)Y,(int)Z);
+ this->_vtkInteractorStyleBaseView->SetParent_refresh_waiting();
/*
wxvtk2Dbaseview->_imageViewer2XYZ->GetVtkImageViewer2()->Modified();