aimsdata  5.1.2
Neuroimaging data handling
aims::GiftiTextureFormat< T > Class Template Reference

#include <aims/io/giftiformat.h>

Inheritance diagram for aims::GiftiTextureFormat< T >:
Collaboration diagram for aims::GiftiTextureFormat< T >:

Public Member Functions

virtual bool read (const std::string &filename, TimeTexture< T > &vol, const carto::AllocatorContext &context, carto::Object options)
 
virtual bool write (const std::string &filename, const TimeTexture< T > &vol, carto::Object options=carto::none())
 
const carto::Object options () const
 
void setOptions (carto::Object opt)
 
int getEncoding ()
 
void setEncoding (int enc)
 
- Public Member Functions inherited from aims::FileFormat< TimeTexture< T > >
virtual ~FileFormat ()
 
virtual TimeTexture< T > * read (const std::string &filename, const carto::AllocatorContext &context, carto::Object options)
 Creates an object and reads it. More...
 
carto::GenericObjectread (const std::string &, const carto::AllocatorContext &, carto::Object)
 
virtual bool write (const std::string &, const TimeTexture< 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...
 

Protected Attributes

std::string _filename
 
carto::Object _options
 
int _encoding
 

Detailed Description

template<typename T>
class aims::GiftiTextureFormat< T >

Definition at line 70 of file giftiformat.h.

Member Function Documentation

◆ getEncoding()

template<typename T >
int aims::GiftiTextureFormat< T >::getEncoding ( )
inline

Definition at line 84 of file giftiformat.h.

References aims::GiftiTextureFormat< T >::_encoding.

◆ options()

template<typename T >
const carto::Object aims::GiftiTextureFormat< T >::options ( ) const
inline

Definition at line 81 of file giftiformat.h.

References aims::GiftiTextureFormat< T >::_options.

◆ read()

template<typename T >
bool aims::GiftiTextureFormat< T >::read ( const std::string &  filename,
TimeTexture< T > &  vol,
const carto::AllocatorContext &  context,
carto::Object  options 
)
virtual

◆ setEncoding()

template<typename T >
void aims::GiftiTextureFormat< T >::setEncoding ( int  enc)
inline

Definition at line 85 of file giftiformat.h.

References aims::GiftiTextureFormat< T >::_encoding.

◆ setOptions()

template<typename T >
void aims::GiftiTextureFormat< T >::setOptions ( carto::Object  opt)
inline

Definition at line 82 of file giftiformat.h.

References aims::GiftiTextureFormat< T >::_options.

◆ write()

Member Data Documentation

◆ _encoding

template<typename T >
int aims::GiftiTextureFormat< T >::_encoding
protected

◆ _filename

template<typename T >
std::string aims::GiftiTextureFormat< T >::_filename
protected

Definition at line 88 of file giftiformat.h.

◆ _options

template<typename T >
carto::Object aims::GiftiTextureFormat< T >::_options
protected

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