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
Porting to ParaView 5.8
[modules/smesh.git]
/
src
/
SMESH
/
SMESH_MeshEditor.cxx
diff --git
a/src/SMESH/SMESH_MeshEditor.cxx
b/src/SMESH/SMESH_MeshEditor.cxx
index b8a4dc81de4f4eedc4bb137ec2ac91c4fbf1bb6d..732ed654d89654f56bba279dab14cb5400ba33c9 100644
(file)
--- a/
src/SMESH/SMESH_MeshEditor.cxx
+++ b/
src/SMESH/SMESH_MeshEditor.cxx
@@
-11197,7
+11197,7
@@
bool SMESH_MeshEditor::DoubleNodesOnGroupBoundaries( const std::vector<TIDSorted
{
int oldId = *itn;
//MESSAGE(" node " << oldId);
{
int oldId = *itn;
//MESSAGE(" node " << oldId);
- vtkCellLinks::Link l =
grid->GetCellLinks(
)->GetLink(oldId);
+ vtkCellLinks::Link l =
(static_cast <vtkCellLinks *>(grid->GetCellLinks())
)->GetLink(oldId);
for (int i=0; i<l.ncells; i++)
{
int vtkId = l.cells[i];
for (int i=0; i<l.ncells; i++)
{
int vtkId = l.cells[i];
@@
-11376,7
+11376,7
@@
bool SMESH_MeshEditor::DoubleNodesOnGroupBoundaries( const std::vector<TIDSorted
//MESSAGE(" domain " << idom << " volume " << elem->GetID());
double values[3] = { 0,0,0 };
vtkIdType npts = 0;
//MESSAGE(" domain " << idom << " volume " << elem->GetID());
double values[3] = { 0,0,0 };
vtkIdType npts = 0;
- vtkIdType
* pts = 0
;
+ vtkIdType
const *pts(nullptr)
;
grid->GetCellPoints(vtkVolIds[ivol], npts, pts);
for ( vtkIdType i = 0; i < npts; ++i )
{
grid->GetCellPoints(vtkVolIds[ivol], npts, pts);
for ( vtkIdType i = 0; i < npts; ++i )
{
@@
-11559,7
+11559,7
@@
bool SMESH_MeshEditor::DoubleNodesOnGroupBoundaries( const std::vector<TIDSorted
{
int oldId = itnod->first;
//MESSAGE(" node " << oldId);
{
int oldId = itnod->first;
//MESSAGE(" node " << oldId);
- vtkCellLinks::Link l =
grid->GetCellLinks(
)->GetLink(oldId);
+ vtkCellLinks::Link l =
(static_cast< vtkCellLinks *>(grid->GetCellLinks())
)->GetLink(oldId);
for (int i = 0; i < l.ncells; i++)
{
int vtkId = l.cells[i];
for (int i = 0; i < l.ncells; i++)
{
int vtkId = l.cells[i];
@@
-12011,7
+12011,7
@@
void SMESH_MeshEditor::CreateHoleSkin(double radius,
//MESSAGE("volume to check, vtkId " << vtkId << " smdsId " << meshDS->FromVtkToSmds(vtkId));
bool volInside = false;
vtkIdType npts = 0;
//MESSAGE("volume to check, vtkId " << vtkId << " smdsId " << meshDS->FromVtkToSmds(vtkId));
bool volInside = false;
vtkIdType npts = 0;
- vtkIdType
* pts = 0
;
+ vtkIdType
const *pts(nullptr)
;
grid->GetCellPoints(vtkId, npts, pts);
for (int i=0; i<npts; i++)
{
grid->GetCellPoints(vtkId, npts, pts);
for (int i=0; i<npts; i++)
{