aimsalgo  5.1.2
Neuroimaging image processing
Sampler< T > Class Template Reference

#include <aims/resampling/sampler.h>

Collaboration diagram for Sampler< T >:

Public Member Functions

 Sampler ()
 
virtual ~Sampler ()
 
virtual void doit (const Motion &motion, carto::rc_ptr< carto::Volume< PVItem > > &thing) const
 
void setRef (const carto::rc_ptr< carto::Volume< T > > &ref)
 

Protected Member Functions

void _sliceResamp (carto::rc_ptr< carto::Volume< PVItem > > &resamp, PVItem *out, const Point3df &start, int t, const carto::rc_ptr< carto::Volume< float > > &Rinv) const
 

Protected Attributes

const carto::rc_ptr< carto::Volume< T > > * _ref
 

Detailed Description

template<class T>
class Sampler< T >

Definition at line 59 of file sampler.h.

Constructor & Destructor Documentation

◆ Sampler()

template<class T >
Sampler< T >::Sampler ( )
inline

Definition at line 63 of file sampler.h.

◆ ~Sampler()

template<class T >
virtual Sampler< T >::~Sampler ( )
inlinevirtual

Definition at line 64 of file sampler.h.

Member Function Documentation

◆ _sliceResamp()

template<class T >
void Sampler< T >::_sliceResamp ( carto::rc_ptr< carto::Volume< PVItem > > &  resamp,
PVItem out,
const Point3df start,
int  t,
const carto::rc_ptr< carto::Volume< float > > &  Rinv 
) const
inlineprotected

Definition at line 154 of file sampler.h.

References PVItem::offset, PVItem::x, PVItem::y, and PVItem::z.

◆ doit()

template<class T >
void Sampler< T >::doit ( const Motion motion,
carto::rc_ptr< carto::Volume< PVItem > > &  thing 
) const
inlinevirtual

◆ setRef()

template<class T >
void Sampler< T >::setRef ( const carto::rc_ptr< carto::Volume< T > > &  ref)
inline

Definition at line 71 of file sampler.h.

References ref().

Member Data Documentation

◆ _ref

template<class T >
const carto::rc_ptr<carto::Volume<T> >* Sampler< T >::_ref
protected

Definition at line 79 of file sampler.h.


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