aimsalgo 6.0.0
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 57 of file sampler.h.

Constructor & Destructor Documentation

◆ Sampler()

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

Definition at line 61 of file sampler.h.

References _ref.

◆ ~Sampler()

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

Definition at line 62 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 158 of file sampler.h.

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

Referenced by doit().

◆ 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 69 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 77 of file sampler.h.

Referenced by doit(), Sampler(), and setRef().


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