// ----------------------------------------------------------------------------
bool manualContourBaseControler::OnMouseMove()
{
-
if ( _vtkInteractorStyleBaseView!=NULL)
{
int X,Y;
_wxVTKiren= _vtkInteractorStyleBaseView->GetWxVtk2DBaseView()->GetWxVTKRenderWindowInteractor();
_wxVTKiren->GetEventPosition( X , Y );
+ printf("EED manualContourBaseControler::OnMouseMove %d %d\n",X,Y);
if ( (_vtkInteractorStyleBaseView->GetInteractor()->GetControlKey()==0) &&
(_vtkInteractorStyleBaseView->GetInteractor()->GetShiftKey()==0) ) {
{
if (_state==0)
{
-
+
int z=GetZ();
/*bool temp = */ _manViewBaseCont->SelectPosibleContour(x,y,z);
double xx = x;
double yy = y;
double zz = z;
-
+
GetManualViewBaseContour()->TransfromCoordViewWorld(xx,yy,zz);
GetManualContourModel()->AddPoint(xx,yy,zz);
GetManualViewBaseContour()->AddPoint();