]> Creatis software - bbtkGEditor.git/commitdiff
3261 Possible
authoreduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Tue, 11 Feb 2025 14:37:38 +0000 (15:37 +0100)
committereduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Tue, 11 Feb 2025 14:37:38 +0000 (15:37 +0100)
lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/manualConnectorContourController.cxx

index fb62c6a990630b0788e13de5543c1cb3e114e3f2..361c899ba30f2e10779cd347e289cfaa2ce6e1d9 100644 (file)
@@ -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);
        }