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
IPAL54521: [TC-9.3.0]: Mesh information: Additinal Info tab: 'Compute' button for...
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_PreVisualObj.cxx
diff --git
a/src/SMESHGUI/SMESHGUI_PreVisualObj.cxx
b/src/SMESHGUI/SMESHGUI_PreVisualObj.cxx
index 3e05490da123b34c4cd4535924effe166d5d8277..f1aebce8df8c178ed6819c36cab3be7d763cdb90 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_PreVisualObj.cxx
+++ b/
src/SMESHGUI/SMESHGUI_PreVisualObj.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
5
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
9
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
@@
-59,7
+59,7
@@
int SMESHGUI_PreVisualObj::GetElemDimension( const int theObjId )
int SMESHGUI_PreVisualObj::GetNbEntities( const SMDSAbs_ElementType theType ) const
{
int SMESHGUI_PreVisualObj::GetNbEntities( const SMDSAbs_ElementType theType ) const
{
- myMesh->GetMeshInfo().NbElements( theType );
+
return
myMesh->GetMeshInfo().NbElements( theType );
}
SMESH::SMESH_Mesh_ptr SMESHGUI_PreVisualObj::GetMeshServer()
}
SMESH::SMESH_Mesh_ptr SMESHGUI_PreVisualObj::GetMeshServer()
@@
-98,7
+98,7
@@
bool SMESHGUI_PreVisualObj::IsValid() const
vtkUnstructuredGrid* SMESHGUI_PreVisualObj::GetUnstructuredGrid()
{
vtkUnstructuredGrid* SMESHGUI_PreVisualObj::GetUnstructuredGrid()
{
- return myMesh->
g
etGrid();
+ return myMesh->
G
etGrid();
}
}
@@
-116,13
+116,13
@@
vtkIdType SMESHGUI_PreVisualObj::GetNodeVTKId( int theObjID )
vtkIdType SMESHGUI_PreVisualObj::GetElemObjId( int theVTKID )
{
vtkIdType SMESHGUI_PreVisualObj::GetElemObjId( int theVTKID )
{
- return this->GetMesh()->
f
romVtkToSmds(theVTKID);
+ return this->GetMesh()->
F
romVtkToSmds(theVTKID);
}
vtkIdType SMESHGUI_PreVisualObj::GetElemVTKId( int theObjID )
{
const SMDS_MeshElement* e = myMesh->FindElement(theObjID);
}
vtkIdType SMESHGUI_PreVisualObj::GetElemVTKId( int theObjID )
{
const SMDS_MeshElement* e = myMesh->FindElement(theObjID);
- return e ? e->
getVtkId
() : -1;
+ return e ? e->
GetVtkID
() : -1;
}
void SMESHGUI_PreVisualObj::ClearEntitiesFlags()
}
void SMESHGUI_PreVisualObj::ClearEntitiesFlags()