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

Reader for *.mpvm files. More...

#include <mpvmvolumereader.h>

+ Inheritance diagram for inviwo::MPVMVolumeReader:

Public Member Functions

 MPVMVolumeReader (const MPVMVolumeReader &rhs)=default
 
MPVMVolumeReaderoperator= (const MPVMVolumeReader &that)=default
 
virtual MPVMVolumeReaderclone () const override
 
virtual std::shared_ptr< VolumereadData (const std::filesystem::path &filePath) override
 
- 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
 
virtual std::shared_ptr< VolumereadData (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
 

Protected Member Functions

void printPVMMeta (const Volume &, const std::filesystem::path &) const
 
void printMetaInfo (const MetaDataOwner &, std::string_view) const
 
- Protected Member Functions inherited from inviwo::DataReaderType< Volume >
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
 

Additional Inherited Members

- Protected Attributes inherited from inviwo::DataReader
std::vector< FileExtensionextensions_
 

Detailed Description

Reader for *.mpvm files.

Format consists of a configuration filenames to multiple PVM files

Member Function Documentation

◆ clone()

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

◆ readData()

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

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