From 986cd13cfa93f77d943157b0c0d4a4b79a327a01 Mon Sep 17 00:00:00 2001 From: "eduardo.davila@creatis.insa-lyon.fr" Date: Tue, 11 Feb 2025 15:37:38 +0100 Subject: [PATCH] 3261 Possible --- .../manualConnectorContourController.cxx | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/manualConnectorContourController.cxx b/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/manualConnectorContourController.cxx index fb62c6a..361c899 100644 --- a/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/manualConnectorContourController.cxx +++ b/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/manualConnectorContourController.cxx @@ -83,15 +83,15 @@ namespace bbtk int z=GetZ(); - GetManualViewBaseContour()->SelectPosiblePoint(x,y,z); - GetManualViewBaseContour()->SelectPosibleContour(x,y,z); + GetManualViewBaseContour()->SelectPossiblePoint(x,y,z); + GetManualViewBaseContour()->SelectPossibleContour(x,y,z); if (GetState()==1){ SetPoint( _bakIdPoint , x , y ,z); } if (GetState()==5){ SetPoint( _bakIdPoint , x , y ,z); } - if ( GetState()==6 && !IsEditable() && GetPosibleToMove() &&IsMoving() ) + if ( GetState()==6 && !IsEditable() && GetPossibleToMove() &&IsMoving() ) { //GetManualViewBaseContour()->MoveContour(x,y,z); } - if (GetState()!=7 || GetManualViewBaseContour()->GetPosibleSelected() ){ + if (GetState()!=7 || GetManualViewBaseContour()->GetPossibleSelected() ){ GetManualViewBaseContour()->Refresh(); this->_vtkInteractorStyleBaseView->SetRefresh_waiting(); } @@ -113,7 +113,7 @@ namespace bbtk GetManualContourModel()->SetCloseContour(false); SetEditable( false ); - SetPosibleToMove( false ); + SetPossibleToMove( false ); SetState(0); } @@ -163,7 +163,7 @@ namespace bbtk } // Insert Control Points IF Contour si Selected - if ((GetState()==0) && GetManualViewBaseContour()->GetPosibleSelected() ) + if ((GetState()==0) && GetManualViewBaseContour()->GetPossibleSelected() ) { ok=true; InsertPoint(x,y,z); @@ -188,11 +188,11 @@ namespace bbtk SetState(7); } }else{ - SetPosibleToMove( true ); - GetManualViewBaseContour()->SetSelected( GetManualViewBaseContour()->GetPosibleSelected() ); + SetPossibleToMove( true ); + GetManualViewBaseContour()->SetSelected( GetManualViewBaseContour()->GetPossibleSelected() ); } // IsEditable - if ( GetState() == 0 && GetManualViewBaseContour()->GetPosibleSelected() ) + if ( GetState() == 0 && GetManualViewBaseContour()->GetPossibleSelected() ) { SetMoving( true ); ok=true; @@ -216,7 +216,7 @@ namespace bbtk GetManualContourModel()->SetCloseContour(false); SetEditable( false ); - SetPosibleToMove( false ); + SetPossibleToMove( false ); SetState(0); } -- 2.50.0