aimsdata  5.0.5
Neuroimaging data handling
aims::VidaReader< T > Class Template Reference

The class for VIDA data read operation. More...

#include <aims/io/vidaR.h>

Public Member Functions

 VidaReader (const std::string &name)
 
virtual ~VidaReader ()
 
void read (AimsData< T > &thing, const carto::AllocatorContext &context, carto::Object options)
 Read the data with "name" file name from disk. More...
 
void frameRead (AimsData< T > &thing, const carto::AllocatorContext &context, int frame, int border=0)
 
carto::AllocatorContext setupMemMode (const VidaHeader &hdr, const carto::AllocatorContext &c, int border)
 

Friends

VidaReader< T > & operator>> (VidaReader< T > &reader, AimsData< T > &thing)
 Input stream operator. More...
 

Detailed Description

template<class T>
class aims::VidaReader< T >

The class for VIDA data read operation.

Definition at line 47 of file vidaR.h.

Constructor & Destructor Documentation

◆ VidaReader()

template<class T>
aims::VidaReader< T >::VidaReader ( const std::string &  name)
inline

Definition at line 59 of file vidaR.h.

◆ ~VidaReader()

template<class T>
virtual aims::VidaReader< T >::~VidaReader ( )
inlinevirtual

Member Function Documentation

◆ frameRead()

template<class T>
void aims::VidaReader< T >::frameRead ( AimsData< T > &  thing,
const carto::AllocatorContext &  context,
int  frame,
int  border = 0 
)

◆ read()

template<class T>
void aims::VidaReader< T >::read ( AimsData< T > &  thing,
const carto::AllocatorContext &  context,
carto::Object  options 
)

Read the data with "name" file name from disk.

Parameters
thingreference to the data to read

Referenced by aims::operator>>(), and aims::VidaReader< T >::~VidaReader().

◆ setupMemMode()

template<class T>
carto::AllocatorContext aims::VidaReader< T >::setupMemMode ( const VidaHeader hdr,
const carto::AllocatorContext &  c,
int  border 
)

Friends And Related Function Documentation

◆ operator>>

template<class T>
VidaReader<T>& operator>> ( VidaReader< T > &  reader,
AimsData< T > &  thing 
)
friend

Input stream operator.

Definition at line 88 of file vidaR.h.


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