Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::pyutil Namespace Reference

Classes

struct  ModulePath
 

Functions

IVW_MODULE_PYTHON3_API pybind11::dtype toNumPyFormat (const DataFormatBase *df)
 
IVW_MODULE_PYTHON3_API const DataFormatBasegetDataFormat (pybind11::ssize_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::filesystem::path &path)
 
IVW_MODULE_PYTHON3_API void removeModulePath (const std::filesystem::path &path)
 

Detailed Description

pyutil