![]() |
Inviwo 0.9.12-pre
Inviwo documentation
|
Reader for NRRD (Nearly Raw Raster Data) files as volume sequences. More...
#include <modules/base/io/nrrdreader.h>
Public Member Functions | |
| virtual NrrdVolumeSequenceReader * | clone () const override |
| NrrdVolumeSequenceReader (const NrrdVolumeSequenceReader &)=default | |
| NrrdVolumeSequenceReader (NrrdVolumeSequenceReader &&) noexcept=default | |
| NrrdVolumeSequenceReader & | operator= (const NrrdVolumeSequenceReader &)=default |
| NrrdVolumeSequenceReader & | operator= (NrrdVolumeSequenceReader &&) noexcept=default |
| virtual std::shared_ptr< VolumeSequence > | readData (const std::filesystem::path &filePath) override |
| Public Member Functions inherited from inviwo::DataReaderType< VolumeSequence > | |
| DataReaderType & | operator= (const DataReaderType &that)=default |
| Public Member Functions inherited from inviwo::DataReader | |
| void | addExtension (FileExtension ext) |
| DataReader (const DataReader &rhs)=default | |
| DataReader (DataReader &&rhs) noexcept=default | |
| const std::vector< FileExtension > & | getExtensions () const |
| virtual std::any | getOption (std::string_view key) |
| Query the value of an reader specific option. | |
| DataReader & | operator= (const DataReader &that)=default |
| DataReader & | operator= (DataReader &&that) noexcept=default |
| template<typename T> | |
| bool | readsType () const |
| 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. | |
Additional Inherited Members | |
| Protected Member Functions inherited from inviwo::DataReaderType< VolumeSequence > | |
| 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::filesystem::path | downloadAndCacheIfUrl (const std::filesystem::path &url) |
| 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::string | readFileContents (const std::filesystem::path &path) |
| Protected Attributes inherited from inviwo::DataReader | |
| std::vector< FileExtension > | extensions_ |
Reader for NRRD (Nearly Raw Raster Data) files as volume sequences.
Reads 3D and 4D NRRD files (.nrrd with inline data, .nhdr with detached data) as VolumeSequence. For 4D data, the last axis is treated as time steps. Supports raw, gzip, and bzip2 encodings.
|
overridevirtual |
Implements inviwo::DataReaderType< VolumeSequence >.
|
overridevirtual |
Implements inviwo::DataReaderType< VolumeSequence >.