Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::PNGLayerReader Class Reference
+ Inheritance diagram for inviwo::PNGLayerReader:

Public Member Functions

 PNGLayerReader (const PNGLayerReader &rhs)=default
 
PNGLayerReaderoperator= (const PNGLayerReader &that)=default
 
virtual PNGLayerReaderclone () const override
 
virtual std::shared_ptr< LayerreadData (const std::filesystem::path &filePath) override
 
std::shared_ptr< inviwo::LayerreadData (FILE *fp, std::string_view name="<FileHandle>")
 
- Public Member Functions inherited from inviwo::DataReaderType< Layer >
 DataReaderType (const DataReaderType &rhs)=default
 
 DataReaderType (DataReaderType &&rhs) noexcept=default
 
DataReaderTypeoperator= (const DataReaderType &that)=default
 
DataReaderTypeoperator= (DataReaderType &&that) noexcept=default
 
virtual std::shared_ptr< LayerreadData (const std::filesystem::path &filePath, MetaDataOwner *)
 
- Public Member Functions inherited from inviwo::DataReader
 DataReader (const DataReader &rhs)=default
 
 DataReader (DataReader &&rhs) noexcept=default
 
DataReaderoperator= (const DataReader &that)=default
 
DataReaderoperator= (DataReader &&that) noexcept=default
 
const std::vector< FileExtension > & getExtensions () const
 
void addExtension (FileExtension ext)
 
virtual bool setOption (std::string_view key, std::any value)
 Set reader specific options See the documentation of the specific reader for the available options.
 
virtual std::any getOption (std::string_view key)
 Query the value of an reader specific option.
 
template<typename T >
bool readsType () const
 

Additional Inherited Members

- Protected Member Functions inherited from inviwo::DataReaderType< Layer >
virtual bool canRead (const std::type_index &index) const override
 
- 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< FileExtensionextensions_
 

Member Function Documentation

◆ clone()

virtual PNGLayerReader * inviwo::PNGLayerReader::clone ( ) const
overridevirtual

◆ readData()

virtual std::shared_ptr< Layer > inviwo::PNGLayerReader::readData ( const std::filesystem::path & filePath)
overridevirtual

The documentation for this class was generated from the following file: