RAVE
|
Python version of the Gra API. More...
Go to the source code of this file.
Classes | |
struct | PyGra |
A gra coefficient applier. More... | |
Macros | |
#define | PyGra_Type_NUM 0 |
index of type | |
#define | PyGra_GetNative_NUM 1 |
index of GetNative | |
#define | PyGra_GetNative_RETURN RaveGra_t* |
return type for GetNative | |
#define | PyGra_GetNative_PROTO (PyGra*) |
arguments for GetNative | |
#define | PyGra_New_NUM 2 |
index of New | |
#define | PyGra_New_RETURN PyGra* |
return type for New | |
#define | PyGra_New_PROTO (RaveGra_t*) |
arguments for New | |
#define | PyGra_API_pointers 3 |
number of API pointers | |
#define | PyGra_CAPSULE_NAME "_gra._C_API" |
#define | PyGra_GetNative (*(PyGra_GetNative_RETURN (*)PyGra_GetNative_PROTO) PyGra_API[PyGra_GetNative_NUM]) |
Returns a pointer to the internal acrr, remember to release the reference when done with the object. | |
#define | PyGra_New (*(PyGra_New_RETURN (*)PyGra_New_PROTO) PyGra_API[PyGra_New_NUM]) |
Creates a new polar scan instance. | |
#define | PyGra_Check(op) |
Checks if the object is a python gra instance. | |
#define | PyGra_Type (*(PyTypeObject*)PyGra_API[PyGra_Type_NUM]) |
#define | import_gra() |
Imports the PyGra module (like import _gra in python). | |
Python version of the Gra API.
#define import_gra | ( | ) |
Imports the PyGra module (like import _gra in python).
#define PyGra_API_pointers 3 |
number of API pointers
#define PyGra_Check | ( | op | ) |
Checks if the object is a python gra instance.
#define PyGra_GetNative (*(PyGra_GetNative_RETURN (*)PyGra_GetNative_PROTO) PyGra_API[PyGra_GetNative_NUM]) |
Returns a pointer to the internal acrr, remember to release the reference when done with the object.
(RAVE_OBJECT_RELEASE).
#define PyGra_GetNative_NUM 1 |
index of GetNative
#define PyGra_GetNative_PROTO (PyGra*) |
arguments for GetNative
#define PyGra_GetNative_RETURN RaveGra_t* |
return type for GetNative
#define PyGra_New (*(PyGra_New_RETURN (*)PyGra_New_PROTO) PyGra_API[PyGra_New_NUM]) |
Creates a new polar scan instance.
Release this object with Py_DECREF. If a RaveAcrr_t instance is provided and this instance already is bound to a python instance, this instance will be increfed and returned.
[in] | area | - the RaveAcrr_t intance. |
#define PyGra_New_NUM 2 |
index of New
#define PyGra_New_PROTO (RaveGra_t*) |
arguments for New
#define PyGra_New_RETURN PyGra* |
return type for New
#define PyGra_Type_NUM 0 |
index of type