[nodes] Change uid= into invalidate= for all nodes

This commit is contained in:
Candice Bentéjac 2024-09-05 17:05:45 +02:00
parent b726387534
commit 045c26cc46
81 changed files with 1109 additions and 1112 deletions

View file

@ -22,7 +22,7 @@ Estimate relative camera rotations between input images.
label="SfMData",
description="Input SfMData file.",
value="",
uid=[0],
invalidate=True,
),
desc.ListAttribute(
elementDesc=desc.File(
@ -30,7 +30,7 @@ Estimate relative camera rotations between input images.
label="Features Folder",
description="Folder containing some extracted features.",
value="",
uid=[0],
invalidate=True,
),
name="featuresFolders",
label="Features Folders",
@ -42,7 +42,7 @@ Estimate relative camera rotations between input images.
label="Matches Folder",
description="Folder containing some matches.",
value="",
uid=[0],
invalidate=True,
),
name="matchesFolders",
label="Matches Folders",
@ -55,7 +55,7 @@ Estimate relative camera rotations between input images.
values=DESCRIBER_TYPES,
value=["sift"],
exclusive=False,
uid=[0],
invalidate=True,
joinChar=",",
),
desc.FloatParam(
@ -64,7 +64,7 @@ Estimate relative camera rotations between input images.
description="Offset to the panorama longitude (in degrees).",
value=0.0,
range=(-180.0, 180.0, 1.0),
uid=[0],
invalidate=True,
),
desc.FloatParam(
name="offsetLatitude",
@ -72,7 +72,7 @@ Estimate relative camera rotations between input images.
description="Offset to the panorama latitude (in degrees).",
value=0.0,
range=(-90.0, 90.0, 1.0),
uid=[0],
invalidate=True,
),
desc.ChoiceParam(
name="rotationAveraging",
@ -83,7 +83,7 @@ Estimate relative camera rotations between input images.
values=["L1_minimization", "L2_minimization"],
value="L2_minimization",
exclusive=True,
uid=[0],
invalidate=True,
advanced=True,
),
desc.ChoiceParam(
@ -96,7 +96,7 @@ Estimate relative camera rotations between input images.
values=["essential_matrix", "homography_matrix", "rotation_matrix"],
value="rotation_matrix",
exclusive=True,
uid=[0],
invalidate=True,
advanced=True,
),
desc.BoolParam(
@ -104,7 +104,7 @@ Estimate relative camera rotations between input images.
label="Rotation Averaging Weighting",
description="Rotation averaging weighting based on the number of feature matches.",
value=True,
uid=[0],
invalidate=True,
advanced=True,
),
desc.BoolParam(
@ -112,14 +112,14 @@ Estimate relative camera rotations between input images.
label="Filter Matches",
description="Filter the matches.",
value=False,
uid=[0],
invalidate=True,
),
desc.BoolParam(
name="refine",
label="Refine",
description="Refine camera relative poses, points and optionally internal camera parameters.",
value=True,
uid=[0],
invalidate=True,
),
desc.BoolParam(
name="lockAllIntrinsics",
@ -128,7 +128,7 @@ Estimate relative camera rotations between input images.
"principal point, distortion if any) constant during the reconstruction.\n"
"This may be helpful if the input cameras are already fully calibrated.",
value=False,
uid=[0],
invalidate=True,
),
desc.FloatParam(
name="maxAngleToPrior",
@ -136,7 +136,7 @@ Estimate relative camera rotations between input images.
description="Maximum angle allowed regarding the input prior (in degrees) before refinement.",
value=20.0,
range=(0.0, 360.0, 1.0),
uid=[0],
invalidate=True,
advanced=True,
),
desc.FloatParam(
@ -145,7 +145,7 @@ Estimate relative camera rotations between input images.
description="Maximum angle allowed regarding the input prior (in degrees) after refinement.",
value=2.0,
range=(0.0, 360.0, 1.0),
uid=[0],
invalidate=True,
advanced=True,
),
desc.FloatParam(
@ -154,7 +154,7 @@ Estimate relative camera rotations between input images.
description="Maximum angular error in global rotation averging (in degrees).",
value=100.0,
range=(0.0, 360.0, 1.0),
uid=[0],
invalidate=True,
advanced=True,
),
desc.BoolParam(
@ -162,7 +162,7 @@ Estimate relative camera rotations between input images.
label="Intermediate Refine: Focal",
description="Intermediate refine with rotation and focal length only.",
value=False,
uid=[0],
invalidate=True,
advanced=True,
),
desc.BoolParam(
@ -170,7 +170,7 @@ Estimate relative camera rotations between input images.
label="Intermediate Refine: Focal And Distortion",
description="Intermediate refine with rotation, focal length and distortion.",
value=False,
uid=[0],
invalidate=True,
advanced=True,
),
desc.ChoiceParam(
@ -180,7 +180,7 @@ Estimate relative camera rotations between input images.
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
uid=[],
invalidate=False,
),
]
@ -190,13 +190,13 @@ Estimate relative camera rotations between input images.
label="SfM File",
description="Path to the output SfM file.",
value=desc.Node.internalFolder + "panorama.abc",
uid=[],
invalidate=False,
),
desc.File(
name="outputViewsAndPoses",
label="Views And Poses",
description="Path to the output SfMData file with cameras (views and poses).",
value=desc.Node.internalFolder + "cameras.sfm",
uid=[],
invalidate=False,
),
]