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

Public Member Functions

 RawVolumeReader (const RawVolumeReader &rhs)
 
RawVolumeReaderoperator= (const RawVolumeReader &that)
 
virtual RawVolumeReaderclone () const override
 
virtual void setParameters (const DataFormatBase *format, ivec3 dimensions, bool littleEndian, DataMapper dataMapper, size_t byteOffset=0u)
 
virtual std::shared_ptr< VolumereadData (const std::filesystem::path &filePath) override
 
virtual std::shared_ptr< VolumereadData (const std::filesystem::path &filePath, MetaDataOwner *metadata) override
 
bool haveReadLittleEndian () const
 
const DataFormatBasegetFormat () const
 
- Public Member Functions inherited from inviwo::DataReaderType< Volume >
 DataReaderType (const DataReaderType &rhs)=default
 
 DataReaderType (DataReaderType &&rhs) noexcept=default
 
DataReaderTypeoperator= (const DataReaderType &that)=default
 
DataReaderTypeoperator= (DataReaderType &&that) noexcept=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.
 

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< FileExtensionextensions_
 

Member Function Documentation

◆ clone()

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

◆ readData() [1/2]

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

◆ readData() [2/2]

virtual std::shared_ptr< Volume > inviwo::RawVolumeReader::readData ( const std::filesystem::path & filePath,
MetaDataOwner *  )
overridevirtual

Optional overload that passed a MetaDataOwner to facilitate saving/loading state in the data reader the use is optional and the pointer can be null.

See also
RawVolumeReader

Reimplemented from inviwo::DataReaderType< Volume >.


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