Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Copyright update 2022
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_CreatePolyhedralVolumeDlg.cxx
diff --git
a/src/SMESHGUI/SMESHGUI_CreatePolyhedralVolumeDlg.cxx
b/src/SMESHGUI/SMESHGUI_CreatePolyhedralVolumeDlg.cxx
index 38f64d2ad93ae9a334323a1e19e2e3a7ec0c6bde..d141a2fad8a202c0777b477bfcbaf8307a1d22c5 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_CreatePolyhedralVolumeDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_CreatePolyhedralVolumeDlg.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
16
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-20
22
CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-302,7
+302,7
@@
SMESHGUI_CreatePolyhedralVolumeDlg::SMESHGUI_CreatePolyhedralVolumeDlg( SMESHGUI
mySMESHGUI->SetActiveDialogBox( (QDialog*)this );
mySMESHGUI->SetActiveDialogBox( (QDialog*)this );
- myHelpFileName = "adding_nodes_and_elements
_page.html#adding_polyhedrons_
anchor";
+ myHelpFileName = "adding_nodes_and_elements
.html#adding-polyhedrons-
anchor";
Init();
}
Init();
}
@@
-480,7
+480,7
@@
void SMESHGUI_CreatePolyhedralVolumeDlg::ClickOnApply()
if (GetConstructorId() == 0)
{
if (GetConstructorId() == 0)
{
- SMESH::
long_array_var anIdsOfNodes = new SMESH::long
_array;
+ SMESH::
smIdType_array_var anIdsOfNodes = new SMESH::smIdType
_array;
SMESH::long_array_var aQuantities = new SMESH::long_array;
aQuantities->length( myFacesByNodes->count() );
SMESH::long_array_var aQuantities = new SMESH::long_array;
aQuantities->length( myFacesByNodes->count() );
@@
-518,7
+518,7
@@
void SMESHGUI_CreatePolyhedralVolumeDlg::ClickOnApply()
}
else if (GetConstructorId() == 1)
{
}
else if (GetConstructorId() == 1)
{
- SMESH::
long_array_var anIdsOfFaces = new SMESH::long
_array;
+ SMESH::
smIdType_array_var anIdsOfFaces = new SMESH::smIdType
_array;
QStringList aListId = myEditCurrentArgument->text().split( " ", QString::SkipEmptyParts );
anIdsOfFaces->length(aListId.count());
QStringList aListId = myEditCurrentArgument->text().split( " ", QString::SkipEmptyParts );
anIdsOfFaces->length(aListId.count());
@@
-562,7
+562,7
@@
void SMESHGUI_CreatePolyhedralVolumeDlg::ClickOnApply()
}
if ( !aGroupUsed->_is_nil() ) {
}
if ( !aGroupUsed->_is_nil() ) {
- SMESH::
long_array_var anIdList = new SMESH::long
_array;
+ SMESH::
smIdType_array_var anIdList = new SMESH::smIdType
_array;
anIdList->length( 1 );
anIdList[0] = anElemId;
aGroupUsed->Add( anIdList.inout() );
anIdList->length( 1 );
anIdList[0] = anElemId;
aGroupUsed->Add( anIdList.inout() );
@@
-688,7
+688,7
@@
void SMESHGUI_CreatePolyhedralVolumeDlg::onTextChange(const QString& theNewText)
if (GetConstructorId() == 0)
{
if ( aMesh ) {
if (GetConstructorId() == 0)
{
if ( aMesh ) {
-
TColStd_MapOfInteger
newIndices;
+
SVTK_TVtkIDsMap
newIndices;
QStringList aListId = theNewText.split( " ", QString::SkipEmptyParts );
for ( int i = 0; i < aListId.count(); i++ ) {
QStringList aListId = theNewText.split( " ", QString::SkipEmptyParts );
for ( int i = 0; i < aListId.count(); i++ ) {
@@
-717,10
+717,10
@@
void SMESHGUI_CreatePolyhedralVolumeDlg::onTextChange(const QString& theNewText)
buttonOk->setEnabled( false );
buttonApply->setEnabled( false );
buttonOk->setEnabled( false );
buttonApply->setEnabled( false );
- // check entered ids of faces and hilight them
+ // check entered ids of faces and hi
gh
light them
QStringList aListId;
if ( aMesh ) {
QStringList aListId;
if ( aMesh ) {
-
TColStd_MapOfInteger
newIndices;
+
SVTK_TVtkIDsMap
newIndices;
aListId = theNewText.split( " ", QString::SkipEmptyParts );
aListId = theNewText.split( " ", QString::SkipEmptyParts );
@@
-1147,7
+1147,7
@@
void SMESHGUI_CreatePolyhedralVolumeDlg::onListSelectionChanged()
SALOME_ListIO aList;
mySelectionMgr->setSelectedObjects( aList );
SALOME_ListIO aList;
mySelectionMgr->setSelectedObjects( aList );
-
TColStd_MapOfInteger
aIndexes;
+
SVTK_TVtkIDsMap
aIndexes;
QList<QListWidgetItem*> selItems = myFacesByNodes->selectedItems();
QListWidgetItem* anItem;
QList<QListWidgetItem*> selItems = myFacesByNodes->selectedItems();
QListWidgetItem* anItem;