[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

@ -25,14 +25,14 @@ Thanks to this node, the FeatureMatching node will only compute the matches betw
label="Input A",
description="First input SfMData file.",
value="",
uid=[0],
invalidate=True,
),
desc.File(
name="inputB",
label="Input B",
description="Second input SfMData file.",
value="",
uid=[0],
invalidate=True,
),
desc.ListAttribute(
elementDesc=desc.File(
@ -40,7 +40,7 @@ Thanks to this node, the FeatureMatching node will only compute the matches betw
label="Features Folder",
description="Folder containing some extracted features and descriptors.",
value="",
uid=[0],
invalidate=True,
),
name="featuresFolders",
label="Features Folders",
@ -60,14 +60,14 @@ Thanks to this node, the FeatureMatching node will only compute the matches betw
value="SequentialAndVocabularyTree",
values=["VocabularyTree", "SequentialAndVocabularyTree", "Exhaustive", "Frustum"],
exclusive=True,
uid=[0],
invalidate=True,
),
desc.File(
name="tree",
label="Voc Tree: Tree",
description="Input name for the vocabulary tree file.",
value="${ALICEVISION_VOCTREE}",
uid=[],
invalidate=False,
enabled=lambda node: "VocabularyTree" in node.method.value,
),
desc.File(
@ -76,7 +76,7 @@ Thanks to this node, the FeatureMatching node will only compute the matches betw
description="Input name for the weight file.\n"
"If not provided, the weights will be computed on the database built with the provided set.",
value="",
uid=[0],
invalidate=True,
advanced=True,
enabled=lambda node: "VocabularyTree" in node.method.value,
),
@ -90,7 +90,7 @@ Thanks to this node, the FeatureMatching node will only compute the matches betw
value="a/a+a/b",
values=["a/a+a/b","a/ab", "a/b"],
exclusive=True,
uid=[0],
invalidate=True,
),
desc.IntParam(
name="minNbImages",
@ -99,7 +99,7 @@ Thanks to this node, the FeatureMatching node will only compute the matches betw
"If we have less features than this threshold, we will compute all the matching combinations.",
value=200,
range=(0, 500, 1),
uid=[0],
invalidate=True,
advanced=True,
enabled=lambda node: "VocabularyTree" in node.method.value,
),
@ -109,7 +109,7 @@ Thanks to this node, the FeatureMatching node will only compute the matches betw
description="Limit the number of descriptors you load per image. 0 means no limit.",
value=500,
range=(0, 100000, 1),
uid=[0],
invalidate=True,
advanced=True,
enabled=lambda node: "VocabularyTree" in node.method.value,
),
@ -119,7 +119,7 @@ Thanks to this node, the FeatureMatching node will only compute the matches betw
description="The number of matches to retrieve for each image. (If 0, it will retrieve all the matches).",
value=40,
range=(0, 1000, 1),
uid=[0],
invalidate=True,
advanced=True,
enabled=lambda node: "VocabularyTree" in node.method.value,
),
@ -129,7 +129,7 @@ Thanks to this node, the FeatureMatching node will only compute the matches betw
description="The number of neighbors to retrieve for each image. (If 0, it will retrieve all the neighbors).",
value=5,
range=(0, 1000, 1),
uid=[0],
invalidate=True,
advanced=True,
enabled=lambda node: "Sequential" in node.method.value,
),
@ -140,7 +140,7 @@ Thanks to this node, the FeatureMatching node will only compute the matches betw
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
uid=[],
invalidate=False,
),
]
@ -150,13 +150,13 @@ Thanks to this node, the FeatureMatching node will only compute the matches betw
label="List File",
description="Filepath to the output file with the list of selected image pairs.",
value=desc.Node.internalFolder + "imageMatches.txt",
uid=[],
invalidate=False,
),
desc.File(
name="outputCombinedSfM",
label="Combined SfM",
description="Path for the combined SfMData file.",
value=desc.Node.internalFolder + "combineSfM.sfm",
uid=[],
invalidate=False,
),
]