mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 02:08:08 +02:00
Merge pull request #2308 from alicevision/dev/e57reader
Add an "E57" importer node
This commit is contained in:
commit
cb1a18fbd4
1 changed files with 55 additions and 0 deletions
55
meshroom/nodes/aliceVision/ImportE57.py
Normal file
55
meshroom/nodes/aliceVision/ImportE57.py
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
__version__ = "1.0"
|
||||||
|
|
||||||
|
from meshroom.core import desc
|
||||||
|
|
||||||
|
|
||||||
|
class ImportE57(desc.AVCommandLineNode):
|
||||||
|
commandLine = 'aliceVision_importE57 {allParams}'
|
||||||
|
size = desc.DynamicNodeSize('input')
|
||||||
|
|
||||||
|
category = 'Utils'
|
||||||
|
documentation = '''
|
||||||
|
Import an E57 file and generate an SfMData.
|
||||||
|
'''
|
||||||
|
|
||||||
|
inputs = [
|
||||||
|
desc.ListAttribute(
|
||||||
|
elementDesc=desc.File(
|
||||||
|
name="inputFile",
|
||||||
|
label="E57 File",
|
||||||
|
description="Path to an E57 file.",
|
||||||
|
value="",
|
||||||
|
uid=[0],
|
||||||
|
),
|
||||||
|
name="input",
|
||||||
|
label="Input Files",
|
||||||
|
description="Set of E57 files in the same reference frame."
|
||||||
|
),
|
||||||
|
desc.FloatParam(
|
||||||
|
name="maxDensity",
|
||||||
|
label="Points Density",
|
||||||
|
description="Ensure no points has no neighbour closer than maxDensity meters.",
|
||||||
|
value=0.01,
|
||||||
|
range=(0.0, 0.2, 0.001),
|
||||||
|
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"],
|
||||||
|
exclusive=True,
|
||||||
|
uid=[],
|
||||||
|
)
|
||||||
|
]
|
||||||
|
|
||||||
|
outputs = [
|
||||||
|
desc.File(
|
||||||
|
name="output",
|
||||||
|
label="Output",
|
||||||
|
description="Path to the output SfMData file.",
|
||||||
|
value=desc.Node.internalFolder + "sfm.abc",
|
||||||
|
uid=[],
|
||||||
|
),
|
||||||
|
]
|
Loading…
Add table
Reference in a new issue