Salome HOME
Issue #2577: EDF 2018-2 Fusion of connected faces.
[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     <validator id="GeomValidators_DifferentShapes"/>
29   </multi_selector>
30   <boolvalue id="closed" label="Closed" tooltip="Makes the curve closed." default="false"/>
31   <boolvalue id="reorder" label="Reorder" tooltip="Changes the order of points to construct the shortest curve." default="false"/>
32   <optionalbox id="use_tangents" title="Tangents" default="false">
33     <shape_selector id="tangent_start"
34                     icon="icons/Features/axis.png"
35                     label="Start"
36                     tooltip="Select vector tangent to the start of curve"
37                     shape_types="edge"
38                     default="&lt;start&gt;">
39       <validator id="GeomValidators_ShapeType" parameters="empty,line"/>
40     </shape_selector>
41     <shape_selector id="tangent_end"
42                     icon="icons/Features/axis.png"
43                     label="End"
44                     tooltip="Select vector tangent to the end of curve"
45                     shape_types="edge"
46                     default="&lt;end&gt;">
47       <validator id="GeomValidators_ShapeType" parameters="empty,line"/>
48     </shape_selector>
49   </optionalbox>
50   <validator id="GeomValidators_MinObjectsSelected" parameters="base_objects,2"/>
51 </source>