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
bos #20256: [CEA 18523] Porting SMESH to int 64 bits
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_CreatePolyhedralVolumeDlg.cxx
diff --git
a/src/SMESHGUI/SMESHGUI_CreatePolyhedralVolumeDlg.cxx
b/src/SMESHGUI/SMESHGUI_CreatePolyhedralVolumeDlg.cxx
index 146ae2d13870e90dc23dfc2746f4adef3c2fd9d6..ef6949db3e559a8d6e35eff7a977fb340819a8e7 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_CreatePolyhedralVolumeDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_CreatePolyhedralVolumeDlg.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
19
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-20
21
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
@@
-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++ ) {
@@
-720,7
+720,7
@@
void SMESHGUI_CreatePolyhedralVolumeDlg::onTextChange(const QString& theNewText)
// check entered ids of faces and highlight them
QStringList aListId;
if ( aMesh ) {
// check entered ids of faces and highlight them
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;