![]() |
aimsdata
5.1.2
Neuroimaging data handling
|
#include <aims/io/baseFormats_volume.h>
Public Member Functions | |
virtual bool | read (const std::string &filename, AimsData< T > &obj, const carto::AllocatorContext &context, carto::Object options) |
virtual bool | write (const std::string &filename, const AimsData< T > &obj, carto::Object options=carto::none()) |
![]() | |
virtual | ~FileFormat () |
virtual AimsData< T > * | read (const std::string &filename, const carto::AllocatorContext &context, carto::Object options) |
Creates an object and reads it. More... | |
carto::GenericObject * | read (const std::string &, const carto::AllocatorContext &, carto::Object) |
virtual bool | write (const std::string &, const AimsData< T > &, carto::Object options=carto::none()) |
the base class has a default implementation which only returns false so if your new format only supports read operations, you won't have to bother about the write() function More... | |
Definition at line 71 of file baseFormats_volume.h.
|
virtual |
Implements aims::FileFormat< AimsData< T > >.
Definition at line 102 of file baseFormats_volume_d.h.
References carto::Volume< class >::at(), carto::Volume< class >::fill(), carto::TypedObject< class >::getProperty(), aims::ItemReader< T >::read(), aims::ImasHeader::read(), aims::DefaultItemReader< T >::reader(), and AimsData< T >::setHeader().
|
virtual |
Definition at line 168 of file baseFormats_volume_d.h.
References AimsData< T >::dimX(), AimsData< T >::dimY(), AimsData< T >::header(), carto::const_ref< class >::isNull(), aims::ItemWriter< T >::write(), aims::Header::writeMinf(), and aims::DefaultItemWriter< T >::writer().