Inviwo  0.9.10.1
Inviwo documentation
inviwo::IvfSequenceVolumeReader Class Reference

Reader for *.ivfs sequnce files. More...

#include <ivfsequencevolumereader.h>

+ Inheritance diagram for inviwo::IvfSequenceVolumeReader:

Public Member Functions

 IvfSequenceVolumeReader (const IvfSequenceVolumeReader &rhs)=default
 
IvfSequenceVolumeReaderoperator= (const IvfSequenceVolumeReader &that)=default
 
virtual IvfSequenceVolumeReaderclone () const override
 
virtual std::shared_ptr< VolumeSequence > readData (const std::string &filePath) override
 
- Public Member Functions inherited from inviwo::DataReaderType< VolumeSequence >
 DataReaderType (const DataReaderType &rhs)=default
 
 DataReaderType (DataReaderType &&rhs) noexcept=default
 
DataReaderTypeoperator= (const DataReaderType &that)=default
 
DataReaderTypeoperator= (DataReaderType &&that) noexcept=default
 
virtual std::shared_ptr< VolumeSequence > readData (const std::string &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)
 

Detailed Description

Reader for *.ivfs sequnce files.

Supports reading a volume sequence from disk.

The expected structure of the ivfs sequence files is:

<?xml version="1.0" ?>
<InviwoWorkspace version="2">
    <volumes>
        <volume content="./relative/path/to/volume00.ivf" />
        <volume content="./relative/path/to/volume01.ivf" />
        ...
        <volume content="./relative/path/to/volumeNN.ivf" />
    </volumes>
</InviwoWorkspace>
 * 
See also
inviwo::IvfSequenceVolumeWriter

Member Function Documentation

◆ readData()

std::shared_ptr< VolumeSequence > inviwo::IvfSequenceVolumeReader::readData ( const std::string &  filePath)
overridevirtual

Read a ivfs volume sequence from disk

Parameters
filePathpath the the ivfs file
Returns
The resulting sequence of volumes
See also
inviwo::IvfSequenceVolumeWriter::writeData(const VolumeSequence*, std::string , std::string,std::string)

Implements inviwo::DataReaderType< VolumeSequence >.


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