mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
49 lines
1.9 KiB
Diff
49 lines
1.9 KiB
Diff
--- a/src/IVtkVTK/IVtkVTK_ShapeData.cxx 2017-10-04 14:26:07.000000000 +0200
|
|
+++ b/src/IVtkVTK/IVtkVTK_ShapeData.cxx 2018-04-07 14:43:32.920435032 +0200
|
|
@@ -80,9 +80,9 @@
|
|
vtkIdType aPointIdVTK = thePointId;
|
|
myPolyData->InsertNextCell (VTK_VERTEX, 1, &aPointIdVTK);
|
|
const vtkIdType aShapeIDVTK = theShapeID;
|
|
- mySubShapeIDs->InsertNextTupleValue (&aShapeIDVTK);
|
|
+ mySubShapeIDs->InsertNextTypedTuple (&aShapeIDVTK);
|
|
const vtkIdType aType = theMeshType;
|
|
- myMeshTypes->InsertNextTupleValue (&aType);
|
|
+ myMeshTypes->InsertNextTypedTuple (&aType);
|
|
}
|
|
|
|
//================================================================
|
|
@@ -97,9 +97,9 @@
|
|
vtkIdType aPoints[2] = { thePointId1, thePointId2 };
|
|
myPolyData->InsertNextCell (VTK_LINE, 2, aPoints);
|
|
const vtkIdType aShapeIDVTK = theShapeID;
|
|
- mySubShapeIDs->InsertNextTupleValue (&aShapeIDVTK);
|
|
+ mySubShapeIDs->InsertNextTypedTuple (&aShapeIDVTK);
|
|
const vtkIdType aType = theMeshType;
|
|
- myMeshTypes->InsertNextTupleValue (&aType);
|
|
+ myMeshTypes->InsertNextTypedTuple (&aType);
|
|
}
|
|
|
|
//================================================================
|
|
@@ -124,9 +124,9 @@
|
|
|
|
myPolyData->InsertNextCell (VTK_POLY_LINE, anIdList);
|
|
const vtkIdType aShapeIDVTK = theShapeID;
|
|
- mySubShapeIDs->InsertNextTupleValue (&aShapeIDVTK);
|
|
+ mySubShapeIDs->InsertNextTypedTuple (&aShapeIDVTK);
|
|
const vtkIdType aType = theMeshType;
|
|
- myMeshTypes->InsertNextTupleValue (&aType);
|
|
+ myMeshTypes->InsertNextTypedTuple (&aType);
|
|
}
|
|
}
|
|
|
|
@@ -143,7 +143,7 @@
|
|
vtkIdType aPoints[3] = { thePointId1, thePointId2, thePointId3 };
|
|
myPolyData->InsertNextCell (VTK_TRIANGLE, 3, aPoints);
|
|
const vtkIdType aShapeIDVTK = theShapeID;
|
|
- mySubShapeIDs->InsertNextTupleValue (&aShapeIDVTK);
|
|
+ mySubShapeIDs->InsertNextTypedTuple (&aShapeIDVTK);
|
|
const vtkIdType aType = theMeshType;
|
|
- myMeshTypes->InsertNextTupleValue (&aType);
|
|
+ myMeshTypes->InsertNextTypedTuple (&aType);
|
|
}
|