Inviwo  0.9.10.1
Inviwo documentation
inviwo::pyutil Namespace Reference

Classes

struct  ModulePath
 

Functions

IVW_MODULE_PYTHON3_API pybind11::dtype toNumPyFormat (const DataFormatBase *df)
 
IVW_MODULE_PYTHON3_API const DataFormatBasegetDataFormat (size_t components, pybind11::array &arr)
 
IVW_MODULE_PYTHON3_API std::unique_ptr< BufferBasecreateBuffer (pybind11::array &arr)
 
IVW_MODULE_PYTHON3_API std::unique_ptr< LayercreateLayer (pybind11::array &arr)
 
IVW_MODULE_PYTHON3_API std::unique_ptr< VolumecreateVolume (pybind11::array &arr)
 
template<int Dim>
void checkDataFormat (const DataFormatBase *format, const Vector< Dim, size_t > &dim, const pybind11::array &data)
 
template<typename T >
pybind11::dtype toNumPyFormat ()
 
template<typename T >
toPyBindObjectBorrow (PyObject *obj)
 
template<typename T >
toPyBindObjectSteal (PyObject *obj)
 
template<typename T >
pybind11::array toNpArray (const std::vector< T > &v)
 
IVW_MODULE_PYTHON3_API void addModulePath (const std::string &path)
 
IVW_MODULE_PYTHON3_API void removeModulePath (const std::string &path)
 

Detailed Description

pyutil