OpenMesh
Loading...
Searching...
No Matches
Bindings.hh
Go to the documentation of this file.
1
2
3#ifndef OPENMESH_PYTHON_BINDINGS_HH
4#define OPENMESH_PYTHON_BINDINGS_HH
5
6#include <boost/python.hpp>
7#include <boost/python/return_internal_reference.hpp>
8#include <boost/python/reference_existing_object.hpp>
9#include <boost/python/copy_const_reference.hpp>
10
11#include "OpenMesh/Core/IO/MeshIO.hh"
12#include "OpenMesh/Core/Mesh/TriMesh_ArrayKernelT.hh"
13#include "OpenMesh/Core/Mesh/PolyMesh_ArrayKernelT.hh"
14
15using namespace boost::python;
16
17namespace OpenMesh {
18
23namespace Python {
24
29#define OPENMESH_PYTHON_DEFAULT_POLICY return_value_policy<copy_const_reference>()
30
41
44
45} // namespace OpenMesh
46} // namespace Python
47
48#endif
Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...
Definition MeshItems.hh:64
VectorT< double, 3 > Vec3d
3-double vector
Definition Vector11T.hh:771
VectorT< float, 4 > Vec4f
4-float vector
Definition Vector11T.hh:788
This namespace contains classes and functions that are used to expose OpenMesh to Python.
Definition Bindings.cc:11
Polygonal mesh based on the ArrayKernel.
Definition PolyMesh_ArrayKernelT.hh:100
Base class for all traits.
Definition Traits.hh:127
Triangle mesh based on the ArrayKernel.
Definition TriMesh_ArrayKernelT.hh:100
Definition Bindings.hh:31
OpenMesh::Vec3d Normal
Use double precision normals.
Definition Bindings.hh:36
OpenMesh::Vec4f Color
Use RGBA colors.
Definition Bindings.hh:39
OpenMesh::Vec3d Point
Use double precision points.
Definition Bindings.hh:33

Project OpenMesh, ©  Computer Graphics Group, RWTH Aachen. Documentation generated using doxygen .