#include <Python.h>
#include <boost/python.hpp>
#include <numpy/arrayobject.h>
#include "../nabo/nabo.h"
#include <iostream>
#include <cassert>
Go to the source code of this file.
Classes | |
class | NearestNeighbourSearch |
Typedefs | |
typedef NNSNabo::Index | Index |
typedef Eigen::Map < NNSNabo::Matrix > | MappedEigenDoubleMatrix |
typedef Eigen::Map < NNSNabo::IndexMatrix > | MappedEigenIndexMatrix |
typedef Nabo::NNSearchD | NNSNabo |
typedef NNSNabo::SearchOptionFlags | SearchOptionFlags |
typedef NNSNabo::SearchType | SearchType |
Functions | |
BOOST_PYTHON_MODULE (pynabo) | |
void | checkPythonArray (const PyObject *cloudObj, const char *paramName) |
MappedEigenDoubleMatrix * | eigenFromBoostPython (const object cloudIn, const char *paramName) |
void | eigenFromBoostPython (NNSNabo::Matrix &cloudOut, const object cloudIn, const char *paramName) |
void | init_numpy () |
void | matrixSizeFromPythonArray (const PyObject *cloudObj, int &rowCount, int &colCount) |
Variables | |
static const double | infD = std::numeric_limits<double>::infinity() |
static const Index | maxI = std::numeric_limits<Index>::max() |
typedef NNSNabo::Index Index |
Definition at line 11 of file python/nabo.cpp.
typedef Eigen::Map<NNSNabo::Matrix> MappedEigenDoubleMatrix |
Definition at line 14 of file python/nabo.cpp.
typedef Eigen::Map<NNSNabo::IndexMatrix> MappedEigenIndexMatrix |
Definition at line 15 of file python/nabo.cpp.
typedef Nabo::NNSearchD NNSNabo |
Definition at line 10 of file python/nabo.cpp.
Definition at line 13 of file python/nabo.cpp.
typedef NNSNabo::SearchType SearchType |
Definition at line 12 of file python/nabo.cpp.
BOOST_PYTHON_MODULE | ( | pynabo | ) |
Definition at line 167 of file python/nabo.cpp.
void checkPythonArray | ( | const PyObject * | cloudObj, |
const char * | paramName | ||
) |
Definition at line 52 of file python/nabo.cpp.
MappedEigenDoubleMatrix* eigenFromBoostPython | ( | const object | cloudIn, |
const char * | paramName | ||
) |
Definition at line 69 of file python/nabo.cpp.
void eigenFromBoostPython | ( | NNSNabo::Matrix & | cloudOut, |
const object | cloudIn, | ||
const char * | paramName | ||
) |
Definition at line 82 of file python/nabo.cpp.
void init_numpy | ( | ) |
Definition at line 29 of file python/nabo.cpp.
void matrixSizeFromPythonArray | ( | const PyObject * | cloudObj, |
int & | rowCount, | ||
int & | colCount | ||
) |
Definition at line 35 of file python/nabo.cpp.
const double infD = std::numeric_limits<double>::infinity() [static] |
Definition at line 17 of file python/nabo.cpp.
Definition at line 18 of file python/nabo.cpp.