Classes | Typedefs | Functions | Variables
python/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::MatrixMappedEigenDoubleMatrix
 
typedef Eigen::Map< NNSNabo::IndexMatrixMappedEigenIndexMatrix
 
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

◆ Index

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

◆ MappedEigenDoubleMatrix

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

◆ MappedEigenIndexMatrix

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

◆ NNSNabo

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

◆ SearchOptionFlags

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

◆ SearchType

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

Function Documentation

◆ BOOST_PYTHON_MODULE()

BOOST_PYTHON_MODULE ( pynabo  )

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

◆ checkPythonArray()

void checkPythonArray ( const PyObject *  cloudObj,
const char *  paramName 
)

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

◆ eigenFromBoostPython() [1/2]

MappedEigenDoubleMatrix* eigenFromBoostPython ( const object  cloudIn,
const char *  paramName 
)

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

◆ eigenFromBoostPython() [2/2]

void eigenFromBoostPython ( NNSNabo::Matrix cloudOut,
const object  cloudIn,
const char *  paramName 
)

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

◆ init_numpy()

void init_numpy ( )

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

◆ matrixSizeFromPythonArray()

void matrixSizeFromPythonArray ( const PyObject *  cloudObj,
int &  rowCount,
int &  colCount 
)

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

Variable Documentation

◆ infD

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

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

◆ maxI

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 Fri Aug 2 2024 08:39:11