]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0020889: EDF 1433 SMESH: SplitHexaToTetra: add the 24 tetras mode
authoreap <eap@opencascade.com>
Mon, 4 Oct 2010 11:30:00 +0000 (11:30 +0000)
committereap <eap@opencascade.com>
Mon, 4 Oct 2010 11:30:00 +0000 (11:30 +0000)
 * Add HEXA_TO_24 splitting mode

doc/salome/gui/SMESH/images/split_into_tetra.png
idl/SMESH_MeshEditor.idl
src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx
src/SMESHGUI/SMESH_msg_en.ts

index bc88b11692a44f172edceb4f8f0f8b3f1ab911ce..fce071e7df37c5914ca74ee34026bbf1fa79c973 100644 (file)
Binary files a/doc/salome/gui/SMESH/images/split_into_tetra.png and b/doc/salome/gui/SMESH/images/split_into_tetra.png differ
index 4b450267cc37771e3d09cd75e07ddf51849e5d43..387091de33b13916fdb8ff3578186138d3f0ec65 100644 (file)
@@ -247,6 +247,7 @@ module SMESH
      *  \param methodFlags - flags passing splitting method:
      *         1 - split the hexahedron into 5 tetrahedrons
      *         2 - split the hexahedron into 6 tetrahedrons
+     *         3 - split the hexahedron into 24 tetrahedrons
      */
     void SplitVolumesIntoTetra(in SMESH_IDSource elems, in short methodFlags)
       raises (SALOME::SALOME_Exception);
index 7b5477ce6ef8c8d936796e3fe61230edd79b2da5..ad420496e89f4f71ca5c98381cb2af8fa4bf9771 100755 (executable)
@@ -1489,9 +1489,9 @@ SMESHGUI_CuttingIntoTetraDlg::SMESHGUI_CuttingIntoTetraDlg(SMESHGUI* theModule)
 
   if ( hasHexa )
   {
-    myGroupChoice->button(2)->hide();
     myGroupChoice->button(0)->setText( tr("SPLIT_HEX_TO_5_TETRA"));
     myGroupChoice->button(1)->setText( tr("SPLIT_HEX_TO_6_TETRA"));
+    myGroupChoice->button(2)->setText( tr("SPLIT_HEX_TO_24_TETRA"));
 
     myCriterionGrp->setTitle( tr("SPLIT_METHOD"));
     myCriterionGrp->show();
index b883c89d779b710de4a5cb65f60b108158da1599..4a3a32e3ff95254ed5db14ed69d3f0779d54560c 100644 (file)
@@ -4855,6 +4855,10 @@ It is impossible to read point coordinates from file</translation>
         <source>SPLIT_HEX_TO_6_TETRA</source>
         <translation>Into 6 tetrahedra</translation>
     </message>
+    <message>
+        <source>SPLIT_HEX_TO_24_TETRA</source>
+        <translation>Into 24 tetrahedra</translation>
+    </message>
 </context>
 <context>
     <name>SMESHGUI_PrecisionDlg</name>