Inviwo 0.9.12-pre
Inviwo documentation
|
Inviwo Module Assimp. More...
#include <assimpreader.h>
Public Member Functions | |
AssimpReader (const AssimpReader &rhs)=default | |
AssimpReader & | operator= (const AssimpReader &that)=default |
virtual AssimpReader * | clone () const override |
void | setLogLevel (AssimpLogLevel level, bool verbose=false) |
AssimpLogLevel | getLogLevel () const |
void | setFixInvalidDataFlag (bool enable) |
bool | getFixInvalidDataFlag () const |
virtual std::shared_ptr< Mesh > | readData (const std::filesystem::path &filePath) override |
virtual bool | setOption (std::string_view key, std::any value) override |
Set reader specific options See the documentation of the specific reader for the available options. | |
virtual std::any | getOption (std::string_view key) override |
Query the value of an reader specific option. | |
Public Member Functions inherited from inviwo::DataReaderType< Mesh > | |
DataReaderType (const DataReaderType &rhs)=default | |
DataReaderType (DataReaderType &&rhs) noexcept=default | |
DataReaderType & | operator= (const DataReaderType &that)=default |
DataReaderType & | operator= (DataReaderType &&that) noexcept=default |
virtual std::shared_ptr< Mesh > | readData (const std::filesystem::path &filePath, MetaDataOwner *) |
Public Member Functions inherited from inviwo::DataReader | |
DataReader (const DataReader &rhs)=default | |
DataReader (DataReader &&rhs) noexcept=default | |
DataReader & | operator= (const DataReader &that)=default |
DataReader & | operator= (DataReader &&that) noexcept=default |
const std::vector< FileExtension > & | getExtensions () const |
void | addExtension (FileExtension ext) |
Additional Inherited Members | |
Protected Member Functions inherited from inviwo::DataReader | |
void | checkExists (const std::filesystem::path &path) const |
std::ifstream | open (const std::filesystem::path &path, std::ios_base::openmode mode=std::ios_base::in) const |
Protected Attributes inherited from inviwo::DataReader | |
std::vector< FileExtension > | extensions_ |
Inviwo Module Assimp.
A GeometryReader (DataReaderType<Geometry>) using the Assimp Library.
|
overridevirtual |
Implements inviwo::DataReaderType< Mesh >.
|
overridevirtual |
Query the value of an reader specific option.
key | the option to query |
Reimplemented from inviwo::DataReader.
|
overridevirtual |
Implements inviwo::DataReaderType< Mesh >.
|
overridevirtual |
Set reader specific options See the documentation of the specific reader for the available options.
key | the option to set |
value | the new value for the option |
Reimplemented from inviwo::DataReader.