Salome HOME
old notebook functionality is temporary commented
authorasl <asl@opencascade.com>
Wed, 9 Dec 2009 13:04:01 +0000 (13:04 +0000)
committerasl <asl@opencascade.com>
Wed, 9 Dec 2009 13:04:01 +0000 (13:04 +0000)
13 files changed:
src/SMESHGUI/SMESHGUI_BuildCompoundDlg.cxx
src/SMESHGUI/SMESHGUI_ExtrusionAlongPathDlg.cxx
src/SMESHGUI/SMESHGUI_ExtrusionDlg.cxx
src/SMESHGUI/SMESHGUI_MakeNodeAtPointDlg.cxx
src/SMESHGUI/SMESHGUI_MeshPatternDlg.cxx
src/SMESHGUI/SMESHGUI_MoveNodesDlg.cxx
src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx
src/SMESHGUI/SMESHGUI_NodesDlg.cxx
src/SMESHGUI/SMESHGUI_RevolutionDlg.cxx
src/SMESHGUI/SMESHGUI_RotationDlg.cxx
src/SMESHGUI/SMESHGUI_SmoothingDlg.cxx
src/SMESHGUI/SMESHGUI_SymmetryDlg.cxx
src/SMESHGUI/SMESHGUI_TranslationDlg.cxx

index 3e819cd53ead6b3963e09ea58f062a202278b206..7a4a553684292a683a6241e4c98e7d25d1501ba6 100644 (file)
@@ -311,7 +311,7 @@ bool SMESHGUI_BuildCompoundDlg::ClickOnApply()
                                                CheckBoxMerge->isChecked(), 
                                                SpinBoxTol->GetValue());
      
-      aCompoundMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
+      //asl: aCompoundMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
 
       SMESH::SetName( SMESH::FindSObject( aCompoundMesh ), LineEditName->text() );
       mySMESHGUI->updateObjBrowser();
index cb5656231ee5278b8d93af5f186156fa4dd61853..883071d4f1fe3a4026e60158af3d009a844c6f3c 100644 (file)
@@ -621,8 +621,8 @@ bool SMESHGUI_ExtrusionAlongPathDlg::ClickOnApply()
     }
 
 
-    if( retVal == SMESH::SMESH_MeshEditor::EXTR_OK )
-      myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
+    //asl: if( retVal == SMESH::SMESH_MeshEditor::EXTR_OK )
+      //asl: myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
 
     //wc.stop();
     wc.suspend();
index 31e76131e7bbb3c5e916614c1ea4af9869bd160c..d37a1ca89d3c82b3df562762a086053010e8e215 100644 (file)
@@ -559,7 +559,7 @@ bool SMESHGUI_ExtrusionDlg::ClickOnApply()
           aMeshEditor->ExtrusionSweep(myElementsId.inout(), aVector, aNbSteps);
       }
 
-      myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
+      //asl: myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
 
     } catch (...) {
     }
index e7de2f0417579739531b3a18771a32f06764ab09..3c262d28a59e4e9e46878eb2173be7d9b2534002 100644 (file)
@@ -414,7 +414,7 @@ bool SMESHGUI_MakeNodeAtPointOp::onApply()
       aParameters << myDlg->myX->text();
       aParameters << myDlg->myY->text();
       aParameters << myDlg->myZ->text();
-      aMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
+      //asl: aMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
 
       myDlg->myId->setText("");
 
index b7c9bcca4ff923b31abe112cdc945e15e4bfd4ce..61bb79ad9a1d85632eb3f29b2b86b6f8e866bae9 100755 (executable)
@@ -475,7 +475,7 @@ bool SMESHGUI_MeshPatternDlg::onApply()
       aParameters << myNode1->text();
       if(myType == Type_3d )
         aParameters << myNode2->text();
-      myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
+      //asl: myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
 
     } else { // Applying a pattern to geometrical object
       if (myType == Type_2d)
index abeffde07030e7a58c2fe421215fd66b9e942343..1d71b4208e7f08187b41b78d1de011d0c01b7885 100644 (file)
@@ -331,7 +331,7 @@ bool SMESHGUI_MoveNodesDlg::onApply()
     aParameters << myX->text();
     aParameters << myY->text();
     aParameters << myZ->text();
-    aMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
+    //asl: aMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
   } catch (...) {
   }
 
index 4879a202627da46c023ac0d5af9819bab7a20756..f99522b8f5a9cd10eb103a35182228bb07726339 100755 (executable)
@@ -1186,7 +1186,7 @@ bool SMESHGUI_UnionOfTrianglesDlg::process (SMESH::SMESH_MeshEditor_ptr theEdito
   if( ok ) {
     QStringList aParameters;
     aParameters << myMaxAngleSpin->text();
-    myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
+    //asl: myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
   }
   return ok;
 }
index 04f5d717c173be1573712dd9f34eeab17dfc3bf8..14479191292f79f2d5739754f96f7dd71b27549f 100644 (file)
@@ -95,7 +95,7 @@ namespace SMESH
       _PTR(SObject) aSobj = SMESH::FindSObject( theMesh );
       SMESH::SMESH_MeshEditor_var aMeshEditor = theMesh->GetMeshEditor();
       aMeshEditor->AddNode( x, y, z );
-      theMesh->SetParameters( theParameters.join(":").toLatin1().constData() );
+      //asl: theMesh->SetParameters( theParameters.join(":").toLatin1().constData() );
       _PTR(Study) aStudy = GetActiveStudyDocument();
       CORBA::Long anId = aStudy->StudyId();
       if (TVisualObjPtr aVisualObj = SMESH::GetVisualObj( anId, aSobj->GetID().c_str() ) ) {
index 811ed074880b4f22afd5ae73de99da0baa73cd40..0b73a2d99e55d9cd647898c84a4e07c71a634dc5 100644 (file)
@@ -545,7 +545,7 @@ bool SMESHGUI_RevolutionDlg::ClickOnApply()
           aMeshEditor->RotationSweep(anElementsId.inout(), anAxis, anAngle, aNbSteps, aTolerance);
       }
 
-      myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
+      //asl: myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
     } catch (...) {
     }
 
index 731a84208bdae68b9f181de5d67121415380f205..0fe1d28a8286ac66387e46554b26afe4e1e59a3d 100644 (file)
@@ -415,8 +415,8 @@ bool SMESHGUI_RotationDlg::ClickOnApply()
           aMeshEditor->RotateObject(mySelectedObject, anAxis, anAngle, false);
         else
             aMeshEditor->Rotate(anElementsId, anAxis, anAngle, false);
-        if( !myMesh->_is_nil())
-          myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
+        //asl: if( !myMesh->_is_nil())
+          //asl: myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
         break;
       case COPY_ELEMS_BUTTON:
         if ( makeGroups ) {
@@ -432,8 +432,8 @@ bool SMESHGUI_RotationDlg::ClickOnApply()
           else 
             aMeshEditor->Rotate(anElementsId, anAxis, anAngle, true);
         }
-        if( !myMesh->_is_nil())
-          myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
+        //asl: if( !myMesh->_is_nil())
+          //asl: myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
         break;
       case MAKE_MESH_BUTTON:
         SMESH::SMESH_Mesh_var mesh;
@@ -443,8 +443,8 @@ bool SMESHGUI_RotationDlg::ClickOnApply()
         else 
           mesh = aMeshEditor->RotateMakeMesh(anElementsId, anAxis, anAngle, makeGroups,
                                              LineEditNewMesh->text().toLatin1().data());
-        if( !mesh->_is_nil())
-          mesh->SetParameters( aParameters.join(":").toLatin1().constData() );
+        //asl: if( !mesh->_is_nil())
+          //asl: mesh->SetParameters( aParameters.join(":").toLatin1().constData() );
       }
     } catch (...) {
     }
index b5f14b00caa0e74084fab6b9cc0fcd97a1ad4129..1f5bd1e041964188872e4aab0fc84f7ceccb7585 100644 (file)
@@ -381,7 +381,7 @@ bool SMESHGUI_SmoothingDlg::ClickOnApply()
                                         anIterationLimit, aMaxAspectRatio, aMethod);
       }
 
-      myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
+      //asl: myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
 
     } catch (...) {
     }
index 6d73d7d028febb69c1788cacd3d124592ae457c0..f611e81407efe78e9887deec4bab7ee2914a7e42 100644 (file)
@@ -500,8 +500,8 @@ bool SMESHGUI_SymmetryDlg::ClickOnApply()
         else
           aMeshEditor->Mirror(anElementsId, aMirror, aMirrorType, false );
         
-        if( !myMesh->_is_nil())
-          myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
+        //asl: if( !myMesh->_is_nil())
+          //asl: myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
         break;
       }
       case COPY_ELEMS_BUTTON: {
@@ -518,8 +518,8 @@ bool SMESHGUI_SymmetryDlg::ClickOnApply()
           else
             aMeshEditor->Mirror(anElementsId, aMirror, aMirrorType, true);
         }
-        if( !myMesh->_is_nil())
-          myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
+        //asl: if( !myMesh->_is_nil())
+          //asl: myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
         break;
         }
       case MAKE_MESH_BUTTON: {
@@ -530,8 +530,8 @@ bool SMESHGUI_SymmetryDlg::ClickOnApply()
         else
           mesh = aMeshEditor->MirrorMakeMesh(anElementsId, aMirror, aMirrorType, makeGroups,
                                              LineEditNewMesh->text().toLatin1().data());
-        if( !mesh->_is_nil())
-          mesh->SetParameters( aParameters.join(":").toLatin1().constData() );
+        //asl: if( !mesh->_is_nil())
+          //asl: mesh->SetParameters( aParameters.join(":").toLatin1().constData() );
         break;
       }
       }
index 993fab16fec28fff5408421e95ea2814527df471..74c5720df39e27bcd90b615da976d2539968665c 100644 (file)
@@ -488,8 +488,8 @@ bool SMESHGUI_TranslationDlg::ClickOnApply()
           aMeshEditor->TranslateObject(mySelectedObject, aVector, false);
         else
           aMeshEditor->Translate(anElementsId, aVector, false);
-        if( !myMesh->_is_nil())
-          myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
+        //asl: if( !myMesh->_is_nil())
+          //asl: myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
         break;
       case COPY_ELEMS_BUTTON:
         if ( makeGroups ) {
@@ -505,8 +505,8 @@ bool SMESHGUI_TranslationDlg::ClickOnApply()
           else
             aMeshEditor->Translate(anElementsId, aVector, true);
         }
-        if( !myMesh->_is_nil())
-          myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
+        //asl: if( !myMesh->_is_nil())
+          //asl: myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
         break;
       case MAKE_MESH_BUTTON:
         SMESH::SMESH_Mesh_var mesh; 
@@ -516,8 +516,8 @@ bool SMESHGUI_TranslationDlg::ClickOnApply()
         else
           mesh = aMeshEditor->TranslateMakeMesh(anElementsId, aVector, makeGroups,
                                                 LineEditNewMesh->text().toLatin1().data());
-        if( !mesh->_is_nil())
-          mesh->SetParameters( aParameters.join(":").toLatin1().constData() );
+        //asl: if( !mesh->_is_nil())
+          //asl: mesh->SetParameters( aParameters.join(":").toLatin1().constData() );
       }
     } catch (...) {
     }