Skip to content

Commit

Permalink
ENH: Rename Filters that start with Find/Generate/Calculate to Compute (
Browse files Browse the repository at this point in the history
BlueQuartzSoftware#956)

Signed-off-by: Joey Kleingers <[email protected]>
Signed-off-by: Michael Jackson <[email protected]>
Signed-off-by: Jared Duffey <[email protected]>
Co-authored-by: Joey Kleingers <[email protected]>
Co-authored-by: Jessica Marquis <[email protected]>
Co-authored-by: Matthew Marine <[email protected]>
Co-authored-by: nyoungbq <[email protected]>
Co-authored-by: Jared Duffey <[email protected]>
  • Loading branch information
6 people committed May 20, 2024
1 parent 839d457 commit d8df434
Show file tree
Hide file tree
Showing 396 changed files with 4,646 additions and 4,545 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ set(CoreParameters
DynamicTableParameter
EnsembleInfoParameter
FileSystemPathParameter
GenerateColorTableParameter
CreateColorMapParameter
GeneratedFileListParameter
GeometrySelectionParameter
DataStoreFormatParameter
Expand Down
2 changes: 1 addition & 1 deletion docs/Porting_Filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ If you have a filter that needs to create an array in something like a cell attr
a feature attribute matrix then the following filters have examples.

- TriangleNormalFilter
- CalculateFeatureSizesFilter
- ComputeFeatureSizesFilter

## Replace EXECUTE_FUNCTION_TEMPLATE ##

Expand Down
66 changes: 33 additions & 33 deletions scripts/simpl_filters.json
Original file line number Diff line number Diff line change
Expand Up @@ -1135,7 +1135,7 @@
"uuid": "{6cc3148c-0bad-53b4-9568-ee1971cadb00}"
},
{
"name": "FindNeighborListStatisticsFilter",
"name": "ComputeNeighborListStatisticsFilter",
"parameters": [
{
"name": "FindLength",
Expand Down Expand Up @@ -1241,7 +1241,7 @@
"uuid": "{4178c7f9-5f90-5e95-8cf1-a67ca2a98a60}"
},
{
"name": "FindVertexToTriangleDistances",
"name": "ComputeVertexToTriangleDistances",
"parameters": [
{
"name": "VertexDataContainer",
Expand Down Expand Up @@ -1879,7 +1879,7 @@
"uuid": "{247ea39f-cb50-5dbb-bb9d-ecde12377fed}"
},
{
"name": "KMeans",
"name": "ComputeKMeans",
"parameters": [
{
"name": "InitClusters",
Expand Down Expand Up @@ -1925,7 +1925,7 @@
"uuid": "{b56a04de-0ca0-509d-809f-52219fca9c98}"
},
{
"name": "KMedoids",
"name": "ComputeKMedoids",
"parameters": [
{
"name": "InitClusters",
Expand Down Expand Up @@ -8641,7 +8641,7 @@
{
"filters": [
{
"name": "CalculateArrayHistogram",
"name": "ComputeArrayHistogramFilter",
"parameters": [
{
"name": "NumberOfBins",
Expand Down Expand Up @@ -8747,7 +8747,7 @@
"uuid": "{cd91b8fd-0383-5803-ad26-9a47d6c309b0}"
},
{
"name": "FindBoundaryElementFractions",
"name": "ComputeBoundaryElementFractions",
"parameters": [
{
"name": "",
Expand Down Expand Up @@ -8791,7 +8791,7 @@
"uuid": "{29086169-20ce-52dc-b13e-824694d759aa}"
},
{
"name": "FindEuclideanDistMap",
"name": "ComputeEuclideanDistMap",
"parameters": [
{
"name": "CalcManhattanDist",
Expand Down Expand Up @@ -8845,7 +8845,7 @@
"uuid": "{933e4b2d-dd61-51c3-98be-00548ba783a3}"
},
{
"name": "FindFeatureClustering",
"name": "ComputeFeatureClustering",
"parameters": [
{
"name": "NumberOfBins",
Expand Down Expand Up @@ -8945,7 +8945,7 @@
"uuid": "{9f77b4a9-6416-5220-a688-115f4e14c90d}"
},
{
"name": "FindNeighborhoods",
"name": "ComputeNeighborhoods",
"parameters": [
{
"name": "MultiplesOfAverage",
Expand Down Expand Up @@ -9041,7 +9041,7 @@
"uuid": "{97cf66f8-7a9b-5ec2-83eb-f8c4c8a17bac}"
},
{
"name": "FindNumFeatures",
"name": "ComputeNumFeatures",
"parameters": [
{
"name": "",
Expand All @@ -9063,7 +9063,7 @@
"uuid": "{529743cf-d5d5-5d5a-a79f-95c84a5ddbb5}"
},
{
"name": "FindShapes",
"name": "ComputeShapes",
"parameters": [
{
"name": "",
Expand Down Expand Up @@ -9155,7 +9155,7 @@
"uuid": "{656f144c-a120-5c3b-bee5-06deab438588}"
},
{
"name": "FindSurfaceAreaToVolume",
"name": "ComputeSurfaceAreaToVolume",
"parameters": [
{
"name": "",
Expand Down Expand Up @@ -9193,7 +9193,7 @@
"uuid": "{5d586366-6b59-566e-8de1-57aa9ae8a91c}"
},
{
"name": "FindVolFractions",
"name": "ComputeVolumeFractions",
"parameters": [
{
"name": "",
Expand Down Expand Up @@ -10484,7 +10484,7 @@
"uuid": "{a69d8d43-5be9-59a0-b997-81773a635673}"
},
{
"name": "FindTriangleGeomCentroids",
"name": "TriangleGeomCentroids",
"parameters": [
{
"name": "",
Expand Down Expand Up @@ -10548,7 +10548,7 @@
"uuid": "{749dc8ae-a402-5ee7-bbca-28d5734c60df}"
},
{
"name": "FindTriangleGeomShapes",
"name": "ComputeTriangleGeomShapes",
"parameters": [
{
"name": "",
Expand Down Expand Up @@ -10598,7 +10598,7 @@
"uuid": "{26765457-89fb-5686-87f6-878ca549f0df}"
},
{
"name": "FindTriangleGeomSizes",
"name": "ComputeTriangleGeomSizes",
"parameters": [
{
"name": "",
Expand Down Expand Up @@ -10937,7 +10937,7 @@
{
"filters": [
{
"name": "FindBoundaryCells",
"name": "ComputeBoundaryCells",
"parameters": [
{
"name": "IgnoreFeatureZero",
Expand Down Expand Up @@ -11001,7 +11001,7 @@
"uuid": "{450c2f00-9ddf-56e1-b4c1-0e74e7ad2349}"
},
{
"name": "FindFeatureCentroids",
"name": "ComputeFeatureCentroids",
"parameters": [
{
"name": "",
Expand Down Expand Up @@ -11049,7 +11049,7 @@
"uuid": "{6334ce16-cea5-5643-83b5-9573805873fa}"
},
{
"name": "FindFeaturePhasesBinary",
"name": "ComputeFeaturePhasesBinary",
"parameters": [
{
"name": "",
Expand Down Expand Up @@ -11083,7 +11083,7 @@
"uuid": "{64d20c7b-697c-5ff1-9d1d-8a27b071f363}"
},
{
"name": "FindSurfaceFeaturesFilter",
"name": "ComputeSurfaceFeaturesFilter",
"parameters": [
{
"name": "",
Expand All @@ -11105,7 +11105,7 @@
"uuid": "{d2b0ae3d-686a-5dc0-a844-66bc0dc8f3cb}"
},
{
"name": "GenerateVectorColors",
"name": "ComputeVectorColors",
"parameters": [
{
"name": "UseGoodVoxels",
Expand Down Expand Up @@ -12299,11 +12299,11 @@
"uuid": "{8ec1fc8e-6484-5412-a898-8079986c0a26}"
},
{
"name": "GenerateColorTable",
"name": "CreateColorMap",
"parameters": [
{
"name": "SelectedPresetName",
"type": "GenerateColorTableFilterParameter"
"type": "CreateColorMapFilterParameter"
},
{
"name": "SelectedDataArrayPath",
Expand Down Expand Up @@ -13461,7 +13461,7 @@
"uuid": "{c5a9a96c-7570-5279-b383-cc25ebae0046}"
},
{
"name": "FindAvgOrientations",
"name": "ComputeAvgOrientations",
"parameters": [
{
"name": "",
Expand Down Expand Up @@ -13503,7 +13503,7 @@
"uuid": "{bf7036d8-25bd-540e-b6de-3a5ab0e42c5f}"
},
{
"name": "FindBoundaryStrengths",
"name": "ComputeBoundaryStrengths",
"parameters": [
{
"name": "Loading",
Expand Down Expand Up @@ -13561,7 +13561,7 @@
"uuid": "{8071facb-8905-5699-b345-105ae4ac33ff}"
},
{
"name": "FindCAxisLocations",
"name": "ComputeCAxisLocations",
"parameters": [
{
"name": "",
Expand Down Expand Up @@ -13641,7 +13641,7 @@
"uuid": "{94f986fc-1295-5e32-9808-752855fa658a}"
},
{
"name": "FindFeatureNeighborCAxisMisalignments",
"name": "ComputeFeatureNeighborCAxisMisalignments",
"parameters": [
{
"name": "FindAvgMisals",
Expand Down Expand Up @@ -14121,7 +14121,7 @@
"uuid": "{286dd493-4fea-54f4-b59e-459dd13bbe57}"
},
{
"name": "FindSchmids",
"name": "ComputeSchmids",
"parameters": [
{
"name": "LoadingDirection",
Expand Down Expand Up @@ -14191,7 +14191,7 @@
"uuid": "{e67ca06a-176f-58fc-a676-d6ee5553511a}"
},
{
"name": "FindSlipTransmissionMetrics",
"name": "ComputeSlipTransmissionMetrics",
"parameters": [
{
"name": "",
Expand Down Expand Up @@ -14365,7 +14365,7 @@
"uuid": "{b0e30e6d-912d-5a7e-aeed-750134aba86b}"
},
{
"name": "GenerateFZQuaternions",
"name": "ComputeFZQuaternions",
"parameters": [
{
"name": "UseGoodVoxels",
Expand Down Expand Up @@ -14407,7 +14407,7 @@
"uuid": "{9a6677a6-b9e5-5fee-afa2-27e868cab8ca}"
},
{
"name": "GenerateFaceIPFColoring",
"name": "ComputeFaceIPFColoring",
"parameters": [
{
"name": "",
Expand Down Expand Up @@ -14495,7 +14495,7 @@
"uuid": "{7cd30864-7bcf-5c10-aea7-d107373e2d40}"
},
{
"name": "GenerateIPFColors",
"name": "ComputeIPFColors",
"parameters": [
{
"name": "ReferenceDir",
Expand Down Expand Up @@ -14559,7 +14559,7 @@
"uuid": "{ec58f4fe-8e51-527e-9536-8b6f185684be}"
},
{
"name": "GenerateQuaternionConjugate",
"name": "ComputeQuaternionConjugate",
"parameters": [
{
"name": "QuaternionDataArrayPath",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ITKImageProcessing (ITKImageProcessing)
This **Filter** will save images based on an array that represents grayscale, RGB or ARGB color values. If the input array represents a 3D volume, the **Filter** will output a series of slices along one of the orthogonal axes. The options are to produce XY slices along the Z axis, XZ slices along the Y axis or YZ slices along the X axis. The user has the option to save in one of 3 standard image formats: TIF, BMP, or PNG. The output files will be numbered sequentially starting at zero (0) and ending at the total dimensions for the chosen axis. For example, if the Z axis has 117 dimensions, 117 XY image files will be produced and numbered 0 to 116. Unless the data is a single slice then only a single image will be produced using the name given in the Output File parameter.

An example of a **Filter** that produces color data that can be used as input to this **Filter**
is the {ref}`Generate IFP Colors <OrientationAnalysis/GenerateIPFColorsFilter:Description>` **Filter**, which will generate RGB values for each voxel in the volume.
is the {ref}`Generate IFP Colors <OrientationAnalysis/ComputeIPFColorsFilter:Description>` **Filter**, which will generate RGB values for each voxel in the volume.

% Auto generated parameter table will be inserted here

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
},
"comments": "",
"filter": {
"name": "simplnx::CalculateFeatureSizesFilter",
"name": "simplnx::ComputeFeatureSizesFilter",
"uuid": "c666ee17-ca58-4969-80d0-819986c72485"
},
"isDisabled": false
Expand Down Expand Up @@ -160,7 +160,7 @@
},
"comments": "",
"filter": {
"name": "simplnx::FindFeaturePhasesFilter",
"name": "simplnx::ComputeFeaturePhasesFilter",
"uuid": "da5bb20e-4a8e-49d9-9434-fbab7bc434fc"
},
"isDisabled": false
Expand All @@ -174,7 +174,7 @@
},
"comments": "",
"filter": {
"name": "simplnx::FindFeatureCentroidsFilter",
"name": "simplnx::ComputeFeatureCentroidsFilter",
"uuid": "c6875ac7-8bdd-4f69-b6ce-82ac09bd3421"
},
"isDisabled": false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
},
"comments": "",
"filter": {
"name": "nx::core::CalculateFeatureSizesFilter",
"name": "nx::core::ComputeFeatureSizesFilter",
"uuid": "c666ee17-ca58-4969-80d0-819986c72485"
},
"isDisabled": false
Expand Down Expand Up @@ -171,7 +171,7 @@
},
"comments": "",
"filter": {
"name": "nx::core::FindFeaturePhasesFilter",
"name": "nx::core::ComputeFeaturePhasesFilter",
"uuid": "da5bb20e-4a8e-49d9-9434-fbab7bc434fc"
},
"isDisabled": false
Expand All @@ -185,7 +185,7 @@
},
"comments": "",
"filter": {
"name": "nx::core::FindFeatureCentroidsFilter",
"name": "nx::core::ComputeFeatureCentroidsFilter",
"uuid": "c6875ac7-8bdd-4f69-b6ce-82ac09bd3421"
},
"isDisabled": false
Expand Down Expand Up @@ -220,13 +220,13 @@
"phase_number": 2,
"rdf_array_name": "RDF",
"remove_biased_features": false,
"seed_array_name": "FindFeatureClustering SeedValue",
"seed_array_name": "ComputeFeatureClustering SeedValue",
"seed_value": 5489,
"set_random_seed": false
},
"comments": "",
"filter": {
"name": "nx::core::FindFeatureClusteringFilter",
"name": "nx::core::ComputeFeatureClusteringFilter",
"uuid": "d6e01678-3a03-433f-89ad-4e9adf1f9a45"
},
"isDisabled": false
Expand Down
Loading

0 comments on commit d8df434

Please sign in to comment.