Skip to content

Commit

Permalink
[nodes] Remove useless exclusive=True in descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
cbentejac committed Sep 16, 2024
1 parent 30c108b commit 002d316
Show file tree
Hide file tree
Showing 81 changed files with 0 additions and 210 deletions.
1 change: 0 additions & 1 deletion meshroom/nodes/aliceVision/ApplyCalibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ class ApplyCalibration(desc.AVCommandLineNode):
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
),
]

Expand Down
2 changes: 0 additions & 2 deletions meshroom/nodes/aliceVision/CameraCalibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ class CameraCalibration(desc.AVCommandLineNode):
description="Type of pattern (CHESSBOARD, CIRCLES, ASYMMETRIC_CIRCLES, ASYMMETRIC_CCTAG).",
value="CHESSBOARD",
values=["CHESSBOARD", "CIRCLES", "ASYMMETRIC_CIRCLES", "ASYMMETRIC_CCTAG"],
exclusive=True,
),
desc.GroupAttribute(
name="size",
Expand Down Expand Up @@ -117,7 +116,6 @@ class CameraCalibration(desc.AVCommandLineNode):
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
),
]

Expand Down
8 changes: 0 additions & 8 deletions meshroom/nodes/aliceVision/CameraInit.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@
" - equidistant: Non-projective camera model suited for full-fisheye optics.\n",
value="pinhole",
values=["pinhole", "equidistant"],
exclusive=True,
),
desc.ChoiceParam(
name="distortionType",
Expand All @@ -149,7 +148,6 @@
" - fisheye4: distortion with 4 parameters suited for fisheye optics (like 120deg FoV).\n",
value="radialk3",
values=["none", "radialk1", "radialk3", "radialk3pt", "brown", "fisheye4", "fisheye1"],
exclusive=True,
),
desc.IntParam(
name="width",
Expand Down Expand Up @@ -216,7 +214,6 @@
" - none: not set.",
values=["calibrated", "estimated", "unknown", "none"],
value="none",
exclusive=True,
),
desc.ChoiceParam(
name="distortionInitializationMode",
Expand All @@ -228,7 +225,6 @@
" - none: not set.",
values=["calibrated", "estimated", "unknown", "none"],
value="none",
exclusive=True,
),
desc.ListAttribute(
name="distortionParams",
Expand Down Expand Up @@ -418,7 +414,6 @@ class CameraInit(desc.AVCommandLineNode, desc.InitNode):
" - image: never group images from comparable devices.",
values=["global", "folder", "image"],
value="folder",
exclusive=True,
invalidate=False,
),
desc.ChoiceParam(
Expand All @@ -432,7 +427,6 @@ class CameraInit(desc.AVCommandLineNode, desc.InitNode):
" - DCPMetadata: Same as None with DCP info added in metadata.",
values=RAW_COLOR_INTERPRETATION,
value="DCPLinearProcessing" if os.environ.get("ALICEVISION_COLOR_PROFILE_DB", "") else "LibRawWhiteBalancing",
exclusive=True,
),
desc.File(
name="colorProfileDatabase",
Expand All @@ -459,7 +453,6 @@ class CameraInit(desc.AVCommandLineNode, desc.InitNode):
" - filename : Generate viewId from filename using regex.",
value="metadata",
values=["metadata", "filename"],
exclusive=True,
invalidate=False,
advanced=True,
),
Expand All @@ -485,7 +478,6 @@ class CameraInit(desc.AVCommandLineNode, desc.InitNode):
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
),
]

Expand Down
5 changes: 0 additions & 5 deletions meshroom/nodes/aliceVision/CameraLocalization.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,23 +51,20 @@ class CameraLocalization(desc.AVCommandLineNode):
description="Preset for the feature extractor when localizing a new image (low, medium, normal, high, ultra).",
value="normal",
values=["low", "medium", "normal", "high", "ultra"],
exclusive=True,
),
desc.ChoiceParam(
name="resectionEstimator",
label="Resection Estimator",
description="The type of *sac framework to use for resection (acransac, loransac).",
value="acransac",
values=["acransac", "loransac"],
exclusive=True,
),
desc.ChoiceParam(
name="matchingEstimator",
label="Matching Estimator",
description="The type of *sac framework to use for matching (acransac, loransac).",
value="acransac",
values=["acransac", "loransac"],
exclusive=True,
),
desc.File(
name="calibration",
Expand Down Expand Up @@ -127,7 +124,6 @@ class CameraLocalization(desc.AVCommandLineNode):
description="[voctree] Algorithm type: FirstBest, AllResults.",
value="AllResults",
values=["FirstBest", "AllResults"],
exclusive=True,
),
desc.FloatParam(
name="matchingError",
Expand Down Expand Up @@ -187,7 +183,6 @@ class CameraLocalization(desc.AVCommandLineNode):
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
),
]

