]> SALOME platform Git repositories - modules/shaper.git/blob - src/FeaturesAPI/FeaturesAPI.i
Salome HOME
3fc4da73d07b2da419ba2403ce5484013994e9f5
[modules/shaper.git] / src / FeaturesAPI / FeaturesAPI.i
1 // Copyright (C) 2014-2017  CEA/DEN, EDF R&D
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License, or (at your option) any later version.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
18 //
19
20 /* FeaturesAPI.i */
21
22 %module FeaturesAPI
23
24 %{
25   #include "FeaturesAPI_swig.h"
26 %}
27
28 %include "doxyhelp.i"
29
30 // import other modules
31 %import "ModelHighAPI.i"
32
33 // to avoid error on this
34 #define FEATURESAPI_EXPORT
35
36 // standard definitions
37 %include "typemaps.i"
38 %include "std_shared_ptr.i"
39
40 // shared pointers
41 %shared_ptr(FeaturesAPI_Boolean)
42 %shared_ptr(FeaturesAPI_Extrusion)
43 %shared_ptr(FeaturesAPI_ExtrusionBoolean)
44 %shared_ptr(FeaturesAPI_ExtrusionCut)
45 %shared_ptr(FeaturesAPI_ExtrusionFuse)
46 %shared_ptr(FeaturesAPI_Intersection)
47 %shared_ptr(FeaturesAPI_MultiTranslation)
48 %shared_ptr(FeaturesAPI_Partition)
49 %shared_ptr(FeaturesAPI_Pipe)
50 %shared_ptr(FeaturesAPI_Placement)
51 %shared_ptr(FeaturesAPI_Recover)
52 %shared_ptr(FeaturesAPI_RemoveSubShapes)
53 %shared_ptr(FeaturesAPI_Revolution)
54 %shared_ptr(FeaturesAPI_RevolutionBoolean)
55 %shared_ptr(FeaturesAPI_RevolutionCut)
56 %shared_ptr(FeaturesAPI_RevolutionFuse)
57 %shared_ptr(FeaturesAPI_Rotation)
58 %shared_ptr(FeaturesAPI_Scale)
59 %shared_ptr(FeaturesAPI_Symmetry)
60 %shared_ptr(FeaturesAPI_Translation)
61 %shared_ptr(FeaturesAPI_Union)
62
63 // all supported interfaces
64 %include "FeaturesAPI_Boolean.h"
65 %include "FeaturesAPI_Extrusion.h"
66 %include "FeaturesAPI_ExtrusionBoolean.h"
67 %include "FeaturesAPI_Intersection.h"
68 %include "FeaturesAPI_MultiTranslation.h"
69 %include "FeaturesAPI_Partition.h"
70 %include "FeaturesAPI_Pipe.h"
71 %include "FeaturesAPI_Placement.h"
72 %include "FeaturesAPI_Recover.h"
73 %include "FeaturesAPI_RemoveSubShapes.h"
74 %include "FeaturesAPI_Revolution.h"
75 %include "FeaturesAPI_RevolutionBoolean.h"
76 %include "FeaturesAPI_Rotation.h"
77 %include "FeaturesAPI_Scale.h"
78 %include "FeaturesAPI_Symmetry.h"
79 %include "FeaturesAPI_Translation.h"
80 %include "FeaturesAPI_Union.h"