0020889: EDF 1433 SMESH: SplitHexaToTetra: add the 24 tetras mode

* Add HEXA_TO_24 splitting mode
This commit is contained in:
eap 2010-10-04 11:30:00 +00:00
parent 61e5c761ce
commit b9acb518d9
4 changed files with 6 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -247,6 +247,7 @@ module SMESH
* \param methodFlags - flags passing splitting method: * \param methodFlags - flags passing splitting method:
* 1 - split the hexahedron into 5 tetrahedrons * 1 - split the hexahedron into 5 tetrahedrons
* 2 - split the hexahedron into 6 tetrahedrons * 2 - split the hexahedron into 6 tetrahedrons
* 3 - split the hexahedron into 24 tetrahedrons
*/ */
void SplitVolumesIntoTetra(in SMESH_IDSource elems, in short methodFlags) void SplitVolumesIntoTetra(in SMESH_IDSource elems, in short methodFlags)
raises (SALOME::SALOME_Exception); raises (SALOME::SALOME_Exception);

View File

@ -1489,9 +1489,9 @@ SMESHGUI_CuttingIntoTetraDlg::SMESHGUI_CuttingIntoTetraDlg(SMESHGUI* theModule)
if ( hasHexa ) if ( hasHexa )
{ {
myGroupChoice->button(2)->hide();
myGroupChoice->button(0)->setText( tr("SPLIT_HEX_TO_5_TETRA")); myGroupChoice->button(0)->setText( tr("SPLIT_HEX_TO_5_TETRA"));
myGroupChoice->button(1)->setText( tr("SPLIT_HEX_TO_6_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->setTitle( tr("SPLIT_METHOD"));
myCriterionGrp->show(); myCriterionGrp->show();

View File

@ -4855,6 +4855,10 @@ It is impossible to read point coordinates from file</translation>
<source>SPLIT_HEX_TO_6_TETRA</source> <source>SPLIT_HEX_TO_6_TETRA</source>
<translation>Into 6 tetrahedra</translation> <translation>Into 6 tetrahedra</translation>
</message> </message>
<message>
<source>SPLIT_HEX_TO_24_TETRA</source>
<translation>Into 24 tetrahedra</translation>
</message>
</context> </context>
<context> <context>
<name>SMESHGUI_PrecisionDlg</name> <name>SMESHGUI_PrecisionDlg</name>