File: ExportModuleUtil.cc

package info (click to toggle)
python-demgengeo 1.4-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,000 kB
  • sloc: cpp: 13,449; python: 1,260; makefile: 304; sh: 90
file content (118 lines) | stat: -rw-r--r-- 3,465 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
/////////////////////////////////////////////////////////////
//                                                         //
// Copyright (c) 2007-2017 by The University of Queensland //
// Centre for Geoscience Computing                         //
// http://earth.uq.edu.au/centre-geoscience-computing      //
//                                                         //
// Primary Business: Brisbane, Queensland, Australia       //
// Licensed under the Open Software License version 3.0    //
// http://www.apache.org/licenses/LICENSE-2.0              //
//                                                         //
/////////////////////////////////////////////////////////////

#include <boost/python.hpp>
#include "Vector3Py.h"
#include "Line2DPy.h"
#include "LineSegment2DPy.h"
#include "AVolume2DPy.h"
#include "AVolume3DPy.h"
#include "BoxWithLines2DPy.h"
#include "TriWithLines2DPy.h"
#include "PolygonWithLines2DPy.h"
#include "BoxWithLines2DSubVolPy.h"
#include "BoxWithPlanes3DPy.h"
#include "BoxWithJointSetPy.h"
#include "MNTable2DPy.h"
#include "MNTable3DPy.h"
#include "CircMNTable2DPy.h"
#include "CircMNTableXY2DPy.h"
#include "CircMNTable3DPy.h"
#include "FullCircMNTable3DPy.h"
#include "InsertGenerator2DPy.h"
#include "InsertGenerator3DPy.h"
#include "HexAggregateInsertGenerator2DPy.h"
#include "HexAggregateInsertGenerator3DPy.h"
#include "HGrainGenerator2DPy.h"
#include "PlanePy.h"
#include "SpherePy.h"
//#include "SphereObjPy.h"
#include "CylinderVolPy.h"
#include "CylinderWithJointSetPy.h"
#include "SphereVolPy.h"
#include "SphereVolWithJointSetPy.h"
#include "EllipsoidVolPy.h"
#include "ClippedSphereVolPy.h"
#include "SphereSectionVolPy.h"
#include "DogBonePy.h"
#include "TriBoxPy.h"
#include "CircleVolPy.h"
#include "TriPatchSetPy.h"
#include "ShapePy.h"
#include "ShapeListPy.h"
#include "ConvexPolyhedronPy.h"
#include "ConvexPolyWithJointSetPy.h"
#include "UnionVolPy.h"
#include "IntersectionVolPy.h"
#include "DifferenceVolPy.h"
#include "MeshVolumePy.h"
#include "MeshVolWithJointSetPy.h"
#include "ClippedCircleVolPy.h"
#include "LineSet2DPy.h"
#include "MeshVolume2DPy.h"

using namespace boost::python;

BOOST_PYTHON_MODULE(gengeo)
{
  exportVector3();
  exportLine2D();
  exportLineSegment2D();
  exportAVolume();
  exportAVolume2D();
  exportAVolume3D();
  exportBoxWithLines2D();
  exportPolygonWithLines2D();
  exportTriWithLines2D();
  exportBoxWithLines2DSubVol();
  exportMNTable2D();
  exportMNTable3D();
  exportCircMNTable2D();
  exportCircMNTableXY2D();
  exportCircMNTable3D();
  exportFullCircMNTable3D();
  exportAGenerator2D();
  exportInsertGenerator2D();
  exportAGenerator3D();
  exportInsertGenerator3D();
  exportHexAggregateInsertGenerator2D();
  exportHexAggregateInsertGenerator3D();
  exportHGrainGenerator2D();
  exportPlane();
  exportBoxWithPlanes3D();
  exportBoxWithJointSet();
  exportCylinderVol();
  exportCylinderWithJointSet();
  exportSphereVol();
  exportSphereVolWithJointSet();
//  exportSphereObj();
  exportEllipsoidVol();
  exportClippedSphereVol();
  exportSphereSectionVol();
  exportDogBone();
  exportTriBox();
  exportSphere();
  exportCircleVol();
  exportTriPatchSet();
  exportShape();
  exportShapeList();
  exportConvexPolyhedron();
  exportConvexPolyWithJointSet();
  exportUnionVol();
  exportIntersectionVol();
  exportDifferenceVol();
  exportMeshVolume();
  exportMeshVolWithJointSet();
  exportClippedCircleVol();
  exportLineSet2D();
  exportMeshVolume2D();
}