Inviwo Module Assimp.
More...
#include <assimpreader.h>
|
virtual bool | canRead (const std::type_index &index) const override |
|
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 |
|
std::vector< FileExtension > | extensions_ |
|
Inviwo Module Assimp.
A GeometryReader (DataReaderType<Geometry>) using the Assimp Library.
◆ clone()
virtual AssimpReader * inviwo::AssimpReader::clone |
( |
| ) |
const |
|
overridevirtual |
◆ getOption()
virtual std::any inviwo::AssimpReader::getOption |
( |
std::string_view | key | ) |
|
|
overridevirtual |
Query the value of an reader specific option.
- Parameters
-
- Returns
- an std::any with the requested option or an empty std::any if the option was not found
Reimplemented from inviwo::DataReader.
◆ readData()
virtual std::shared_ptr< Mesh > inviwo::AssimpReader::readData |
( |
const std::filesystem::path & | filePath | ) |
|
|
overridevirtual |
◆ setOption()
virtual bool inviwo::AssimpReader::setOption |
( |
std::string_view | key, |
|
|
std::any | value ) |
|
overridevirtual |
Set reader specific options See the documentation of the specific reader for the available options.
- Parameters
-
key | the option to set |
value | the new value for the option |
- Returns
- true if the option was recognized and set, otherwise false
Reimplemented from inviwo::DataReader.
The documentation for this class was generated from the following file: