annotate icqsol_rotate_shape.xml @ 0:f63d4da328a3 draft default tip

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