]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Extension of SWIG interfaces
authorsbh <sergey.belash@opencascade.com>
Tue, 18 Nov 2014 12:26:34 +0000 (15:26 +0300)
committersbh <sergey.belash@opencascade.com>
Tue, 18 Nov 2014 12:26:34 +0000 (15:26 +0300)
src/GeomAPI/GeomAPI.i
src/GeomAlgoAPI/GeomAlgoAPI.i
src/ModelAPI/ModelAPI.i

index 474ea1caa67fc0f0475d92afa9401837532fe66f..99ff18f0231f723c38e3e43f3df16ce8dda1a5ee 100644 (file)
@@ -3,10 +3,24 @@
 %{
   #include "GeomAPI.h"
   #include "GeomAPI_Interface.h"
-  #include "GeomAPI_Pnt.h"
+  #include "GeomAPI_Shape.h"
+  #include "GeomAPI_AISObject.h"
+  #include "GeomAPI_Circ2d.h"
+  #include "GeomAPI_Circ.h"
+  #include "GeomAPI_Curve.h"
+  #include "GeomAPI_DataMapOfShapeShape.h"
+  #include "GeomAPI_Dir2d.h"
   #include "GeomAPI_Dir.h"
+  #include "GeomAPI_Edge.h"
+  #include "GeomAPI_IPresentable.h"
+  #include "GeomAPI_Lin2d.h"
+  #include "GeomAPI_Lin.h"
+  #include "GeomAPI_PlanarEdges.h"
   #include "GeomAPI_Pln.h"
-  #include "GeomAPI_Shape.h"
+  #include "GeomAPI_Pnt2d.h"
+  #include "GeomAPI_Pnt.h"
+  #include "GeomAPI_XY.h"
+  #include "GeomAPI_XYZ.h"
 %}
 
 // to avoid error on this
 %include "std_shared_ptr.i"
 
 // shared pointers
-%shared_ptr(GeomAPI_Interface)
-%shared_ptr(GeomAPI_Pnt)
+%shared_ptr(GeomAPI_AISObject)
+%shared_ptr(GeomAPI_Circ2d)
+%shared_ptr(GeomAPI_Circ)
+%shared_ptr(GeomAPI_Curve)
+%shared_ptr(GeomAPI_DataMapOfShapeShape)
+%shared_ptr(GeomAPI_Dir2d)
 %shared_ptr(GeomAPI_Dir)
+%shared_ptr(GeomAPI_Edge)
+%shared_ptr(GeomAPI_Interface)
+%shared_ptr(GeomAPI_IPresentable)
+%shared_ptr(GeomAPI_Lin2d)
+%shared_ptr(GeomAPI_Lin)
+%shared_ptr(GeomAPI_PlanarEdges)
 %shared_ptr(GeomAPI_Pln)
+%shared_ptr(GeomAPI_Pnt2d)
+%shared_ptr(GeomAPI_Pnt)
 %shared_ptr(GeomAPI_Shape)
+%shared_ptr(GeomAPI_XY)
+%shared_ptr(GeomAPI_XYZ)
 
 // all supported interfaces
 %include "GeomAPI_Interface.h"
-%include "GeomAPI_Pnt.h"
+%include "GeomAPI_Shape.h"
+%include "GeomAPI_AISObject.h"
+%include "GeomAPI_Circ2d.h"
+%include "GeomAPI_Circ.h"
+%include "GeomAPI_Curve.h"
+%include "GeomAPI_DataMapOfShapeShape.h"
+%include "GeomAPI_Dir2d.h"
 %include "GeomAPI_Dir.h"
+%include "GeomAPI_Edge.h"
+%include "GeomAPI_IPresentable.h"
+%include "GeomAPI_Lin2d.h"
+%include "GeomAPI_Lin.h"
+%include "GeomAPI_PlanarEdges.h"
 %include "GeomAPI_Pln.h"
-%include "GeomAPI_Shape.h"
+%include "GeomAPI_Pnt2d.h"
+%include "GeomAPI_Pnt.h"
+%include "GeomAPI_XY.h"
+%include "GeomAPI_XYZ.h"
index b93be2a7e5af7c1f565a014a5845e2e60088d79f..4a1b94eda26a22cb49054ef3f7cca3807457a491 100644 (file)
@@ -2,8 +2,13 @@
 %module GeomAlgoAPI
 %{
   #include "GeomAlgoAPI.h"
-  #include "GeomAlgoAPI_FaceBuilder.h"
+  #include "GeomAlgoAPI_Boolean.h"
+  #include "GeomAlgoAPI_CompoundBuilder.h"
+  #include "GeomAlgoAPI_DFLoader.h"
   #include "GeomAlgoAPI_EdgeBuilder.h"
+  #include "GeomAlgoAPI_Extrusion.h"
+  #include "GeomAlgoAPI_FaceBuilder.h"
+  #include "GeomAlgoAPI_MakeShape.h"
   #include "GeomAlgoAPI_PointBuilder.h"
   #include "GeomAlgoAPI_SketchBuilder.h"
 %}
 %include "std_list.i"
 %include "std_shared_ptr.i"
 
-%template(ShapeList) std::list<std::shared_ptr<GeomAPI_Shape> >;
-
 // all supported interfaces
-%include "GeomAlgoAPI_FaceBuilder.h"
+%include "GeomAlgoAPI_Boolean.h"
+%include "GeomAlgoAPI_CompoundBuilder.h"
+%include "GeomAlgoAPI_DFLoader.h"
 %include "GeomAlgoAPI_EdgeBuilder.h"
+%include "GeomAlgoAPI_Extrusion.h"
+%include "GeomAlgoAPI_FaceBuilder.h"
+%include "GeomAlgoAPI_MakeShape.h"
 %include "GeomAlgoAPI_PointBuilder.h"
 %include "GeomAlgoAPI_SketchBuilder.h"
+
+%template(ShapeList) std::list<std::shared_ptr<GeomAPI_Shape> >;
\ No newline at end of file
index c1ade993d4bb7a8ceb41cbdcb10a117fce090882..3017bac28f2df63cc839566b92a669091918014b 100644 (file)
   #include "ModelAPI_AttributeRefAttr.h"
   #include "ModelAPI_AttributeSelection.h"
   #include "ModelAPI_AttributeSelectionList.h"
+  #include "ModelAPI_AttributeValidator.h"
   #include "ModelAPI_Validator.h"
+  #include "ModelAPI_FeatureValidator.h"
   #include "ModelAPI_AttributeRefList.h"
   #include "ModelAPI_AttributeBoolean.h"
   #include "ModelAPI_Result.h"
   #include "ModelAPI_ResultConstruction.h"
   #include "ModelAPI_ResultBody.h"
   #include "ModelAPI_ResultPart.h"
+  #include "ModelAPI_ResultParameters.h"
+  #include "ModelAPI_ResultGroup.h"
+  #include "ModelAPI_Tools.h"
   
   template<class T1, class T2> 
   std::shared_ptr<T1> shared_ptr_cast(std::shared_ptr<T2> theObject)
 %shared_ptr(ModelAPI_AttributeBoolean)
 %shared_ptr(ModelAPI_AttributeSelection)
 %shared_ptr(ModelAPI_AttributeSelectionList)
+%shared_ptr(ModelAPI_Validator)
+%shared_ptr(ModelAPI_AttributeValidator)
+%shared_ptr(ModelAPI_FeatureValidator)
 %shared_ptr(ModelAPI_Result)
 %shared_ptr(ModelAPI_ResultConstruction)
 %shared_ptr(ModelAPI_ResultBody)
 %shared_ptr(ModelAPI_ResultPart)
+%shared_ptr(ModelAPI_ResultGroup)
+%shared_ptr(ModelAPI_ResultParameters)
 
 // all supported interfaces
 %include "GeomAPI_Interface.h"
 %include "ModelAPI_AttributeSelectionList.h"
 %include "ModelAPI_AttributeRefList.h"
 %include "ModelAPI_Validator.h"
+%include "ModelAPI_AttributeValidator.h"
+%include "ModelAPI_FeatureValidator.h"
 %include "ModelAPI_Result.h"
 %include "ModelAPI_ResultConstruction.h"
 %include "ModelAPI_ResultBody.h"
 %include "ModelAPI_ResultPart.h"
+%include "ModelAPI_ResultGroup.h"
+%include "ModelAPI_ResultParameters.h"
+%include "ModelAPI_Tools.h"
 
 %template(ObjectList) std::list<std::shared_ptr<ModelAPI_Object> >;
 %template(ResultList) std::list<std::shared_ptr<ModelAPI_Result> >;