From: eduardo.davila@creatis.insa-lyon.fr Date: Tue, 11 Feb 2025 14:37:38 +0000 (+0100) Subject: 3261 Possible X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=986cd13cfa93f77d943157b0c0d4a4b79a327a01;p=bbtkGEditor.git 3261 Possible --- 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); }