]> SALOME platform Git repositories - modules/shaper.git/blob - src/PrimitivesPlugin/sphere_widget.xml
Salome HOME
updated copyright message
[modules/shaper.git] / src / PrimitivesPlugin / sphere_widget.xml
1 <source>
2   <toolbox id="CreationMethod">
3     <box id="SphereByPointRadius" title="By point and radius" icon="icons/Primitives/sphere_32x32.png">
4       <shape_selector id="center_point"
5                       label="Center point"
6                       icon="icons/Primitives/point.png"
7                       tooltip="Select a center point"
8                       shape_types="vertex">
9       </shape_selector>
10       <doublevalue id="radius"
11                    label="Radius"
12                    icon="icons/Primitives/radius.png"
13                    tooltip="Enter a radius"
14                    step="1."
15                    default="10.">
16       </doublevalue>
17     </box>
18     <box id="SphereByDimensions" title="By dimensions" icon="icons/Primitives/sphere_part_32x32.png">
19       <groupbox title="Dimensions">
20         <doublevalue id="rmin"
21                      label="Rmin"
22                      step="1."
23                      default="0."
24                      tooltip="Enter the inner radius">
25         </doublevalue>
26         <doublevalue id="rmax"
27                      label="Rmax"
28                      step="1."
29                      default="10."
30                      tooltip="Enter the outer radius">
31         </doublevalue>
32       </groupbox>
33       <label title=""/>
34       <groupbox title="Phi/theta range">
35         <doublevalue id="phimin"
36                      label="Phi min"
37                      step="1."
38                      default="0."
39                      tooltip="Enter the azimuthal starting angle">
40         </doublevalue>
41         <doublevalue id="phimax"
42                      label="Phi max"
43                      step="1."
44                      default="360."
45                      max="360.0"
46                      tooltip="Enter the azimuthal revolution angle">
47         </doublevalue>
48         <doublevalue id="thetamin"
49                      label="Theta min"
50                      step="1."
51                      default="0."
52                      max="180.0"
53                      tooltip="Enter the polar starting angle">
54         </doublevalue>
55         <doublevalue id="thetamax"
56                      label="Theta max"
57                      step="1."
58                      default="180."
59                      max="180.0"
60                      tooltip="Enter the polar revolution angle">
61         </doublevalue>
62       </groupbox>
63     </box>
64   </toolbox>
65 </source>