[nodes] SfmTransform: update parameters doc

This commit is contained in:
Yann Lanthony 2019-01-18 10:09:27 +01:00 committed by GitHub
parent cf5b835272
commit a093673683
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,11 @@ class SfMTransform(desc.CommandLineNode):
desc.ChoiceParam(
name='method',
label='Transformation Method',
description='''Transformation method (transformation, auto_from_cameras, auto_from_landmarks).''',
description="Transformation method:\n"
" * transformation: Apply a given transformation\n"
" * auto_from_cameras: Use cameras\n"
" * auto_from_landmarks: Use landmarks\n"
" * from_single_camera: Use a specific camera as the origin of the coordinate system",
value='auto_from_landmarks',
values=['transformation', 'auto_from_cameras', 'auto_from_landmarks', 'from_single_camera'],
exclusive=True,
@ -27,7 +31,9 @@ class SfMTransform(desc.CommandLineNode):
desc.StringParam(
name='transformation',
label='Transformation',
description='''Align [X,Y,Z] to +Y-axis, rotate around Y by R deg, scale by S; syntax: X,Y,Z;R;S. (required only for 'transformation' method)''',
description="Required only for 'transformation' and 'from_single_camera' methods:\n"
" * transformation: Align [X,Y,Z] to +Y-axis, rotate around Y by R deg, scale by S; syntax: X,Y,Z;R;S\n"
" * from_single_camera: Camera UID or image filename",
value='',
uid=[0],
),