Skip to content

Commit

Permalink
Merge pull request #356 from tpaviot/review/fix-missing-local-properties
Browse files Browse the repository at this point in the history
Fixed local properties
  • Loading branch information
tpaviot authored Nov 11, 2016
2 parents ba256bb + 1f77ff5 commit d3df0fd
Show file tree
Hide file tree
Showing 11 changed files with 260 additions and 9 deletions.
7 changes: 5 additions & 2 deletions src/SWIG_files/wrapper/AIS.i
Original file line number Diff line number Diff line change
Expand Up @@ -7773,6 +7773,9 @@ class Handle_AIS_Circle : public Handle_AIS_InteractiveObject {
%nodefaultctor AIS_ColoredDrawer;
class AIS_ColoredDrawer : public AIS_Drawer {
public:
bool myIsHidden;
bool myHasOwnColor;
bool myHasOwnWidth;
%feature("compactdefaultargs") AIS_ColoredDrawer;
%feature("autodoc", " :param theLink:
:type theLink: Handle_AIS_Drawer &
Expand Down Expand Up @@ -7942,6 +7945,7 @@ class Handle_AIS_ConnectedInteractive : public Handle_AIS_InteractiveObject {

%nodefaultctor AIS_Dimension;
class AIS_Dimension : public AIS_InteractiveObject {
public:
/* public enums */
enum ComputeMode {
ComputeMode_All = 0,
Expand All @@ -7951,7 +7955,6 @@ enum ComputeMode {

/* end public enums declaration */

public:
%feature("compactdefaultargs") AIS_Dimension;
%feature("autodoc", " * Constructor with default parameters values. @param theType [in] the type of dimension.

Expand Down Expand Up @@ -9073,6 +9076,7 @@ class Handle_AIS_Point : public Handle_AIS_InteractiveObject {

%nodefaultctor AIS_PointCloud;
class AIS_PointCloud : public AIS_InteractiveObject {
public:
/* public enums */
enum DisplayMode {
DM_Points = 0,
Expand All @@ -9081,7 +9085,6 @@ enum DisplayMode {

/* end public enums declaration */

public:
%feature("compactdefaultargs") AIS_PointCloud;
%feature("autodoc", " * Constructor.

Expand Down
4 changes: 4 additions & 0 deletions src/SWIG_files/wrapper/Aspect.i
Original file line number Diff line number Diff line change
Expand Up @@ -1444,6 +1444,10 @@ class Aspect_GenId {
%nodefaultctor Aspect_GraphicCallbackStruct;
class Aspect_GraphicCallbackStruct {
public:
int reason;
int wsID;
int viewID;
Handle_Standard_Transient glContext;
};


Expand Down
1 change: 1 addition & 0 deletions src/SWIG_files/wrapper/BOPAlgo_headers.i
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ along with pythonOCC. If not, see <http://www.gnu.org/licenses/>.
#include<BOPTools_AlgoTools2D.hxx>
#include<BOPTools_AlgoTools3D.hxx>
#include<BOPTools_ConnexityBlock.hxx>
#include<BOPTools_CoupleOfShape.hxx>
#include<BOPTools_EdgeSet.hxx>
#include<BOPTools_ListOfConnexityBlock.hxx>
#include<BOPTools_ListOfCoupleOfShape.hxx>
Expand Down
30 changes: 30 additions & 0 deletions src/SWIG_files/wrapper/BOPTools.i
Original file line number Diff line number Diff line change
Expand Up @@ -1161,6 +1161,36 @@ class BOPTools_ConnexityBlock {
};


%nodefaultctor BOPTools_CoupleOfShape;
class BOPTools_CoupleOfShape {
public:
%feature("compactdefaultargs") BOPTools_CoupleOfShape;
%feature("autodoc", " :rtype: None
") BOPTools_CoupleOfShape;
BOPTools_CoupleOfShape ();
%feature("compactdefaultargs") SetShape1;
%feature("autodoc", " :param theShape:
:type theShape: TopoDS_Shape &
:rtype: None
") SetShape1;
void SetShape1 (const TopoDS_Shape & theShape);
%feature("compactdefaultargs") Shape1;
%feature("autodoc", " :rtype: TopoDS_Shape
") Shape1;
const TopoDS_Shape Shape1 ();
%feature("compactdefaultargs") SetShape2;
%feature("autodoc", " :param theShape:
:type theShape: TopoDS_Shape &
:rtype: None
") SetShape2;
void SetShape2 (const TopoDS_Shape & theShape);
%feature("compactdefaultargs") Shape2;
%feature("autodoc", " :rtype: TopoDS_Shape
") Shape2;
const TopoDS_Shape Shape2 ();
};


%nodefaultctor BOPTools_EdgeSet;
class BOPTools_EdgeSet {
public:
Expand Down
1 change: 1 addition & 0 deletions src/SWIG_files/wrapper/BOPTools_headers.i
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ along with pythonOCC. If not, see <http://www.gnu.org/licenses/>.
#include<BOPTools_AlgoTools2D.hxx>
#include<BOPTools_AlgoTools3D.hxx>
#include<BOPTools_ConnexityBlock.hxx>
#include<BOPTools_CoupleOfShape.hxx>
#include<BOPTools_EdgeSet.hxx>
#include<BOPTools_ListOfConnexityBlock.hxx>
#include<BOPTools_ListOfCoupleOfShape.hxx>
Expand Down
2 changes: 1 addition & 1 deletion src/SWIG_files/wrapper/BRepBuilderAPI.i
Original file line number Diff line number Diff line change
Expand Up @@ -650,8 +650,8 @@ class Handle_BRepBuilderAPI_Sewing : public Handle_MMgt_TShared {

%nodefaultctor BRepBuilderAPI_VertexInspector;
class BRepBuilderAPI_VertexInspector : public NCollection_CellFilter_InspectorXYZ {
typedef Standard_Integer Target;
public:
typedef Standard_Integer Target;
%feature("compactdefaultargs") BRepBuilderAPI_VertexInspector;
%feature("autodoc", " * Constructor; remembers the tolerance
Expand Down
6 changes: 3 additions & 3 deletions src/SWIG_files/wrapper/BRepMesh.i
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ class BRepMesh_Circle {

%nodefaultctor BRepMesh_CircleInspector;
class BRepMesh_CircleInspector : public NCollection_CellFilter_InspectorXY {
typedef Standard_Integer Target;
public:
typedef Standard_Integer Target;
%feature("compactdefaultargs") BRepMesh_CircleInspector;
%feature("autodoc", " * Constructor. @param theTolerance tolerance to be used for identification of shot circles. @param theReservedSize size to be reserved for vector of circles. @param theAllocator memory allocator to be used by internal collections.

Expand Down Expand Up @@ -1087,6 +1087,7 @@ class BRepMesh_FastDiscretFace : public Standard_Transient {

%nodefaultctor BRepMesh_GeomTool;
class BRepMesh_GeomTool {
public:
/* public enums */
enum IntFlag {
NoIntersection = 0,
Expand All @@ -1099,7 +1100,6 @@ enum IntFlag {

/* end public enums declaration */

public:
%feature("compactdefaultargs") BRepMesh_GeomTool;
%feature("autodoc", " * Constructor. Initiates discretization of the given geometric curve. @param theCurve curve to be discretized. @param theFirstParam first parameter of the curve. @param theLastParam last parameter of the curve. @param theLinDeflection linear deflection. @param theAngDeflection angular deflection. @param theMinPointsNb minimum nuber of points to be produced.

Expand Down Expand Up @@ -1888,8 +1888,8 @@ class BRepMesh_Vertex {

%nodefaultctor BRepMesh_VertexInspector;
class BRepMesh_VertexInspector : public NCollection_CellFilter_InspectorXY {
typedef Standard_Integer Target;
public:
typedef Standard_Integer Target;
%feature("compactdefaultargs") BRepMesh_VertexInspector;
%feature("autodoc", " * Constructor. @param theReservedSize size to be reserved for vector of vertices. @param theAllocator memory allocator to be used by internal collections.

Expand Down
Loading

0 comments on commit d3df0fd

Please sign in to comment.