mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-29 00:46:32 +02:00
[nodes] A-C: Harmonize and improve labels and descriptions
Use CamelCase for all labels, always end descriptions with periods, and replace the mixed use of single and double quotes with double quotes only.
This commit is contained in:
parent
6ac9948b04
commit
241bead35c
10 changed files with 757 additions and 668 deletions
|
@ -15,97 +15,97 @@ It can also be used to remove specific parts of from an SfM scene (like filter a
|
|||
|
||||
inputs = [
|
||||
desc.File(
|
||||
name='input',
|
||||
label='Input',
|
||||
description='SfMData file.',
|
||||
value='',
|
||||
name="input",
|
||||
label="Input",
|
||||
description="SfMData file.",
|
||||
value="",
|
||||
uid=[0],
|
||||
),
|
||||
desc.ChoiceParam(
|
||||
name='fileExt',
|
||||
label='SfM File Format',
|
||||
description='SfM File Format',
|
||||
value='abc',
|
||||
values=['abc', 'sfm', 'json', 'ply', 'baf'],
|
||||
name="fileExt",
|
||||
label="SfM File Format",
|
||||
description="Output SfM file format.",
|
||||
value="abc",
|
||||
values=["abc", "sfm", "json", "ply", "baf"],
|
||||
exclusive=True,
|
||||
uid=[0],
|
||||
group='', # exclude from command line
|
||||
group="", # exclude from command line
|
||||
),
|
||||
desc.ChoiceParam(
|
||||
name='describerTypes',
|
||||
label='Describer Types',
|
||||
description='Describer types to keep.',
|
||||
value=['dspsift'],
|
||||
values=['sift', 'sift_float', 'sift_upright', 'dspsift', 'akaze', 'akaze_liop', 'akaze_mldb', 'cctag3', 'cctag4', 'sift_ocv', 'akaze_ocv', 'tag16h5', 'unknown'],
|
||||
name="describerTypes",
|
||||
label="Describer Types",
|
||||
description="Describer types to keep.",
|
||||
value=["dspsift"],
|
||||
values=["sift", "sift_float", "sift_upright", "dspsift", "akaze", "akaze_liop", "akaze_mldb", "cctag3", "cctag4", "sift_ocv", "akaze_ocv", "tag16h5", "unknown"],
|
||||
exclusive=False,
|
||||
uid=[0],
|
||||
joinChar=',',
|
||||
joinChar=",",
|
||||
),
|
||||
desc.ListAttribute(
|
||||
elementDesc=desc.File(
|
||||
name="imageId",
|
||||
label="Image id",
|
||||
description="",
|
||||
label="Image ID",
|
||||
description="UID or path of an image to add to the whitelist.",
|
||||
value="",
|
||||
uid=[0],
|
||||
),
|
||||
name="imageWhiteList",
|
||||
label="Image White List",
|
||||
description='image white list (uids or image paths).',
|
||||
description="Image white list (UIDs or image paths).",
|
||||
),
|
||||
desc.BoolParam(
|
||||
name='views',
|
||||
label='Views',
|
||||
description='Export views.',
|
||||
name="views",
|
||||
label="Views",
|
||||
description="Export views.",
|
||||
value=True,
|
||||
uid=[0],
|
||||
),
|
||||
desc.BoolParam(
|
||||
name='intrinsics',
|
||||
label='Intrinsics',
|
||||
description='Export intrinsics.',
|
||||
name="intrinsics",
|
||||
label="Intrinsics",
|
||||
description="Export intrinsics.",
|
||||
value=True,
|
||||
uid=[0],
|
||||
),
|
||||
desc.BoolParam(
|
||||
name='extrinsics',
|
||||
label='Extrinsics',
|
||||
description='Export extrinsics.',
|
||||
name="extrinsics",
|
||||
label="Extrinsics",
|
||||
description="Export extrinsics.",
|
||||
value=True,
|
||||
uid=[0],
|
||||
),
|
||||
desc.BoolParam(
|
||||
name='structure',
|
||||
label='Structure',
|
||||
description='Export structure.',
|
||||
name="structure",
|
||||
label="Structure",
|
||||
description="Export structure.",
|
||||
value=True,
|
||||
uid=[0],
|
||||
),
|
||||
desc.BoolParam(
|
||||
name='observations',
|
||||
label='Observations',
|
||||
description='Export observations.',
|
||||
name="observations",
|
||||
label="Observations",
|
||||
description="Export observations.",
|
||||
value=True,
|
||||
uid=[0],
|
||||
),
|
||||
desc.ChoiceParam(
|
||||
name='verboseLevel',
|
||||
label='Verbose Level',
|
||||
description='verbosity level (fatal, error, warning, info, debug, trace).',
|
||||
value='info',
|
||||
values=['fatal', 'error', 'warning', 'info', 'debug', 'trace'],
|
||||
name="verboseLevel",
|
||||
label="Verbose Level",
|
||||
description="Verbosity level (fatal, error, warning, info, debug, trace).",
|
||||
value="info",
|
||||
values=["fatal", "error", "warning", "info", "debug", "trace"],
|
||||
exclusive=True,
|
||||
uid=[0],
|
||||
uid=[],
|
||||
),
|
||||
]
|
||||
|
||||
outputs = [
|
||||
desc.File(
|
||||
name='output',
|
||||
label='Output',
|
||||
description='Path to the output SfM Data file.',
|
||||
value=desc.Node.internalFolder + 'sfm.{fileExtValue}',
|
||||
name="output",
|
||||
label="Output",
|
||||
description="Path to the output SfMData file.",
|
||||
value=desc.Node.internalFolder + "sfm.{fileExtValue}",
|
||||
uid=[],
|
||||
),
|
||||
),
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue