Inviwo
0.9.10.1
Inviwo documentation
|
Volume data reader for Nifti-1 files. More...
#include <niftireader.h>
Public Types | |
using | VolumeSequence = std::vector< std::shared_ptr< Volume > > |
Public Member Functions | |
NiftiReader (const NiftiReader &rhs)=default | |
NiftiReader & | operator= (const NiftiReader &that)=default |
virtual NiftiReader * | clone () const override |
virtual std::shared_ptr< VolumeSequence > | readData (const std::string &filePath) override |
Public Member Functions inherited from inviwo::DataReaderType< std::vector< std::shared_ptr< Volume > > > | |
DataReaderType (const DataReaderType &rhs)=default | |
DataReaderType (DataReaderType &&rhs) noexcept=default | |
DataReaderType & | operator= (const DataReaderType &that)=default |
DataReaderType & | operator= (DataReaderType &&that) noexcept=default |
virtual std::shared_ptr< std::vector< std::shared_ptr< Volume > > > | readData (const std::string &filePath, MetaDataOwner *) |
Public Member Functions inherited from inviwo::DataReader | |
DataReader (const DataReader &rhs)=default | |
DataReader (DataReader &&rhs) noexcept=default | |
DataReader & | operator= (const DataReader &that)=default |
DataReader & | operator= (DataReader &&that) noexcept=default |
const std::vector< FileExtension > & | getExtensions () const |
void | addExtension (FileExtension ext) |
Static Public Member Functions | |
static const DataFormatBase * | niftiDataTypeToInviwoDataFormat (int niftiDataType) |
Convert from Nifti defined data types to inviwo DataFormat. More... | |
Volume data reader for Nifti-1 files.
|
static |
Convert from Nifti defined data types to inviwo DataFormat.
niftiDataType | nifti_image::datatype. |
|
overridevirtual |
Returns the matrix transformation mapping from model space coordinates to voxel index coordinates, i.e. from (data min, data max) to [0, number of voxels)
Implements inviwo::DataReaderType< std::vector< std::shared_ptr< Volume > > >.