1
/* This file is part of MAUS: http://micewww.pp.rl.ac.uk:8080/projects/maus
3
* MAUS is free software: you can redistribute it and/or modify
4
* it under the terms of the GNU General Public License as published by
5
* the Free Software Foundation, either version 3 of the License, or
6
* (at your option) any later version.
8
* MAUS is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
13
* You should have received a copy of the GNU General Public License
14
* along with MAUS. If not, see <http://www.gnu.org/licenses/>.
18
#ifndef _SRC_PY_CPP_PYMATERIALS_HH_
19
#define _SRC_PY_CPP_PYMATERIALS_HH_
21
// These ifdefs are required to avoid cpp compiler warning
22
#ifdef _POSIX_C_SOURCE
23
#undef _POSIX_C_SOURCE
36
/* @brief GetMaterialInfo at a point in space
38
* Returns a dict of info for the material at the specified position
40
PyObject* GetMaterialData(PyObject *dummy, PyObject *args);
42
/* @brief Set the current position of the navigator
44
PyObject* SetPosition(PyObject *dummy, PyObject *args);
46
/* @brief Get the current position of the navigator
48
PyObject* GetPosition(PyObject *dummy, PyObject *args);
50
/* @brief Move the current position of the navigator
52
PyObject* Step(PyObject *dummy, PyObject* args);
54
} // namespace PyField
57
#endif // _SRC_PY_CPP_PYFIELDS_HH_