Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
VTK
VTK
Commits
0cc86887
Commit
0cc86887
authored
Sep 09, 2016
by
Robert Maynard
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct inconsistent-missing-override warnings in DataModel.
parent
7fe30aa1
Pipeline
#26519
passed with stage
Changes
125
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
125 changed files
with
1279 additions
and
1266 deletions
+1279
-1266
Common/DataModel/vtkAMRUtilities.h
Common/DataModel/vtkAMRUtilities.h
+1
-1
Common/DataModel/vtkAbstractElectronicData.h
Common/DataModel/vtkAbstractElectronicData.h
+1
-1
Common/DataModel/vtkAbstractPointLocator.h
Common/DataModel/vtkAbstractPointLocator.h
+0
-7
Common/DataModel/vtkAnimationScene.h
Common/DataModel/vtkAnimationScene.h
+4
-5
Common/DataModel/vtkAnnotation.h
Common/DataModel/vtkAnnotation.h
+4
-4
Common/DataModel/vtkAnnotationLayers.h
Common/DataModel/vtkAnnotationLayers.h
+4
-4
Common/DataModel/vtkArrayData.h
Common/DataModel/vtkArrayData.h
+4
-4
Common/DataModel/vtkAttributesErrorMetric.h
Common/DataModel/vtkAttributesErrorMetric.h
+2
-2
Common/DataModel/vtkBSPCuts.h
Common/DataModel/vtkBSPCuts.h
+3
-3
Common/DataModel/vtkBiQuadraticQuad.h
Common/DataModel/vtkBiQuadraticQuad.h
+21
-20
Common/DataModel/vtkBiQuadraticQuadraticHexahedron.h
Common/DataModel/vtkBiQuadraticQuadraticHexahedron.h
+18
-18
Common/DataModel/vtkBiQuadraticQuadraticWedge.h
Common/DataModel/vtkBiQuadraticQuadraticWedge.h
+21
-20
Common/DataModel/vtkBiQuadraticTriangle.h
Common/DataModel/vtkBiQuadraticTriangle.h
+20
-20
Common/DataModel/vtkBox.h
Common/DataModel/vtkBox.h
+2
-2
Common/DataModel/vtkCell3D.h
Common/DataModel/vtkCell3D.h
+9
-8
Common/DataModel/vtkCellLinks.h
Common/DataModel/vtkCellLinks.h
+1
-1
Common/DataModel/vtkCellLocator.h
Common/DataModel/vtkCellLocator.h
+16
-16
Common/DataModel/vtkCompositeDataSet.h
Common/DataModel/vtkCompositeDataSet.h
+5
-5
Common/DataModel/vtkCone.h
Common/DataModel/vtkCone.h
+2
-2
Common/DataModel/vtkConvexPointSet.h
Common/DataModel/vtkConvexPointSet.h
+32
-32
Common/DataModel/vtkCubicLine.h
Common/DataModel/vtkCubicLine.h
+19
-19
Common/DataModel/vtkCylinder.h
Common/DataModel/vtkCylinder.h
+2
-2
Common/DataModel/vtkDataObjectTree.h
Common/DataModel/vtkDataObjectTree.h
+10
-9
Common/DataModel/vtkDataObjectTreeIterator.h
Common/DataModel/vtkDataObjectTreeIterator.h
+7
-7
Common/DataModel/vtkDataSet.h
Common/DataModel/vtkDataSet.h
+7
-8
Common/DataModel/vtkDataSetAttributes.h
Common/DataModel/vtkDataSetAttributes.h
+8
-8
Common/DataModel/vtkDataSetCellIterator.h
Common/DataModel/vtkDataSetCellIterator.h
+7
-7
Common/DataModel/vtkDirectedAcyclicGraph.h
Common/DataModel/vtkDirectedAcyclicGraph.h
+2
-2
Common/DataModel/vtkDirectedGraph.h
Common/DataModel/vtkDirectedGraph.h
+2
-2
Common/DataModel/vtkEmptyCell.h
Common/DataModel/vtkEmptyCell.h
+14
-14
Common/DataModel/vtkGenericAttributeCollection.h
Common/DataModel/vtkGenericAttributeCollection.h
+1
-1
Common/DataModel/vtkGenericCell.h
Common/DataModel/vtkGenericCell.h
+29
-27
Common/DataModel/vtkGenericDataSet.h
Common/DataModel/vtkGenericDataSet.h
+4
-4
Common/DataModel/vtkGenericInterpolatedVelocityField.h
Common/DataModel/vtkGenericInterpolatedVelocityField.h
+1
-1
Common/DataModel/vtkGeometricErrorMetric.h
Common/DataModel/vtkGeometricErrorMetric.h
+2
-2
Common/DataModel/vtkGraph.h
Common/DataModel/vtkGraph.h
+6
-6
Common/DataModel/vtkHexagonalPrism.h
Common/DataModel/vtkHexagonalPrism.h
+18
-18
Common/DataModel/vtkHexahedron.h
Common/DataModel/vtkHexahedron.h
+17
-17
Common/DataModel/vtkHierarchicalBoxDataIterator.h
Common/DataModel/vtkHierarchicalBoxDataIterator.h
+1
-1
Common/DataModel/vtkHierarchicalBoxDataSet.h
Common/DataModel/vtkHierarchicalBoxDataSet.h
+3
-3
Common/DataModel/vtkHyperOctree.h
Common/DataModel/vtkHyperOctree.h
+27
-27
Common/DataModel/vtkHyperTreeGrid.h
Common/DataModel/vtkHyperTreeGrid.h
+29
-29
Common/DataModel/vtkImageData.h
Common/DataModel/vtkImageData.h
+30
-30
Common/DataModel/vtkImplicitBoolean.h
Common/DataModel/vtkImplicitBoolean.h
+2
-2
Common/DataModel/vtkImplicitDataSet.h
Common/DataModel/vtkImplicitDataSet.h
+2
-2
Common/DataModel/vtkImplicitHalo.h
Common/DataModel/vtkImplicitHalo.h
+2
-2
Common/DataModel/vtkImplicitSelectionLoop.h
Common/DataModel/vtkImplicitSelectionLoop.h
+2
-2
Common/DataModel/vtkImplicitSum.h
Common/DataModel/vtkImplicitSum.h
+2
-2
Common/DataModel/vtkImplicitVolume.h
Common/DataModel/vtkImplicitVolume.h
+2
-2
Common/DataModel/vtkImplicitWindowFunction.h
Common/DataModel/vtkImplicitWindowFunction.h
+2
-2
Common/DataModel/vtkIncrementalOctreeNode.h
Common/DataModel/vtkIncrementalOctreeNode.h
+1
-1
Common/DataModel/vtkIncrementalOctreePointLocator.h
Common/DataModel/vtkIncrementalOctreePointLocator.h
+24
-23
Common/DataModel/vtkIncrementalPointLocator.h
Common/DataModel/vtkIncrementalPointLocator.h
+1
-5
Common/DataModel/vtkIterativeClosestPointTransform.h
Common/DataModel/vtkIterativeClosestPointTransform.h
+4
-4
Common/DataModel/vtkKdTree.h
Common/DataModel/vtkKdTree.h
+5
-5
Common/DataModel/vtkKdTreePointLocator.h
Common/DataModel/vtkKdTreePointLocator.h
+10
-10
Common/DataModel/vtkLine.h
Common/DataModel/vtkLine.h
+18
-18
Common/DataModel/vtkMergePoints.h
Common/DataModel/vtkMergePoints.h
+3
-3
Common/DataModel/vtkMolecule.h
Common/DataModel/vtkMolecule.h
+7
-7
Common/DataModel/vtkMultiBlockDataSet.h
Common/DataModel/vtkMultiBlockDataSet.h
+3
-3
Common/DataModel/vtkMultiPieceDataSet.h
Common/DataModel/vtkMultiPieceDataSet.h
+3
-3
Common/DataModel/vtkNonLinearCell.h
Common/DataModel/vtkNonLinearCell.h
+1
-1
Common/DataModel/vtkNonMergingPointLocator.h
Common/DataModel/vtkNonMergingPointLocator.h
+6
-4
Common/DataModel/vtkNonOverlappingAMR.h
Common/DataModel/vtkNonOverlappingAMR.h
+1
-1
Common/DataModel/vtkOctreePointLocator.h
Common/DataModel/vtkOctreePointLocator.h
+12
-11
Common/DataModel/vtkOverlappingAMR.h
Common/DataModel/vtkOverlappingAMR.h
+6
-4
Common/DataModel/vtkPath.h
Common/DataModel/vtkPath.h
+8
-8
Common/DataModel/vtkPentagonalPrism.h
Common/DataModel/vtkPentagonalPrism.h
+18
-18
Common/DataModel/vtkPerlinNoise.h
Common/DataModel/vtkPerlinNoise.h
+2
-2
Common/DataModel/vtkPiecewiseFunction.h
Common/DataModel/vtkPiecewiseFunction.h
+4
-4
Common/DataModel/vtkPixel.h
Common/DataModel/vtkPixel.h
+18
-18
Common/DataModel/vtkPlane.h
Common/DataModel/vtkPlane.h
+2
-2
Common/DataModel/vtkPlanes.h
Common/DataModel/vtkPlanes.h
+2
-2
Common/DataModel/vtkPointLocator.h
Common/DataModel/vtkPointLocator.h
+23
-20
Common/DataModel/vtkPointSet.h
Common/DataModel/vtkPointSet.h
+18
-16
Common/DataModel/vtkPointSetCellIterator.h
Common/DataModel/vtkPointSetCellIterator.h
+7
-7
Common/DataModel/vtkPointsProjectedHull.h
Common/DataModel/vtkPointsProjectedHull.h
+2
-2
Common/DataModel/vtkPolyData.h
Common/DataModel/vtkPolyData.h
+17
-17
Common/DataModel/vtkPolyLine.h
Common/DataModel/vtkPolyLine.h
+16
-16
Common/DataModel/vtkPolyPlane.h
Common/DataModel/vtkPolyPlane.h
+3
-3
Common/DataModel/vtkPolyVertex.h
Common/DataModel/vtkPolyVertex.h
+16
-16
Common/DataModel/vtkPolygon.h
Common/DataModel/vtkPolygon.h
+16
-16
Common/DataModel/vtkPolyhedron.h
Common/DataModel/vtkPolyhedron.h
+38
-38
Common/DataModel/vtkPyramid.h
Common/DataModel/vtkPyramid.h
+19
-19
Common/DataModel/vtkQuad.h
Common/DataModel/vtkQuad.h
+18
-18
Common/DataModel/vtkQuadraticEdge.h
Common/DataModel/vtkQuadraticEdge.h
+19
-19
Common/DataModel/vtkQuadraticHexahedron.h
Common/DataModel/vtkQuadraticHexahedron.h
+18
-18
Common/DataModel/vtkQuadraticLinearQuad.h
Common/DataModel/vtkQuadraticLinearQuad.h
+20
-20
Common/DataModel/vtkQuadraticLinearWedge.h
Common/DataModel/vtkQuadraticLinearWedge.h
+22
-19
Common/DataModel/vtkQuadraticPolygon.h
Common/DataModel/vtkQuadraticPolygon.h
+16
-16
Common/DataModel/vtkQuadraticPyramid.h
Common/DataModel/vtkQuadraticPyramid.h
+19
-19
Common/DataModel/vtkQuadraticQuad.h
Common/DataModel/vtkQuadraticQuad.h
+19
-19
Common/DataModel/vtkQuadraticTetra.h
Common/DataModel/vtkQuadraticTetra.h
+20
-20
Common/DataModel/vtkQuadraticTriangle.h
Common/DataModel/vtkQuadraticTriangle.h
+20
-20
Common/DataModel/vtkQuadraticWedge.h
Common/DataModel/vtkQuadraticWedge.h
+19
-19
Common/DataModel/vtkQuadric.h
Common/DataModel/vtkQuadric.h
+2
-2
Common/DataModel/vtkRectilinearGrid.h
Common/DataModel/vtkRectilinearGrid.h
+25
-25
Common/DataModel/vtkReebGraph.h
Common/DataModel/vtkReebGraph.h
+2
-2
Common/DataModel/vtkSelection.h
Common/DataModel/vtkSelection.h
+4
-4
Common/DataModel/vtkSimpleCellTessellator.h
Common/DataModel/vtkSimpleCellTessellator.h
+4
-4
Common/DataModel/vtkSmoothErrorMetric.h
Common/DataModel/vtkSmoothErrorMetric.h
+2
-2
Common/DataModel/vtkSphere.h
Common/DataModel/vtkSphere.h
+2
-2
Common/DataModel/vtkStaticCellLinks.h
Common/DataModel/vtkStaticCellLinks.h
+1
-1
Common/DataModel/vtkStaticPointLocator.h
Common/DataModel/vtkStaticPointLocator.h
+10
-10
Common/DataModel/vtkStructuredGrid.h
Common/DataModel/vtkStructuredGrid.h
+25
-23
Common/DataModel/vtkStructuredPoints.h
Common/DataModel/vtkStructuredPoints.h
+1
-1
Common/DataModel/vtkSuperquadric.h
Common/DataModel/vtkSuperquadric.h
+2
-2
Common/DataModel/vtkTable.h
Common/DataModel/vtkTable.h
+8
-8
Common/DataModel/vtkTetra.h
Common/DataModel/vtkTetra.h
+20
-20
Common/DataModel/vtkTree.h
Common/DataModel/vtkTree.h
+2
-2
Common/DataModel/vtkTreeBFSIterator.h
Common/DataModel/vtkTreeBFSIterator.h
+2
-2
Common/DataModel/vtkTreeDFSIterator.h
Common/DataModel/vtkTreeDFSIterator.h
+2
-2
Common/DataModel/vtkTriQuadraticHexahedron.h
Common/DataModel/vtkTriQuadraticHexahedron.h
+22
-19
Common/DataModel/vtkTriangle.h
Common/DataModel/vtkTriangle.h
+19
-19
Common/DataModel/vtkTriangleStrip.h
Common/DataModel/vtkTriangleStrip.h
+16
-16
Common/DataModel/vtkUndirectedGraph.h
Common/DataModel/vtkUndirectedGraph.h
+8
-7
Common/DataModel/vtkUniformGrid.h
Common/DataModel/vtkUniformGrid.h
+18
-18
Common/DataModel/vtkUniformGridAMR.h
Common/DataModel/vtkUniformGridAMR.h
+9
-9
Common/DataModel/vtkUniformGridAMRDataIterator.h
Common/DataModel/vtkUniformGridAMRDataIterator.h
+7
-7
Common/DataModel/vtkUnstructuredGrid.h
Common/DataModel/vtkUnstructuredGrid.h
+26
-26
Common/DataModel/vtkUnstructuredGridBase.h
Common/DataModel/vtkUnstructuredGridBase.h
+3
-3
Common/DataModel/vtkUnstructuredGridCellIterator.h
Common/DataModel/vtkUnstructuredGridCellIterator.h
+8
-8
Common/DataModel/vtkVertex.h
Common/DataModel/vtkVertex.h
+18
-18
Common/DataModel/vtkVoxel.h
Common/DataModel/vtkVoxel.h
+18
-18
Common/DataModel/vtkWedge.h
Common/DataModel/vtkWedge.h
+19
-19
No files found.
Common/DataModel/vtkAMRUtilities.h
View file @
0cc86887
...
...
@@ -38,7 +38,7 @@ class VTKCOMMONDATAMODEL_EXPORT vtkAMRUtilities : public vtkObject
public:
// Standard Routines
vtkTypeMacro
(
vtkAMRUtilities
,
vtkObject
);
void
PrintSelf
(
ostream
&
os
,
vtkIndent
indent
);
void
PrintSelf
(
ostream
&
os
,
vtkIndent
indent
)
VTK_OVERRIDE
;
// Description:
// This method detects and strips partially overlapping cells from a
...
...
Common/DataModel/vtkAbstractElectronicData.h
View file @
0cc86887
...
...
@@ -87,7 +87,7 @@ public:
// Description:
// Deep copies the data object into this.
virtual
void
DeepCopy
(
vtkDataObject
*
obj
);
void
DeepCopy
(
vtkDataObject
*
obj
)
VTK_OVERRIDE
;
// Description:
// Get the padding between the molecule and the cube boundaries. This is
...
...
Common/DataModel/vtkAbstractPointLocator.h
View file @
0cc86887
...
...
@@ -87,13 +87,6 @@ public:
// after the locator is constructed.
vtkGetMacro
(
NumberOfBuckets
,
vtkIdType
);
// Description:
// See vtkLocator interface documentation.
// These methods are not thread safe.
virtual
void
FreeSearchStructure
()
=
0
;
virtual
void
BuildLocator
()
=
0
;
virtual
void
GenerateRepresentation
(
int
level
,
vtkPolyData
*
pd
)
=
0
;
protected:
vtkAbstractPointLocator
();
virtual
~
vtkAbstractPointLocator
();
...
...
Common/DataModel/vtkAnimationScene.h
View file @
0cc86887
...
...
@@ -85,12 +85,11 @@ public:
// Description:
// Makes the state of the scene same as the given time.
void
SetAnimationTime
(
double
time
);
vtkGetMacro
(
AnimationTime
,
double
);
// Description:
// Overridden to allow change to Normalized mode only
// if none of the constituent cues is in Relative time mode.
virtual
void
SetTimeMode
(
int
mode
);
void
SetTimeMode
(
int
mode
)
VTK_OVERRIDE
;
// Description:
// Returns if the animation is being played.
...
...
@@ -109,9 +108,9 @@ protected:
// Description:
// Called on every valid tick.
// Calls ticks on all the contained cues.
virtual
void
TickInternal
(
double
currenttime
,
double
deltatime
,
double
clocktime
);
virtual
void
StartCueInternal
();
virtual
void
EndCueInternal
();
void
TickInternal
(
double
currenttime
,
double
deltatime
,
double
clocktime
)
VTK_OVERRIDE
;
void
StartCueInternal
()
VTK_OVERRIDE
;
void
EndCueInternal
()
VTK_OVERRIDE
;
void
InitializeChildren
();
void
FinalizeChildren
();
...
...
Common/DataModel/vtkAnnotation.h
View file @
0cc86887
...
...
@@ -92,21 +92,21 @@ public:
// Description:
// Initialize the annotation to an empty state.
virtual
void
Initialize
();
void
Initialize
()
VTK_OVERRIDE
;
// Description:
// Make this annotation have the same properties and have
// the same selection of another annotation.
virtual
void
ShallowCopy
(
vtkDataObject
*
other
);
void
ShallowCopy
(
vtkDataObject
*
other
)
VTK_OVERRIDE
;
// Description:
// Make this annotation have the same properties and have
// a copy of the selection of another annotation.
virtual
void
DeepCopy
(
vtkDataObject
*
other
);
void
DeepCopy
(
vtkDataObject
*
other
)
VTK_OVERRIDE
;
// Description:
// Get the modified time of this object.
virtual
vtkMTimeType
GetMTime
()
VTK_OVERRIDE
;
vtkMTimeType
GetMTime
()
VTK_OVERRIDE
;
protected:
vtkAnnotation
();
...
...
Common/DataModel/vtkAnnotationLayers.h
View file @
0cc86887
...
...
@@ -72,17 +72,17 @@ public:
// Description:
// Initialize the data structure to an empty state.
virtual
void
Initialize
();
void
Initialize
()
VTK_OVERRIDE
;
// Description:
// Copy data from another data object into this one
// which references the same member annotations.
virtual
void
ShallowCopy
(
vtkDataObject
*
other
);
void
ShallowCopy
(
vtkDataObject
*
other
)
VTK_OVERRIDE
;
// Description:
// Copy data from another data object into this one,
// performing a deep copy of member annotations.
virtual
void
DeepCopy
(
vtkDataObject
*
other
);
void
DeepCopy
(
vtkDataObject
*
other
)
VTK_OVERRIDE
;
// Description:
// Retrieve a vtkAnnotationLayers stored inside an information object.
...
...
@@ -91,7 +91,7 @@ public:
// Description:
// The modified time for this object.
virtual
vtkMTimeType
GetMTime
()
VTK_OVERRIDE
;
vtkMTimeType
GetMTime
()
VTK_OVERRIDE
;
protected:
vtkAnnotationLayers
();
...
...
Common/DataModel/vtkArrayData.h
View file @
0cc86887
...
...
@@ -48,7 +48,7 @@ class VTKCOMMONDATAMODEL_EXPORT vtkArrayData : public vtkDataObject
public:
static
vtkArrayData
*
New
();
vtkTypeMacro
(
vtkArrayData
,
vtkDataObject
);
void
PrintSelf
(
ostream
&
os
,
vtkIndent
indent
);
void
PrintSelf
(
ostream
&
os
,
vtkIndent
indent
)
VTK_OVERRIDE
;
static
vtkArrayData
*
GetData
(
vtkInformation
*
info
);
static
vtkArrayData
*
GetData
(
vtkInformationVector
*
v
,
int
i
=
0
);
...
...
@@ -75,10 +75,10 @@ public:
// Description:
// Return class name of data type (VTK_ARRAY_DATA).
virtual
int
GetDataObjectType
()
{
return
VTK_ARRAY_DATA
;}
int
GetDataObjectType
()
VTK_OVERRIDE
{
return
VTK_ARRAY_DATA
;}
virtual
void
ShallowCopy
(
vtkDataObject
*
other
);
virtual
void
DeepCopy
(
vtkDataObject
*
other
);
void
ShallowCopy
(
vtkDataObject
*
other
)
VTK_OVERRIDE
;
void
DeepCopy
(
vtkDataObject
*
other
)
VTK_OVERRIDE
;
protected:
vtkArrayData
();
...
...
Common/DataModel/vtkAttributesErrorMetric.h
View file @
0cc86887
...
...
@@ -98,7 +98,7 @@ public:
// \pre valid_size: sizeof(leftPoint)=sizeof(midPoint)=sizeof(rightPoint)
// =GetAttributeCollection()->GetNumberOfPointCenteredComponents()+6
int
RequiresEdgeSubdivision
(
double
*
leftPoint
,
double
*
midPoint
,
double
*
rightPoint
,
double
alpha
);
double
alpha
)
VTK_OVERRIDE
;
// Description:
// Return the error at the mid-point. The type of error depends on the state
...
...
@@ -113,7 +113,7 @@ public:
// =GetAttributeCollection()->GetNumberOfPointCenteredComponents()+6
// \post positive_result: result>=0
double
GetError
(
double
*
leftPoint
,
double
*
midPoint
,
double
*
rightPoint
,
double
alpha
);
double
*
rightPoint
,
double
alpha
)
VTK_OVERRIDE
;
protected:
vtkAttributesErrorMetric
();
...
...
Common/DataModel/vtkBSPCuts.h
View file @
0cc86887
...
...
@@ -105,13 +105,13 @@ public:
// Description:
// Restore data object to initial state,
virtual
void
Initialize
();
void
Initialize
()
VTK_OVERRIDE
;
// Description:
// Shallow copy. These copy the data, but not any of the
// pipeline connections.
virtual
void
ShallowCopy
(
vtkDataObject
*
src
);
virtual
void
DeepCopy
(
vtkDataObject
*
src
);
void
ShallowCopy
(
vtkDataObject
*
src
)
VTK_OVERRIDE
;
void
DeepCopy
(
vtkDataObject
*
src
)
VTK_OVERRIDE
;
protected:
...
...
Common/DataModel/vtkBiQuadraticQuad.h
View file @
0cc86887
...
...
@@ -50,34 +50,34 @@ class VTKCOMMONDATAMODEL_EXPORT vtkBiQuadraticQuad : public vtkNonLinearCell
public:
static
vtkBiQuadraticQuad
*
New
();
vtkTypeMacro
(
vtkBiQuadraticQuad
,
vtkNonLinearCell
);
void
PrintSelf
(
ostream
&
os
,
vtkIndent
indent
);
void
PrintSelf
(
ostream
&
os
,
vtkIndent
indent
)
VTK_OVERRIDE
;
// Description:
// Implement the vtkCell API. See the vtkCell API for descriptions
// of these methods.
int
GetCellType
()
{
return
VTK_BIQUADRATIC_QUAD
;
}
int
GetCellDimension
()
{
return
2
;
}
int
GetNumberOfEdges
()
{
return
4
;
}
int
GetNumberOfFaces
()
{
return
0
;
}
vtkCell
*
GetEdge
(
int
);
vtkCell
*
GetFace
(
int
)
{
return
0
;
}
int
CellBoundary
(
int
subId
,
double
pcoords
[
3
],
vtkIdList
*
pts
);
int
GetCellType
()
VTK_OVERRIDE
{
return
VTK_BIQUADRATIC_QUAD
;
}
int
GetCellDimension
()
VTK_OVERRIDE
{
return
2
;
}
int
GetNumberOfEdges
()
VTK_OVERRIDE
{
return
4
;
}
int
GetNumberOfFaces
()
VTK_OVERRIDE
{
return
0
;
}
vtkCell
*
GetEdge
(
int
)
VTK_OVERRIDE
;
vtkCell
*
GetFace
(
int
)
VTK_OVERRIDE
{
return
0
;
}
int
CellBoundary
(
int
subId
,
double
pcoords
[
3
],
vtkIdList
*
pts
)
VTK_OVERRIDE
;
int
EvaluatePosition
(
double
x
[
3
],
double
*
closestPoint
,
int
&
subId
,
double
pcoords
[
3
],
double
&
dist2
,
double
*
weights
);
double
&
dist2
,
double
*
weights
)
VTK_OVERRIDE
;
void
EvaluateLocation
(
int
&
subId
,
double
pcoords
[
3
],
double
x
[
3
],
double
*
weights
);
int
Triangulate
(
int
index
,
vtkIdList
*
ptIds
,
vtkPoints
*
pts
);
double
*
weights
)
VTK_OVERRIDE
;
int
Triangulate
(
int
index
,
vtkIdList
*
ptIds
,
vtkPoints
*
pts
)
VTK_OVERRIDE
;
void
Derivatives
(
int
subId
,
double
pcoords
[
3
],
double
*
values
,
int
dim
,
double
*
derivs
);
virtual
double
*
GetParametricCoords
();
int
dim
,
double
*
derivs
)
VTK_OVERRIDE
;
double
*
GetParametricCoords
()
VTK_OVERRIDE
;
void
Contour
(
double
value
,
vtkDataArray
*
cellScalars
,
vtkIncrementalPointLocator
*
locator
,
vtkCellArray
*
verts
,
vtkCellArray
*
lines
,
vtkCellArray
*
polys
,
vtkPointData
*
inPd
,
vtkPointData
*
outPd
,
vtkCellData
*
inCd
,
vtkIdType
cellId
,
vtkCellData
*
outCd
);
vtkIdType
cellId
,
vtkCellData
*
outCd
)
VTK_OVERRIDE
;
// Description:
// Clip this biquadratic quad using scalar value provided. Like contouring,
...
...
@@ -86,17 +86,18 @@ public:
vtkIncrementalPointLocator
*
locator
,
vtkCellArray
*
polys
,
vtkPointData
*
inPd
,
vtkPointData
*
outPd
,
vtkCellData
*
inCd
,
vtkIdType
cellId
,
vtkCellData
*
outCd
,
int
insideOut
);
int
insideOut
)
VTK_OVERRIDE
;
// Description:
// Line-edge intersection. Intersection has to occur within [0,1] parametric
// coordinates and with specified tolerance.
int
IntersectWithLine
(
double
p1
[
3
],
double
p2
[
3
],
double
tol
,
double
&
t
,
double
x
[
3
],
double
pcoords
[
3
],
int
&
subId
);
double
x
[
3
],
double
pcoords
[
3
],
int
&
subId
)
VTK_OVERRIDE
;
// Description:
// Return the center of the pyramid in parametric coordinates.
int
GetParametricCenter
(
double
pcoords
[
3
]);
int
GetParametricCenter
(
double
pcoords
[
3
])
VTK_OVERRIDE
;
// Description:
// @deprecated Replaced by vtkBiQuadraticQuad::InterpolateFunctions as of VTK 5.2
...
...
@@ -107,11 +108,11 @@ public:
// Description:
// Compute the interpolation functions/derivatives
// (aka shape functions/derivatives)
virtual
void
InterpolateFunctions
(
double
pcoords
[
3
],
double
weights
[
9
])
void
InterpolateFunctions
(
double
pcoords
[
3
],
double
weights
[
9
])
VTK_OVERRIDE
{
vtkBiQuadraticQuad
::
InterpolationFunctionsPrivate
(
pcoords
,
weights
);
}
virtual
void
InterpolateDerivs
(
double
pcoords
[
3
],
double
derivs
[
18
])
void
InterpolateDerivs
(
double
pcoords
[
3
],
double
derivs
[
18
])
VTK_OVERRIDE
{
vtkBiQuadraticQuad
::
InterpolationDerivsPrivate
(
pcoords
,
derivs
);
}
...
...
Common/DataModel/vtkBiQuadraticQuadraticHexahedron.h
View file @
0cc86887
...
...
@@ -85,28 +85,28 @@ public:
// Description:
// Implement the vtkCell API. See the vtkCell API for descriptions
// of these methods.
int
GetCellType
()
{
return
VTK_BIQUADRATIC_QUADRATIC_HEXAHEDRON
;}
int
GetCellDimension
()
{
return
3
;}
int
GetNumberOfEdges
()
{
return
12
;}
int
GetNumberOfFaces
()
{
return
6
;}
vtkCell
*
GetEdge
(
int
);
vtkCell
*
GetFace
(
int
);
int
CellBoundary
(
int
subId
,
double
pcoords
[
3
],
vtkIdList
*
pts
);
int
GetCellType
()
VTK_OVERRIDE
{
return
VTK_BIQUADRATIC_QUADRATIC_HEXAHEDRON
;}
int
GetCellDimension
()
VTK_OVERRIDE
{
return
3
;}
int
GetNumberOfEdges
()
VTK_OVERRIDE
{
return
12
;}
int
GetNumberOfFaces
()
VTK_OVERRIDE
{
return
6
;}
vtkCell
*
GetEdge
(
int
)
VTK_OVERRIDE
;
vtkCell
*
GetFace
(
int
)
VTK_OVERRIDE
;
int
CellBoundary
(
int
subId
,
double
pcoords
[
3
],
vtkIdList
*
pts
)
VTK_OVERRIDE
;
void
Contour
(
double
value
,
vtkDataArray
*
cellScalars
,
vtkIncrementalPointLocator
*
locator
,
vtkCellArray
*
verts
,
vtkCellArray
*
lines
,
vtkCellArray
*
polys
,
vtkPointData
*
inPd
,
vtkPointData
*
outPd
,
vtkCellData
*
inCd
,
vtkIdType
cellId
,
vtkCellData
*
outCd
);
vtkCellData
*
inCd
,
vtkIdType
cellId
,
vtkCellData
*
outCd
)
VTK_OVERRIDE
;
int
EvaluatePosition
(
double
x
[
3
],
double
*
closestPoint
,
int
&
subId
,
double
pcoords
[
3
],
double
&
dist2
,
double
*
weights
);
double
&
dist2
,
double
*
weights
)
VTK_OVERRIDE
;
void
EvaluateLocation
(
int
&
subId
,
double
pcoords
[
3
],
double
x
[
3
],
double
*
weights
);
int
Triangulate
(
int
index
,
vtkIdList
*
ptIds
,
vtkPoints
*
pts
);
double
*
weights
)
VTK_OVERRIDE
;
int
Triangulate
(
int
index
,
vtkIdList
*
ptIds
,
vtkPoints
*
pts
)
VTK_OVERRIDE
;
void
Derivatives
(
int
subId
,
double
pcoords
[
3
],
double
*
values
,
int
dim
,
double
*
derivs
);
virtual
double
*
GetParametricCoords
();
int
dim
,
double
*
derivs
)
VTK_OVERRIDE
;
double
*
GetParametricCoords
()
VTK_OVERRIDE
;
// Description:
// Clip this biquadratic hexahedron using scalar value provided. Like
...
...
@@ -116,13 +116,13 @@ public:
vtkIncrementalPointLocator
*
locator
,
vtkCellArray
*
tetras
,
vtkPointData
*
inPd
,
vtkPointData
*
outPd
,
vtkCellData
*
inCd
,
vtkIdType
cellId
,
vtkCellData
*
outCd
,
int
insideOut
);
int
insideOut
)
VTK_OVERRIDE
;
// Description:
// Line-edge intersection. Intersection has to occur within [0,1] parametric
// coordinates and with specified tolerance.
int
IntersectWithLine
(
double
p1
[
3
],
double
p2
[
3
],
double
tol
,
double
&
t
,
double
x
[
3
],
double
pcoords
[
3
],
int
&
subId
);
double
x
[
3
],
double
pcoords
[
3
],
int
&
subId
)
VTK_OVERRIDE
;
// Description:
// @deprecated Replaced by vtkBiQuadraticQuadraticHexahedron::InterpolateFunctions as of VTK 5.2
...
...
@@ -133,11 +133,11 @@ public:
// Description:
// Compute the interpolation functions/derivatives
// (aka shape functions/derivatives)
virtual
void
InterpolateFunctions
(
double
pcoords
[
3
],
double
weights
[
24
])
void
InterpolateFunctions
(
double
pcoords
[
3
],
double
weights
[
24
])
VTK_OVERRIDE
{
vtkBiQuadraticQuadraticHexahedron
::
InterpolationFunctions
(
pcoords
,
weights
);
}
virtual
void
InterpolateDerivs
(
double
pcoords
[
3
],
double
derivs
[
72
])
void
InterpolateDerivs
(
double
pcoords
[
3
],
double
derivs
[
72
])
VTK_OVERRIDE
{
vtkBiQuadraticQuadraticHexahedron
::
InterpolationDerivs
(
pcoords
,
derivs
);
}
...
...
Common/DataModel/vtkBiQuadraticQuadraticWedge.h
View file @
0cc86887
...
...
@@ -53,32 +53,33 @@ class VTKCOMMONDATAMODEL_EXPORT vtkBiQuadraticQuadraticWedge : public vtkNonLine
public:
static
vtkBiQuadraticQuadraticWedge
*
New
();
vtkTypeMacro
(
vtkBiQuadraticQuadraticWedge
,
vtkNonLinearCell
);
void
PrintSelf
(
ostream
&
os
,
vtkIndent
indent
);
void
PrintSelf
(
ostream
&
os
,
vtkIndent
indent
)
VTK_OVERRIDE
;
// Description:
// Implement the vtkCell API. See the vtkCell API for descriptions
// of these methods.
int
GetCellType
()
{
return
VTK_BIQUADRATIC_QUADRATIC_WEDGE
;
}
int
GetCellDimension
()
{
return
3
;
}
int
GetNumberOfEdges
()
{
return
9
;
}
int
GetNumberOfFaces
()
{
return
5
;
}
vtkCell
*
GetEdge
(
int
edgeId
);
vtkCell
*
GetFace
(
int
faceId
);
int
CellBoundary
(
int
subId
,
double
pcoords
[
3
],
vtkIdList
*
pts
);
int
GetCellType
()
VTK_OVERRIDE
{
return
VTK_BIQUADRATIC_QUADRATIC_WEDGE
;
}
int
GetCellDimension
()
VTK_OVERRIDE
{
return
3
;
}
int
GetNumberOfEdges
()
VTK_OVERRIDE
{
return
9
;
}
int
GetNumberOfFaces
()
VTK_OVERRIDE
{
return
5
;
}
vtkCell
*
GetEdge
(
int
edgeId
)
VTK_OVERRIDE
;
vtkCell
*
GetFace
(
int
faceId
)
VTK_OVERRIDE
;
int
CellBoundary
(
int
subId
,
double
pcoords
[
3
],
vtkIdList
*
pts
)
VTK_OVERRIDE
;
void
Contour
(
double
value
,
vtkDataArray
*
cellScalars
,
vtkIncrementalPointLocator
*
locator
,
vtkCellArray
*
verts
,
vtkCellArray
*
lines
,
vtkCellArray
*
polys
,
vtkPointData
*
inPd
,
vtkPointData
*
outPd
,
vtkCellData
*
inCd
,
vtkIdType
cellId
,
vtkCellData
*
outCd
);
vtkIdType
cellId
,
vtkCellData
*
outCd
)
VTK_OVERRIDE
;
int
EvaluatePosition
(
double
x
[
3
],
double
*
closestPoint
,
int
&
subId
,
double
pcoords
[
3
],
double
&
dist2
,
double
*
weights
);
int
&
subId
,
double
pcoords
[
3
],
double
&
dist2
,
double
*
weights
)
VTK_OVERRIDE
;
void
EvaluateLocation
(
int
&
subId
,
double
pcoords
[
3
],
double
x
[
3
],
double
*
weights
);
int
Triangulate
(
int
index
,
vtkIdList
*
ptIds
,
vtkPoints
*
pts
);
double
*
weights
)
VTK_OVERRIDE
;
int
Triangulate
(
int
index
,
vtkIdList
*
ptIds
,
vtkPoints
*
pts
)
VTK_OVERRIDE
;
void
Derivatives
(
int
subId
,
double
pcoords
[
3
],
double
*
values
,
int
dim
,
double
*
derivs
);
virtual
double
*
GetParametricCoords
();
double
*
derivs
)
VTK_OVERRIDE
;
double
*
GetParametricCoords
()
VTK_OVERRIDE
;
// Description:
// Clip this quadratic Wedge using scalar value provided. Like
...
...
@@ -88,18 +89,18 @@ public:
vtkIncrementalPointLocator
*
locator
,
vtkCellArray
*
tetras
,
vtkPointData
*
inPd
,
vtkPointData
*
outPd
,
vtkCellData
*
inCd
,
vtkIdType
cellId
,
vtkCellData
*
outCd
,
int
insideOut
);
int
insideOut
)
VTK_OVERRIDE
;
// Description:
// Line-edge intersection. Intersection has to occur within [0,1] parametric
// coordinates and with specified tolerance.
int
IntersectWithLine
(
double
p1
[
3
],
double
p2
[
3
],
double
tol
,
double
&
t
,
double
x
[
3
],
double
pcoords
[
3
],
int
&
subId
);
double
x
[
3
],
double
pcoords
[
3
],
int
&
subId
)
VTK_OVERRIDE
;
// Description:
// Return the center of the quadratic wedge in parametric coordinates.
int
GetParametricCenter
(
double
pcoords
[
3
]);
int
GetParametricCenter
(
double
pcoords
[
3
])
VTK_OVERRIDE
;
// Description:
// @deprecated Replaced by vtkBiQuadraticQuadraticWedge::InterpolateFunctions as of VTK 5.2
...
...
@@ -110,11 +111,11 @@ public:
// Description:
// Compute the interpolation functions/derivatives
// (aka shape functions/derivatives)
virtual
void
InterpolateFunctions
(
double
pcoords
[
3
],
double
weights
[
15
])
void
InterpolateFunctions
(
double
pcoords
[
3
],
double
weights
[
15
])
VTK_OVERRIDE
{
vtkBiQuadraticQuadraticWedge
::
InterpolationFunctions
(
pcoords
,
weights
);
}
virtual
void
InterpolateDerivs
(
double
pcoords
[
3
],
double
derivs
[
45
])
void
InterpolateDerivs
(
double
pcoords
[
3
],
double
derivs
[
45
])
VTK_OVERRIDE
{
vtkBiQuadraticQuadraticWedge
::
InterpolationDerivs
(
pcoords
,
derivs
);
}
...
...
Common/DataModel/vtkBiQuadraticTriangle.h
View file @
0cc86887
...
...
@@ -52,28 +52,28 @@ public:
// Description:
// Implement the vtkCell API. See the vtkCell API for descriptions
// of these methods.
int
GetCellType
()
{
return
VTK_BIQUADRATIC_TRIANGLE
;};
int
GetCellDimension
()
{
return
2
;}
int
GetNumberOfEdges
()
{
return
3
;}
int
GetNumberOfFaces
()
{
return
0
;}
vtkCell
*
GetEdge
(
int
edgeId
);
vtkCell
*
GetFace
(
int
)
{
return
0
;}
int
CellBoundary
(
int
subId
,
double
pcoords
[
3
],
vtkIdList
*
pts
);
int
GetCellType
()
VTK_OVERRIDE
{
return
VTK_BIQUADRATIC_TRIANGLE
;};
int
GetCellDimension
()
VTK_OVERRIDE
{
return
2
;}
int
GetNumberOfEdges
()
VTK_OVERRIDE
{
return
3
;}
int
GetNumberOfFaces
()
VTK_OVERRIDE
{
return
0
;}
vtkCell
*
GetEdge
(
int
edgeId
)
VTK_OVERRIDE
;
vtkCell
*
GetFace
(
int
)
VTK_OVERRIDE
{
return
0
;}
int
CellBoundary
(
int
subId
,
double
pcoords
[
3
],
vtkIdList
*
pts
)
VTK_OVERRIDE
;
void
Contour
(
double
value
,
vtkDataArray
*
cellScalars
,
vtkIncrementalPointLocator
*
locator
,
vtkCellArray
*
verts
,
vtkCellArray
*
lines
,
vtkCellArray
*
polys
,
vtkPointData
*
inPd
,
vtkPointData
*
outPd
,
vtkCellData
*
inCd
,
vtkIdType
cellId
,
vtkCellData
*
outCd
);
vtkCellData
*
inCd
,
vtkIdType
cellId
,
vtkCellData
*
outCd
)
VTK_OVERRIDE
;
int
EvaluatePosition
(
double
x
[
3
],
double
*
closestPoint
,
int
&
subId
,
double
pcoords
[
3
],
double
&
dist2
,
double
*
weights
);
double
&
dist2
,
double
*
weights
)
VTK_OVERRIDE
;
void
EvaluateLocation
(
int
&
subId
,
double
pcoords
[
3
],
double
x
[
3
],
double
*
weights
);
int
Triangulate
(
int
index
,
vtkIdList
*
ptIds
,
vtkPoints
*
pts
);
double
*
weights
)
VTK_OVERRIDE
;
int
Triangulate
(
int
index
,
vtkIdList
*
ptIds
,
vtkPoints
*
pts
)
VTK_OVERRIDE
;
void
Derivatives
(
int
subId
,
double
pcoords
[
3
],
double
*
values
,
int
dim
,
double
*
derivs
);
virtual
double
*
GetParametricCoords
();
int
dim
,
double
*
derivs
)
VTK_OVERRIDE
;
double
*
GetParametricCoords
()
VTK_OVERRIDE
;
// Description:
// Clip this quadratic triangle using scalar value provided. Like
...
...
@@ -83,23 +83,23 @@ public:
vtkIncrementalPointLocator
*
locator
,
vtkCellArray
*
polys
,
vtkPointData
*
inPd
,
vtkPointData
*
outPd
,
vtkCellData
*
inCd
,
vtkIdType
cellId
,
vtkCellData
*
outCd
,
int
insideOut
);
int
insideOut
)
VTK_OVERRIDE
;
// Description:
// Line-edge intersection. Intersection has to occur within [0,1] parametric
// coordinates and with specified tolerance.
int
IntersectWithLine
(
double
p1
[
3
],
double
p2
[
3
],
double
tol
,
double
&
t
,
double
x
[
3
],
double
pcoords
[
3
],
int
&
subId
);
double
x
[
3
],
double
pcoords
[
3
],
int
&
subId
)
VTK_OVERRIDE
;
// Description:
// Return the center of the quadratic triangle in parametric coordinates.
int
GetParametricCenter
(
double
pcoords
[
3
]);
int
GetParametricCenter
(
double
pcoords
[
3
])
VTK_OVERRIDE
;
// Description:
// Return the distance of the parametric coordinate provided to the
// cell. If inside the cell, a distance of zero is returned.
double
GetParametricDistance
(
double
pcoords
[
3
]);
double
GetParametricDistance
(
double
pcoords
[
3
])
VTK_OVERRIDE
;
// Description:
// @deprecated Replaced by vtkBiQuadraticTriangle::InterpolateFunctions as of VTK 5.2
...
...
@@ -110,11 +110,11 @@ public:
// Description:
// Compute the interpolation functions/derivatives
// (aka shape functions/derivatives)
virtual
void
InterpolateFunctions
(
double
pcoords
[
3
],
double
weights
[
7
])
void
InterpolateFunctions
(
double
pcoords
[
3
],
double
weights
[
7
])
VTK_OVERRIDE
{
vtkBiQuadraticTriangle
::
InterpolationFunctions
(
pcoords
,
weights
);
}
virtual
void
InterpolateDerivs
(
double
pcoords
[
3
],
double
derivs
[
14
])
void
InterpolateDerivs
(
double
pcoords
[
3
],
double
derivs
[
14
])
VTK_OVERRIDE
{
vtkBiQuadraticTriangle
::
InterpolationDerivs
(
pcoords
,
derivs
);
}
...
...
Common/DataModel/vtkBox.h
View file @
0cc86887
...
...
@@ -44,13 +44,13 @@ public:
// Description
// Evaluate box defined by the two points (pMin,pMax).
double
EvaluateFunction
(
double
x
[
3
]);
double
EvaluateFunction
(
double
x
[
3
])
VTK_OVERRIDE
;
double
EvaluateFunction
(
double
x
,
double
y
,
double
z
)
{
return
this
->
vtkImplicitFunction
::
EvaluateFunction
(
x
,
y
,
z
);
}
// Description
// Evaluate the gradient of the box.
void
EvaluateGradient
(
double
x
[
3
],
double
n
[
3
]);
void
EvaluateGradient
(
double
x
[
3
],
double
n
[
3
])
VTK_OVERRIDE
;
// Description:
// Set / get the bounding box using various methods.
...
...
Common/DataModel/vtkCell3D.h
View file @
0cc86887
...
...
@@ -54,11 +54,12 @@ public:
// 0<=faceId<this->GetNumberOfFaces().
virtual
void
GetFacePoints
(
int
faceId
,
int
*
&
pts
)
=
0
;
virtual
void
Contour
(
double
value
,
vtkDataArray
*
cellScalars
,
void
Contour
(
double
value
,
vtkDataArray
*
cellScalars
,
vtkIncrementalPointLocator
*
locator
,
vtkCellArray
*
verts
,
vtkCellArray
*
lines
,
vtkCellArray
*
polys
,
vtkPointData
*
inPd
,
vtkPointData
*
outPd
,
vtkCellData
*
inCd
,
vtkIdType
cellId
,
vtkCellData
*
outCd
);
vtkCellData
*
inCd
,
vtkIdType
cellId
,
vtkCellData
*
outCd
)
VTK_OVERRIDE
;
// Description:
// Cut (or clip) the cell based on the input cellScalars and the specified
...
...
@@ -71,15 +72,15 @@ public:
// generated contouring primitives. (Note: the CopyAllocate() method must
// be invoked on both the output cell and point data. The cellId refers to
// the cell from which the cell data is copied.) (Satisfies vtkCell API.)
virtual
void
Clip
(
double
value
,
vtkDataArray
*
cellScalars
,