mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-06 12:51:57 +02:00
[nodes] new node SfMAlignment
This commit is contained in:
parent
4ca1e9387e
commit
b8799bb9f0
1 changed files with 45 additions and 0 deletions
45
meshroom/nodes/aliceVision/SfMAlignment.py
Normal file
45
meshroom/nodes/aliceVision/SfMAlignment.py
Normal file
|
@ -0,0 +1,45 @@
|
|||
import sys
|
||||
import os
|
||||
from meshroom.core import desc
|
||||
|
||||
|
||||
class SfMAlignment(desc.CommandLineNode):
|
||||
internalFolder = '{cache}/{nodeType}/{uid0}/'
|
||||
commandLine = 'aliceVision_utils_sfmAlignment {allParams}'
|
||||
size = desc.DynamicNodeSize('input')
|
||||
|
||||
inputs = [
|
||||
desc.File(
|
||||
name='input',
|
||||
label='Input',
|
||||
description='''SfMData file .''',
|
||||
value='',
|
||||
uid=[0],
|
||||
),
|
||||
desc.File(
|
||||
name='reference',
|
||||
label='Reference',
|
||||
description='''Path to the scene used as the reference coordinate system.''',
|
||||
value='',
|
||||
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='''Aligned SfMData file .''',
|
||||
value='{cache}/{nodeType}/{uid0}/alignedSfM.abc',
|
||||
uid=[],
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue