1 | // -*- C++ -*- |
---|
2 | // @copyright: University of Tennessee, for the DANSE project |
---|
3 | |
---|
4 | //#include <portinfo> |
---|
5 | #include <Python.h> |
---|
6 | |
---|
7 | #include "bindings.h" |
---|
8 | |
---|
9 | #include "misc.h" // miscellaneous methods |
---|
10 | |
---|
11 | // the method table |
---|
12 | |
---|
13 | struct PyMethodDef pypointsmodelpy_methods[] = { |
---|
14 | |
---|
15 | // new_loresmodel |
---|
16 | {pypointsmodelpy_new_loresmodel__name__, pypointsmodelpy_new_loresmodel, |
---|
17 | METH_VARARGS, pypointsmodelpy_new_loresmodel__doc__}, |
---|
18 | |
---|
19 | // LORESModel method:add(geoshape,sld) |
---|
20 | {pypointsmodelpy_lores_add__name__, pypointsmodelpy_lores_add, |
---|
21 | METH_VARARGS, pypointsmodelpy_lores_add__doc__}, |
---|
22 | |
---|
23 | // LORESModel method:GetPoints(vector<Point3D> &) |
---|
24 | {pypointsmodelpy_get_lorespoints__name__, pypointsmodelpy_get_lorespoints, |
---|
25 | METH_VARARGS, pypointsmodelpy_get_lorespoints__doc__}, |
---|
26 | |
---|
27 | // new_pdbmodel |
---|
28 | {pypointsmodelpy_new_pdbmodel__name__, pypointsmodelpy_new_pdbmodel, |
---|
29 | METH_VARARGS, pypointsmodelpy_new_pdbmodel__doc__}, |
---|
30 | |
---|
31 | // PDBModel method: AddPDB(const char*) |
---|
32 | {pypointsmodelpy_pdbmodel_add__name__, pypointsmodelpy_pdbmodel_add, |
---|
33 | METH_VARARGS, pypointsmodelpy_pdbmodel_add__doc__}, |
---|
34 | |
---|
35 | // PDBModel method: GetPoints(Point3DVector &) |
---|
36 | {pypointsmodelpy_get_pdbpoints__name__, pypointsmodelpy_get_pdbpoints, |
---|
37 | METH_VARARGS, pypointsmodelpy_get_pdbpoints__doc__}, |
---|
38 | |
---|
39 | // new_complexmodel |
---|
40 | {pypointsmodelpy_new_complexmodel__name__, pypointsmodelpy_new_complexmodel, |
---|
41 | METH_VARARGS, pypointsmodelpy_new_complexmodel__doc__}, |
---|
42 | |
---|
43 | // ComplexModel method: Add(PointsModel *) |
---|
44 | {pypointsmodelpy_complexmodel_add__name__, pypointsmodelpy_complexmodel_add, |
---|
45 | METH_VARARGS, pypointsmodelpy_complexmodel_add__doc__}, |
---|
46 | |
---|
47 | // ComplexModel method: GetPoints(Point3DVector &) |
---|
48 | {pypointsmodelpy_get_complexpoints__name__, pypointsmodelpy_get_complexpoints, |
---|
49 | METH_VARARGS, pypointsmodelpy_get_complexpoints__doc__}, |
---|
50 | |
---|
51 | //new_point3dvec |
---|
52 | {pypointsmodelpy_new_point3dvec__name__, pypointsmodelpy_new_point3dvec, |
---|
53 | METH_VARARGS, pypointsmodelpy_new_point3dvec__doc__}, |
---|
54 | |
---|
55 | //fillpoints |
---|
56 | //{pypointsmodelpy_fillpoints__name__, pypointsmodelpy_fillpoints, |
---|
57 | //METH_VARARGS, pypointsmodelpy_fillpoints__doc__}, |
---|
58 | |
---|
59 | //distdistribution calculation for LORES model |
---|
60 | {pypointsmodelpy_get_lores_pr__name__, pypointsmodelpy_get_lores_pr, |
---|
61 | METH_VARARGS, pypointsmodelpy_get_lores_pr__doc__}, |
---|
62 | |
---|
63 | //distdistribution 2D (on xy plane) |
---|
64 | {pypointsmodelpy_distdistribution_xy__name__, pypointsmodelpy_distdistribution_xy, |
---|
65 | METH_VARARGS, pypointsmodelpy_distdistribution_xy__doc__}, |
---|
66 | |
---|
67 | //distdistribution calculation for PDB model |
---|
68 | {pypointsmodelpy_get_pdb_pr__name__, pypointsmodelpy_get_pdb_pr, |
---|
69 | METH_VARARGS, pypointsmodelpy_get_pdb_pr__doc__}, |
---|
70 | |
---|
71 | //distdistribution calculation on XY plane for PDB model |
---|
72 | {pypointsmodelpy_get_pdb_pr_xy__name__, pypointsmodelpy_get_pdb_pr_xy, |
---|
73 | METH_VARARGS, pypointsmodelpy_get_pdb_pr_xy__doc__}, |
---|
74 | |
---|
75 | //distdistribution calculation for Complex model |
---|
76 | {pypointsmodelpy_get_complex_pr__name__, pypointsmodelpy_get_complex_pr, |
---|
77 | METH_VARARGS, pypointsmodelpy_get_complex_pr__doc__}, |
---|
78 | |
---|
79 | //calculateIQ |
---|
80 | {pypointsmodelpy_get_lores_iq__name__, pypointsmodelpy_get_lores_iq, |
---|
81 | METH_VARARGS, pypointsmodelpy_get_lores_iq__doc__}, |
---|
82 | |
---|
83 | //calculateI(single Q) |
---|
84 | {pypointsmodelpy_get_lores_i__name__, pypointsmodelpy_get_lores_i, |
---|
85 | METH_VARARGS, pypointsmodelpy_get_lores_i__doc__}, |
---|
86 | |
---|
87 | //calculateI(single Q) |
---|
88 | {pypointsmodelpy_get_complex_i__name__, pypointsmodelpy_get_complex_i, |
---|
89 | METH_VARARGS, pypointsmodelpy_get_complex_i__doc__}, |
---|
90 | |
---|
91 | //calculateI(single Q) |
---|
92 | {pypointsmodelpy_get_complex_i_error__name__, pypointsmodelpy_get_complex_i_error, |
---|
93 | METH_VARARGS, pypointsmodelpy_get_complex_i_error__doc__}, |
---|
94 | |
---|
95 | //calculateIQ 2D |
---|
96 | {pypointsmodelpy_calculateIQ_2D__name__, pypointsmodelpy_calculateIQ_2D, |
---|
97 | METH_VARARGS, pypointsmodelpy_calculateIQ_2D__doc__}, |
---|
98 | |
---|
99 | //calculateIQ 2D(Qx,Qy) |
---|
100 | {pypointsmodelpy_calculateI_Qxy__name__, pypointsmodelpy_calculateI_Qxy, |
---|
101 | METH_VARARGS, pypointsmodelpy_calculateI_Qxy__doc__}, |
---|
102 | |
---|
103 | //PDBModel calculateIQ |
---|
104 | {pypointsmodelpy_get_pdb_iq__name__, pypointsmodelpy_get_pdb_iq, |
---|
105 | METH_VARARGS, pypointsmodelpy_get_pdb_iq__doc__}, |
---|
106 | |
---|
107 | //PDBModel calculateIQ(Qx,Qy) |
---|
108 | {pypointsmodelpy_get_pdb_Iqxy__name__, pypointsmodelpy_get_pdb_Iqxy, |
---|
109 | METH_VARARGS, pypointsmodelpy_get_pdb_Iqxy__doc__}, |
---|
110 | |
---|
111 | //ComplexModel calculateIQ |
---|
112 | {pypointsmodelpy_get_complex_iq__name__, pypointsmodelpy_get_complex_iq, |
---|
113 | METH_VARARGS, pypointsmodelpy_get_complex_iq__doc__}, |
---|
114 | |
---|
115 | //outputPR |
---|
116 | {pypointsmodelpy_outputPR__name__, pypointsmodelpy_outputPR, |
---|
117 | METH_VARARGS, pypointsmodelpy_outputPR__doc__}, |
---|
118 | |
---|
119 | //outputPR_xy |
---|
120 | {pypointsmodelpy_outputPR_xy__name__, pypointsmodelpy_outputPR_xy, |
---|
121 | METH_VARARGS, pypointsmodelpy_outputPR_xy__doc__}, |
---|
122 | |
---|
123 | //PDBModel outputPR |
---|
124 | {pypointsmodelpy_save_pdb_pr__name__, pypointsmodelpy_save_pdb_pr, |
---|
125 | METH_VARARGS, pypointsmodelpy_save_pdb_pr__doc__}, |
---|
126 | |
---|
127 | //ComplexModel outputPR |
---|
128 | {pypointsmodelpy_save_complex_pr__name__, pypointsmodelpy_save_complex_pr, |
---|
129 | METH_VARARGS, pypointsmodelpy_save_complex_pr__doc__}, |
---|
130 | |
---|
131 | //outputPDB |
---|
132 | {pypointsmodelpy_outputPDB__name__, pypointsmodelpy_outputPDB, |
---|
133 | METH_VARARGS, pypointsmodelpy_outputPDB__doc__}, |
---|
134 | |
---|
135 | {pypointsmodelpy_copyright__name__, pypointsmodelpy_copyright, |
---|
136 | METH_VARARGS, pypointsmodelpy_copyright__doc__}, |
---|
137 | |
---|
138 | |
---|
139 | // Sentinel |
---|
140 | {0, 0} |
---|
141 | }; |
---|
142 | |
---|
143 | // version |
---|
144 | // $Id$ |
---|
145 | |
---|
146 | // End of file |
---|