Skip to content

Commit 34cba32

Browse files
author
Fabien Servant
committed
Colorizing node
1 parent 648b095 commit 34cba32

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
__version__ = "1.0"
2+
3+
from meshroom.core import desc
4+
from meshroom.core.utils import VERBOSE_LEVEL
5+
6+
import json
7+
8+
class SfMColorizing(desc.AVCommandLineNode):
9+
10+
commandLine = "aliceVision_sfmColorizing {allParams}"
11+
size = desc.DynamicNodeSize("input")
12+
13+
category = "Utils"
14+
documentation = """
15+
Colorize the pointcloud of a sfmData
16+
"""
17+
18+
inputs = [
19+
desc.File(
20+
name="input",
21+
label="SfMData",
22+
description="Input SfMData file.",
23+
value="",
24+
),
25+
desc.ChoiceParam(
26+
name="verboseLevel",
27+
label="Verbose Level",
28+
description="Verbosity level (fatal, error, warning, info, debug, trace).",
29+
values=VERBOSE_LEVEL,
30+
value="info",
31+
),
32+
]
33+
34+
outputs = [
35+
desc.File(
36+
name="output",
37+
label="SfMData",
38+
description="Path to the output SfM file.",
39+
value=desc.Node.internalFolder + "sfmData.abc",
40+
),
41+
]

0 commit comments

Comments
 (0)