Xmipp  v3.23.11-Nereus
python_symmetry.h
Go to the documentation of this file.
1 /***************************************************************************
2  *
3  * Authors: J.M. De la Rosa Trevin (jmdelarosa@cnb.csic.es)
4  * Roberto Marabini (roberto@cnb.csic.es)
5  *
6  * Unidad de Bioinformatica of Centro Nacional de Biotecnologia , CSIC
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
21  * 02111-1307 USA
22  *
23  * All comments concerning this program package may be sent to the
24  * e-mail address 'xmipp@cnb.csic.es'
25  ***************************************************************************/
26 
27 #ifndef _PYTHON_SYMMETRY_H
28 #define _PYTHON_SYMMETRY_H
29 
30 #include "Python.h"
31 
32 class SymList;
33 extern PyObject * PyXmippError;
34 
35 /***************************************************************/
36 /* SymList */
37 /***************************************************************/
38 
39 /*SymList Object*/
40 typedef struct
41 {
42  PyObject_HEAD
44 }
46 
47 PyObject *
48 SymList_new(PyTypeObject *type, PyObject *args, PyObject *kwargs);
49 
50 /* Destructor */
51 void SymList_dealloc(SymListObject* self);
52 
53 /* readSymmetryFile */
54 PyObject *
55 SymList_readSymmetryFile(PyObject * obj, PyObject *args, PyObject *kwargs);
56 
57 /* computeDistance */
58 PyObject *
59 SymList_computeDistance(PyObject * obj, PyObject *args, PyObject *kwargs);
60 
61 /* getSymmetryMatrices */
62 PyObject *
63 SymList_getSymmetryMatrices(PyObject * obj, PyObject *args, PyObject *kwargs);
64 
65 /* SymList methods */
66 extern PyMethodDef SymList_methods[];
67 /*SymList Type */
68 extern PyTypeObject SymListType;
69 
70 #endif
PyTypeObject SymListType
PyObject * SymList_getSymmetryMatrices(PyObject *obj, PyObject *args, PyObject *kwargs)
void SymList_dealloc(SymListObject *self)
viol type
PyObject * PyXmippError
Definition: xmippmodule.cpp:47
PyObject_HEAD SymList * symlist
PyObject * SymList_computeDistance(PyObject *obj, PyObject *args, PyObject *kwargs)
PyObject * SymList_new(PyTypeObject *type, PyObject *args, PyObject *kwargs)
PyObject * SymList_readSymmetryFile(PyObject *obj, PyObject *args, PyObject *kwargs)
PyMethodDef SymList_methods[]
void(* obj)()