mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 18:27:23 +02:00
Merge pull request #2610 from alicevision/dev/colorizePointCloud
New SfMColorizing Node
This commit is contained in:
commit
908312ad1c
1 changed files with 41 additions and 0 deletions
41
meshroom/nodes/aliceVision/SfMColorizing.py
Normal file
41
meshroom/nodes/aliceVision/SfMColorizing.py
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
__version__ = "1.0"
|
||||||
|
|
||||||
|
from meshroom.core import desc
|
||||||
|
from meshroom.core.utils import VERBOSE_LEVEL
|
||||||
|
|
||||||
|
import json
|
||||||
|
|
||||||
|
class SfMColorizing(desc.AVCommandLineNode):
|
||||||
|
|
||||||
|
commandLine = "aliceVision_sfmColorizing {allParams}"
|
||||||
|
size = desc.DynamicNodeSize("input")
|
||||||
|
|
||||||
|
category = "Utils"
|
||||||
|
documentation = """
|
||||||
|
Colorize the pointcloud of a sfmData
|
||||||
|
"""
|
||||||
|
|
||||||
|
inputs = [
|
||||||
|
desc.File(
|
||||||
|
name="input",
|
||||||
|
label="SfMData",
|
||||||
|
description="Input SfMData file.",
|
||||||
|
value="",
|
||||||
|
),
|
||||||
|
desc.ChoiceParam(
|
||||||
|
name="verboseLevel",
|
||||||
|
label="Verbose Level",
|
||||||
|
description="Verbosity level (fatal, error, warning, info, debug, trace).",
|
||||||
|
values=VERBOSE_LEVEL,
|
||||||
|
value="info",
|
||||||
|
),
|
||||||
|
]
|
||||||
|
|
||||||
|
outputs = [
|
||||||
|
desc.File(
|
||||||
|
name="output",
|
||||||
|
label="SfMData",
|
||||||
|
description="Path to the output SfM file.",
|
||||||
|
value=desc.Node.internalFolder + "sfmData.abc",
|
||||||
|
),
|
||||||
|
]
|
Loading…
Add table
Reference in a new issue