Expand Down
5 changes: 0 additions & 5 deletions meshroom/nodes/aliceVision/CameraRigCalibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,23 +58,20 @@ class CameraRigCalibration(desc.AVCommandLineNode):
description="Preset for the feature extractor when localizing a new image (low, medium, normal, high, ultra).",
value="normal",
values=["low", "medium", "normal", "high", "ultra"],
exclusive=True,
),
desc.ChoiceParam(
name="resectionEstimator",
label="Resection Estimator",
description="The type of *sac framework to use for resection (acransac, loransac).",
value="acransac",
values=["acransac", "loransac"],
exclusive=True,
),
desc.ChoiceParam(
name="matchingEstimator",
label="Matching Estimator",
description="The type of *sac framework to use for matching (acransac, loransac).",
value="acransac",
values=["acransac", "loransac"],
exclusive=True,
),
desc.StringParam(
name="refineIntrinsics",
Expand Down Expand Up @@ -115,7 +112,6 @@ class CameraRigCalibration(desc.AVCommandLineNode):
description="[voctree] Algorithm type: {FirstBest, AllResults}.",
value="AllResults",
values=["FirstBest", "AllResults"],
exclusive=True,
),
desc.IntParam(
name="nbImageMatch",
Expand Down Expand Up @@ -152,7 +148,6 @@ class CameraRigCalibration(desc.AVCommandLineNode):
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
),
]

Expand Down
5 changes: 0 additions & 5 deletions meshroom/nodes/aliceVision/CameraRigLocalization.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,23 +57,20 @@ class CameraRigLocalization(desc.AVCommandLineNode):
description="Preset for the feature extractor when localizing a new image (low, medium, normal, high, ultra).",
value="normal",
values=["low", "medium", "normal", "high", "ultra"],
exclusive=True,
),
desc.ChoiceParam(
name="resectionEstimator",
label="Resection Estimator",
description="The type of *sac framework to use for resection (acransac, loransac).",
value="acransac",
values=["acransac", "loransac"],
exclusive=True,
),
desc.ChoiceParam(
name="matchingEstimator",
label="Matching Estimator",
description="The type of *sac framework to use for matching (acransac, loransac).",
value="acransac",
values=["acransac", "loransac"],
exclusive=True,
),
desc.StringParam(
name="refineIntrinsics",
Expand Down Expand Up @@ -120,7 +117,6 @@ class CameraRigLocalization(desc.AVCommandLineNode):
description="[voctree] Algorithm type: {FirstBest, AllResults}.",
value="AllResults",
values=["FirstBest", "AllResults"],
exclusive=True,
),
desc.IntParam(
name="nbImageMatch",
Expand Down Expand Up @@ -158,7 +154,6 @@ class CameraRigLocalization(desc.AVCommandLineNode):
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
),
]

Expand Down
1 change: 0 additions & 1 deletion meshroom/nodes/aliceVision/CheckerboardCalibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ class CheckerboardCalibration(desc.AVCommandLineNode):
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
),
]

Expand Down
1 change: 0 additions & 1 deletion meshroom/nodes/aliceVision/CheckerboardDetection.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ class CheckerboardDetection(desc.AVCommandLineNode):
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
),
]

Expand Down
3 changes: 0 additions & 3 deletions meshroom/nodes/aliceVision/ColorCheckerCorrection.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ class ColorCheckerCorrection(desc.AVCommandLineNode):
description="Output image file extension.",
value="exr",
values=["exr", ""],
exclusive=True,
),
desc.ChoiceParam(
name="storageDataType",
Expand All @@ -55,15 +54,13 @@ class ColorCheckerCorrection(desc.AVCommandLineNode):
" - auto: Use half float if all values can fit, else use full float.",
values=EXR_STORAGE_DATA_TYPE,
value="float",
exclusive=True,
),
desc.ChoiceParam(
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
),
]

Expand Down
1 change: 0 additions & 1 deletion meshroom/nodes/aliceVision/ColorCheckerDetection.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ class ColorCheckerDetection(desc.AVCommandLineNode):
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
),
]

Expand Down
3 changes: 0 additions & 3 deletions meshroom/nodes/aliceVision/ConvertDistortion.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,20 @@ class ConvertDistortion(desc.AVCommandLineNode):
description="Distortion model to convert from.",
value="distortion",
values=["distortion", "undistortion"],
exclusive=True,
),
desc.ChoiceParam(
name="to",
label="To",
description="Distortion model to convert to.",
value="undistortion",
values=["distortion", "undistortion"],
exclusive=True,
),
desc.ChoiceParam(
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
),
]

Expand Down
2 changes: 0 additions & 2 deletions meshroom/nodes/aliceVision/ConvertMesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ class ConvertMesh(desc.AVCommandLineNode):
description="Output mesh format (*.obj, *.gltf, *.fbx, *.stl).",
value="obj",
values=["gltf", "obj", "fbx", "stl"],
exclusive=True,
group="",
),
desc.ChoiceParam(
Expand All @@ -32,7 +31,6 @@ class ConvertMesh(desc.AVCommandLineNode):
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
),
]

Expand Down
2 changes: 0 additions & 2 deletions meshroom/nodes/aliceVision/ConvertSfMFormat.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ class ConvertSfMFormat(desc.AVCommandLineNode):
description="Output SfM file format.",
value="abc",
values=["abc", "sfm", "json", "ply", "baf"],
exclusive=True,
group="", # exclude from command line
),
desc.ChoiceParam(
Expand Down Expand Up @@ -87,7 +86,6 @@ class ConvertSfMFormat(desc.AVCommandLineNode):
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
),
]

Expand Down
3 changes: 0 additions & 3 deletions meshroom/nodes/aliceVision/DepthMap.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ class DepthMap(desc.AVCommandLineNode):
"specularities), a larger downscale may improve.",
value=2,
values=[1, 2, 4, 8, 16],
exclusive=True,
),
desc.FloatParam(
name="minViewAngle",
Expand Down Expand Up @@ -440,7 +439,6 @@ class DepthMap(desc.AVCommandLineNode):
description="Patch pattern subpart type.",
value="full",
values=["full", "circle"],
exclusive=True,
),
desc.FloatParam(
name="customPatchPatternSubpartRadius",
Expand Down Expand Up @@ -559,7 +557,6 @@ class DepthMap(desc.AVCommandLineNode):
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
),
]

Expand Down
1 change: 0 additions & 1 deletion meshroom/nodes/aliceVision/DepthMapFilter.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ class DepthMapFilter(desc.AVCommandLineNode):
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
),
]

Expand Down
2 changes: 0 additions & 2 deletions meshroom/nodes/aliceVision/DistortionCalibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ class DistortionCalibration(desc.AVCommandLineNode):
description="model used to estimate undistortion.",
value="3deanamorphic4",
values=["3deanamorphic4", "3declassicld", "3deradial4"],
exclusive=True,
),
desc.BoolParam(
name="handleSqueeze",
Expand All @@ -52,7 +51,6 @@ class DistortionCalibration(desc.AVCommandLineNode):
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
),
]

Expand Down
2 changes: 0 additions & 2 deletions meshroom/nodes/aliceVision/ExportAnimatedCamera.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ class ExportAnimatedCamera(desc.AVCommandLineNode):
description="Image file format to use for undistorted images ('jpg', 'png', 'tif', 'exr (half)').",
value="exr",
values=["jpg", "png", "tif", "exr"],
exclusive=True,
enabled=lambda node: node.exportUndistortedImages.value,
),
desc.BoolParam(
Expand All @@ -76,7 +75,6 @@ class ExportAnimatedCamera(desc.AVCommandLineNode):
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
),
]

Expand Down
1 change: 0 additions & 1 deletion meshroom/nodes/aliceVision/ExportColoredPointCloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ class ExportColoredPointCloud(desc.AVCommandLineNode):
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
),
]

Expand Down
1 change: 0 additions & 1 deletion meshroom/nodes/aliceVision/ExportDistortion.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ class ExportDistortion(desc.AVCommandLineNode):
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
),
]

Expand Down
1 change: 0 additions & 1 deletion meshroom/nodes/aliceVision/ExportMatches.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ class ExportMatches(desc.AVCommandLineNode):
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
),
]

Expand Down
Loading

0 comments on commit 002d316

Please sign in to comment.