annotate icqsol_translate_shape.xml @ 0:88af59c4a2e5 draft default tip

Uploaded
author iuc
date Tue, 23 Aug 2016 15:05:48 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
1 <?xml version='1.0' encoding='UTF-8'?>
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
2 <tool id="icqsol_translate_shape" name="Translate shape" version="@WRAPPER_VERSION@.0">
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
3 <description></description>
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
4 <macros>
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
5 <import>icqsol_macros.xml</import>
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
6 </macros>
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
7 <expand macro="requirements" />
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
8 <command>
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
9 <![CDATA[
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
10 python $__tool_directory__/icqsol_translate_shape.py
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
11 --input "$input"
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
12 --input_file_format_and_type $input.ext
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
13 --input_dataset_type $input.metadata.dataset_type
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
14 --displacement_x $displacement_x
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
15 --displacement_y $displacement_y
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
16 --displacement_z $displacement_z
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
17 --output "$output"
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
18 --output_vtk_type $output_vtk_type
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
19 ]]>
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
20 </command>
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
21 <inputs>
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
22 <param name="input" type="data" format="plyascii,plybinary,vtkascii,vtkbinary" label="Shape">
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
23 <validator type="dataset_ok_validator" />
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
24 </param>
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
25 <param name="displacement_x" type="float" value="0.0" label="X coordinate of displacement" help="Floating point number." />
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
26 <param name="displacement_y" type="float" value="0.0" label="Y coordinate of displacement" help="Floating point number." />
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
27 <param name="displacement_z" type="float" value="0.0" label="Z coordinate of displacement" help="Floating point number." />
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
28 <expand macro="output_vtk_type_params" />
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
29 </inputs>
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
30 <outputs>
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
31 <data name="output" format="vtkascii">
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
32 <actions>
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
33 <action type="format">
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
34 <option type="from_param" name="output_vtk_type" />
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
35 </action>
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
36 </actions>
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
37 </data>
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
38 </outputs>
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
39 <tests>
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
40 <test>
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
41 <param name="input" value="cylinder_with_field.vtkascii" ftype="vtkascii" />
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
42 <param name="input_file_format_and_type" value="vtkascii" />
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
43 <param name="input_dataset_type" value="POLYDATA" />
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
44 <param name="displacement_x" value="0.0" />
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
45 <param name="displacement_y" value="1.0" />
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
46 <param name="displacement_z" value="-0.5" />
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
47 <output name="output" file="translated_cylinder_with_field.vtkascii" ftype="vtkascii" />
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
48 <param name="output_vtk_type" value="vtkascii" />
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
49 </test>
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
50 </tests>
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
51 <help>
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
52
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
53 **What it does**
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
54
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
55 Applies translation operations to a shape by adding a displacement to each coordinate.
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
56
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
57 * **Shape** - Shape to be translated.
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
58 * **Displacement X,Y,Z** - Coordinates of the displacement.
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
59
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
60 </help>
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
61 <expand macro="citations" />
88af59c4a2e5 Uploaded
iuc
parents:
diff changeset
62 </tool>