comparison icqsol_add_texture.xml @ 1:0a94307d301c draft

Uploaded
author greg
date Thu, 10 Dec 2015 08:01:01 -0500
parents 4afbbfafc3c2
children eb0b9337e095
comparison
equal deleted inserted replaced
0:4afbbfafc3c2 1:0a94307d301c
11 --input "$input" 11 --input "$input"
12 --input_file_format_and_type $input.ext 12 --input_file_format_and_type $input.ext
13 --input_dataset_type $input.metadata.dataset_type 13 --input_dataset_type $input.metadata.dataset_type
14 --input_texture "$input_texture" 14 --input_texture "$input_texture"
15 --input_texture_file_format $input_texture.ext 15 --input_texture_file_format $input_texture.ext
16 #if $max_edge_length > 0: 16 #if $refine_shape_cond.refine_shape == "yes":
17 --max_edge_length $max_edge_length 17 --max_edge_length $refine_shape_cond.max_edge_length
18 #end if 18 #end if
19 --output "$output" 19 --output "$output"
20 --output_vtk_type $output_vtk_type 20 --output_vtk_type $output_vtk_type
21 ]]> 21 ]]>
22 </command> 22 </command>
23 <inputs> 23 <inputs>
24 <param name="input" type="data" format="vtkascii,vtkbinary" label="Shape" help="Format can be vtkascii or vtkbinary." /> 24 <param name="input" type="data" format="vtkascii,vtkbinary" label="Shape" help="Format can be vtkascii or vtkbinary." />
25 <param name="input_texture" type="data" format="jpg,png" label="Texture image" help="Format can be jpg or png." /> 25 <param name="input_texture" type="data" format="jpg,png" label="Texture image" help="Format can be jpg or png." />
26 <param name="max_edge_length" type="float" value="0.0" optional="True" label="Maximum edge length" help="Optionally refine shape by restricting edges to this length (zero value results in no refinement)."> 26 <conditional name="refine_shape_cond">
27 <validator type="in_range" min="0" exclude_min="true" /> 27 <param name="refine_shape" type="select" label="Refine shape?" help="Points will be added to the shape's edges restricting their length to the maximum.">
28 </param> 28 <option value="no" selected="True">No</option>
29 <option value="yes">Yes</option>
30 </param>
31 <when value="no" />
32 <when value="yes">
33 <param name="max_edge_length" type="float" value="0" label="Maximum edge length" help="Refine shape by restricting edges to this length (zero value results in no refinement).">
34 <validator type="in_range" min="0" exclude_min="true" />
35 </param>
36 </when>
37 </conditional>
29 <expand macro="output_vtk_type_params" /> 38 <expand macro="output_vtk_type_params" />
30 </inputs> 39 </inputs>
31 <outputs> 40 <outputs>
32 <data name="output" format="vtkascii"> 41 <data name="output" format="vtkascii">
33 <actions> 42 <actions>