Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::CImgLayerReader Class Reference

Reader for Images files. More...

#include <cimglayerreader.h>

Inheritance diagram for inviwo::CImgLayerReader:

Public Member Functions

 CImgLayerReader (const CImgLayerReader &rhs)=default
CImgLayerReaderoperator= (const CImgLayerReader &that)=default
virtual CImgLayerReaderclone () const override
virtual std::shared_ptr< LayerreadData (const std::filesystem::path &filePath) override
Public Member Functions inherited from inviwo::DataReaderType< Layer >
DataReaderTypeoperator= (const DataReaderType &that)=default
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
Static Protected Member Functions inherited from inviwo::DataReader
static void checkExists (const std::filesystem::path &path)
static std::ifstream open (const std::filesystem::path &path, std::ios_base::openmode mode=std::ios_base::in)
static std::ifstream openAndCacheIfUrl (const std::filesystem::path &path, std::ios_base::openmode mode=std::ios_base::in)
static std::filesystem::path downloadAndCacheIfUrl (const std::filesystem::path &url)
Protected Attributes inherited from inviwo::DataReader
std::vector< FileExtensionextensions_

Detailed Description

Reader for Images files.

Member Function Documentation

◆ clone()

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

◆ readData()

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

The documentation for this class was generated from the following file:
  • cimglayerreader.h