![]() |
aimsdata
5.0.5
Neuroimaging data handling
|
#include <aims/io/giftiformat.h>
Public Member Functions | |
virtual bool | read (const std::string &filename, AimsTimeSurface< D, T > &vol, const carto::AllocatorContext &context, carto::Object options) |
virtual bool | write (const std::string &filename, const AimsTimeSurface< D, T > &vol, 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... | |
const carto::Object | options () const |
void | setOptions (carto::Object opt) |
![]() | |
virtual | ~FileFormat () |
virtual AimsTimeSurface< D, 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) |
Protected Attributes | |
std::string | _filename |
carto::Object | _options |
Definition at line 45 of file giftiformat.h.
|
inline |
Definition at line 56 of file giftiformat.h.
References aims::GiftiMeshFormat< D, T >::_options.
|
virtual |
Implements aims::FileFormat< AimsTimeSurface< D, T > >.
Definition at line 157 of file giftimeshformat_d.h.
References aims::GiftiHeader::giftiMutex(), carto::io_error::launchErrnoExcept(), carto::Mutex::lock(), aims::GiftiHeader::name(), norm(), AimsSurface< D, T >::normal(), AimsTimeSurface< D, T >::normal(), nts, AimsSurface< D, T >::polygon(), AimsTimeSurface< D, T >::polygon(), aims::GiftiHeader::read(), AimsTimeSurface< D, T >::setHeader(), carto::Mutex::unlock(), AimsSurface< D, T >::updateNormals(), AimsSurface< D, T >::vertex(), and AimsTimeSurface< D, T >::vertex().
|
inline |
Definition at line 57 of file giftiformat.h.
References aims::GiftiMeshFormat< D, T >::_options.
|
virtual |
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
Reimplemented from aims::FileFormat< AimsTimeSurface< D, T > >.
Definition at line 367 of file giftimeshformat_d.h.
References aims::PythonHeader::copy(), carto::TypedObject< T >::getProperty(), aims::GiftiHeader::giftiMutex(), carto::TypedObject< T >::hasProperty(), AimsTimeSurface< D, T >::header(), carto::Object::isNone(), carto::Mutex::lock(), aims::GiftiHeader::name(), norm(), AimsSurface< D, T >::normal(), AimsSurface< D, T >::polygon(), carto::Object::reference(), carto::TypedObject< T >::removeProperty(), aims::GiftiHeader::setOptions(), AimsSurface< D, T >::texture(), carto::Mutex::unlock(), AimsSurface< D, T >::vertex(), and aims::PythonHeader::writeMinf().
|
protected |
Definition at line 63 of file giftiformat.h.
|
protected |
Definition at line 64 of file giftiformat.h.
Referenced by aims::GiftiMeshFormat< D, T >::options(), aims::GiftiTextureFormat< T >::options(), aims::GiftiMeshFormat< D, T >::setOptions(), and aims::GiftiTextureFormat< T >::setOptions().