]> SALOME platform Git repositories - modules/shaper.git/blob - src/BuildPlugin/interpolation_widget.xml
Salome HOME
Issue #2560: Add Interpolation feature to Build plugin for creation a curve by the...
[modules/shaper.git] / src / BuildPlugin / interpolation_widget.xml
1 <!--
2 Copyright (C) 2014-2017  CEA/DEN, EDF R&D
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 Lesser General Public License for more details.
13
14 You should have received a copy of the GNU Lesser General Public
15 License along with this library; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
18 See http:##www.salome-platform.org/ or
19 email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
20 -->
21
22 <source>
23   <multi_selector id="base_objects"
24                   label="Points and vertices:"
25                   tooltip="Select points or vertices objects."
26                   type_choice="vertices"
27                   concealment="true">
28   </multi_selector>
29   <boolvalue id="closed" label="Closed" tooltip="Makes the curve closed." default="false"/>
30   <boolvalue id="reorder" label="Reorder" tooltip="Changes the order of points to construct the shortest curve." default="false"/>
31   <optionalbox id="use_tangents" title="Tangents" default="false">
32     <shape_selector id="tangent_start"
33                     icon="icons/Features/axis.png"
34                     label="Start"
35                     tooltip="Select vector tangent to the start of curve"
36                     shape_types="edge"
37                     default="&lt;start&gt;">
38       <validator id="GeomValidators_ShapeType" parameters="empty,line"/>
39     </shape_selector>
40     <shape_selector id="tangent_end"
41                     icon="icons/Features/axis.png"
42                     label="End"
43                     tooltip="Select vector tangent to the end of curve"
44                     shape_types="edge"
45                     default="&lt;end&gt;">
46       <validator id="GeomValidators_ShapeType" parameters="empty,line"/>
47     </shape_selector>
48   </optionalbox>
49   <validator id="GeomValidators_MinObjectsSelected" parameters="base_objects,2"/>
50 </source>