Classes | Typedefs | Functions | Variables
nabo.cpp File Reference
#include <Python.h>
#include <boost/python.hpp>
#include <numpy/arrayobject.h>
#include "../nabo/nabo.h"
#include <iostream>
#include <cassert>
Include dependency graph for python/nabo.cpp:

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)
MappedEigenDoubleMatrixeigenFromBoostPython (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 Documentation

Definition at line 11 of file python/nabo.cpp.

Definition at line 14 of file python/nabo.cpp.

Definition at line 15 of file python/nabo.cpp.

Definition at line 10 of file python/nabo.cpp.

Definition at line 13 of file python/nabo.cpp.

Definition at line 12 of file python/nabo.cpp.


Function Documentation

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.


Variable Documentation

const double infD = std::numeric_limits<double>::infinity() [static]

Definition at line 17 of file python/nabo.cpp.

const Index maxI = std::numeric_limits<Index>::max() [static]

Definition at line 18 of file python/nabo.cpp.



libnabo
Author(s): Stéphane Magnenat
autogenerated on Sun Feb 10 2019 03:52:20