Commit 9c045a1
committed
COMP: Remove "vtk" prefix from VTK COMPONENTS
In modern VTK (> 8.90) the COMPONENT names don't have the "vtk" prefix.
This fix get the VTK version first, and then look for the COMPONENTS
with the right name, prepending ${_vtk_prefix} to the names.
The examples using ITKVtkGlue (`ENABLE_QUICKVIEW` = ON) re-use the variable
`_vtk_prefix` defined in the top CMakeLists.
The examples that depend on `VTK` and `ITK without ITKVTKGlue` set
`_vtk_prefix` by their own.
Fix #2411 parent 4e71f6b commit 9c045a1
File tree
61 files changed
+217
-137
lines changed- src
- Bridge/VtkGlue
- VTKImageToITKImage
- VisualizeStaticDense2DLevelSetAsElevationMap
- VisualizeStaticDense2DLevelSetZeroSet
- VisualizeStaticMalcolm2DLevelSetLayers
- VisualizeStaticShi2DLevelSetLayers
- VisualizeStaticWhitaker2DLevelSetLayers
- Core
- Common
- DisplayImage
- FindMaxAndMinInImage
- InPlaceFilterOfImage
- IterateLineThroughImage
- IterateRegionWithAccessToIndexWithWriteAccess
- IterateRegionWithAccessToIndexWithoutWriteAccess
- IterateRegionWithNeighborhood
- IterateRegionWithWriteAccess
- MakeOutOfBoundsPixelsReturnConstValue
- MultiThreadOilPainting
- Mesh/ConvertMeshToUnstructeredGrid
- SpatialObjects/ContourSpatialObject
- Transform/GlobalRegistrationTwoImagesBSpline
- Filtering
- AnisotropicSmoothing
- SmoothImageWhilePreservingEdges2
- SmoothImageWhilePreservingEdges
- BinaryMathematicalMorphology
- ClosingBinaryImage
- OpeningBinaryImage
- PruneBinaryImage
- Convolution/ConvolveImageWithKernel
- CurvatureFlow
- BinaryMinMaxCurvatureFlow
- SmoothImageUsingCurvatureFlow
- SmoothImageUsingMinMaxCurvatureFlow
- SmoothRGBImageUsingCurvatureFlow
- SmoothRGBImageUsingMinMaxCurvatureFlow
- DistanceMap
- ApproxDistanceMapOfBinary
- MaurerDistanceMapOfBinary
- MeanDistanceBetweenAllPointsOnTwoCurves
- SignedDistanceMapOfBinary
- ImageFeature
- ApplyAFilterToASpecifiedRegionOfAnImage
- BilateralFilterAnImage
- FindZeroCrossingsInSignedImage
- ZeroCrossingBasedEdgeDecor
- ImageGrid
- CropImageBySpecifyingRegion2
- RunImageFilterOnRegionOfImage
- ImageIntensity
- AbsValueOfImage
- AddTwoImages
- InvertImage
- MaskImage
- NormalizeImage
- SubtractTwoImages
- ImageLabel
- ExtractBoundariesOfConnectedRegionsInBinaryImage
- ExtractInnerAndOuterBoundariesOfBlobsInBinaryImage
- LabelContoursOfConnectComponent
- MathematicalMorphology/ErodeBinaryImageUsingFlatStruct
- Smoothing
- FindHigherDerivativesOfImage
- SmoothImageWithDiscreteGaussianFilter
- Thresholding
- DemonstrateThresholdAlgorithms
- SeparateGroundUsingOtsu
- Nonunit/Review/GeometricPropertiesOfRegion
- Registration/Common/WatchRegistration
- Segmentation
- Classifiers/ClusterPixelsInGrayscaleImage
- ConnectedComponents
- AssignContiguousLabelsToConnectedRegions
- ExtraLargestConnectComponentFromBinaryImage
- LabelConnectComponentsInGrayscaleImage
- RegionGrowing/SegmentPixelsWithSimilarStats
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
61 files changed
+217
-137
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
8 | 13 | | |
9 | 14 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
14 | 19 | | |
15 | 20 | | |
16 | 21 | | |
| |||
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
8 | 13 | | |
9 | 14 | | |
10 | | - | |
11 | | - | |
12 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
13 | 18 | | |
14 | 19 | | |
15 | 20 | | |
| |||
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
8 | 13 | | |
9 | 14 | | |
10 | | - | |
11 | | - | |
| 15 | + | |
| 16 | + | |
12 | 17 | | |
13 | 18 | | |
14 | 19 | | |
| |||
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
8 | 13 | | |
9 | 14 | | |
10 | | - | |
11 | | - | |
| 15 | + | |
| 16 | + | |
12 | 17 | | |
13 | 18 | | |
14 | 19 | | |
| |||
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
8 | 13 | | |
9 | 14 | | |
10 | | - | |
11 | | - | |
| 15 | + | |
| 16 | + | |
12 | 17 | | |
13 | 18 | | |
14 | 19 | | |
| |||
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
8 | 13 | | |
9 | 14 | | |
10 | | - | |
11 | | - | |
| 15 | + | |
| 16 | + | |
12 | 17 | | |
13 | 18 | | |
14 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
8 | 13 | | |
9 | 14 | | |
10 | | - | |
11 | | - | |
12 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
13 | 18 | | |
14 | 19 | | |
15 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
8 | 13 | | |
9 | 14 | | |
10 | | - | |
11 | | - | |
12 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
13 | 18 | | |
14 | 19 | | |
15 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments