aimsalgo 6.0.0
Neuroimaging image processing
Pyramid< T > Class Template Reference

#include <aims/pyramid/pyramid.h>

Collaboration diagram for Pyramid< T >:

Public Types

typedef AimsVector< bool, 3 > AxesType
 

Public Member Functions

 Pyramid (const PyramidFunc< T > &func)
 
virtual ~Pyramid ()
 
void setAxes (const AxesType &axes)
 
void setRef (carto::rc_ptr< carto::Volume< T > > ref)
 
void setLevel (int level)
 
const carto::rc_ptr< carto::Volume< T > > item (int level) const
 
void save (const std::string &name) const
 

Protected Member Functions

void _new_ppItem (int level)
 
void _free_ppItem ()
 
void _build ()
 

Protected Attributes

const PyramidFunc< T > & _func
 
carto::rc_ptr< carto::Volume< T > > _ref
 
int _level
 
carto::rc_ptr< carto::Volume< T > > * _ppItem
 
AxesType _axes
 

Detailed Description

template<class T>
class Pyramid< T >

Definition at line 48 of file pyramid.h.

Member Typedef Documentation

◆ AxesType

template<class T>
typedef AimsVector<bool, 3> Pyramid< T >::AxesType

Definition at line 51 of file pyramid.h.

Constructor & Destructor Documentation

◆ Pyramid()

template<class T>
Pyramid< T >::Pyramid ( const PyramidFunc< T > & func)
inline

Definition at line 53 of file pyramid.h.

References _axes, _func, _level, _ppItem, and _ref.

◆ ~Pyramid()

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

Definition at line 55 of file pyramid.h.

References _free_ppItem().

Member Function Documentation

◆ _build()

template<class T>
void Pyramid< T >::_build ( )
inlineprotected

Definition at line 167 of file pyramid.h.

References _axes, _func, _level, _ppItem, and _ref.

Referenced by setLevel().

◆ _free_ppItem()

template<class T>
void Pyramid< T >::_free_ppItem ( )
inlineprotected

Definition at line 144 of file pyramid.h.

References _ppItem.

Referenced by setLevel(), and ~Pyramid().

◆ _new_ppItem()

template<class T>
void Pyramid< T >::_new_ppItem ( int level)
inlineprotected

Definition at line 95 of file pyramid.h.

References _axes, _ppItem, and _ref.

Referenced by setLevel().

◆ item()

template<class T>
const carto::rc_ptr< carto::Volume< T > > Pyramid< T >::item ( int level) const
inline

◆ save()

template<class T>
void Pyramid< T >::save ( const std::string & name) const
inline

Definition at line 257 of file pyramid.h.

References _level, item(), and aims::Writer< class T >::write().

◆ setAxes()

template<class T>
void Pyramid< T >::setAxes ( const AxesType & axes)
inline

Definition at line 79 of file pyramid.h.

References _axes.

◆ setLevel()

template<class T>
void Pyramid< T >::setLevel ( int level)
inline

◆ setRef()

template<class T>
void Pyramid< T >::setRef ( carto::rc_ptr< carto::Volume< T > > ref)
inline

Member Data Documentation

◆ _axes

template<class T>
AxesType Pyramid< T >::_axes
protected

Definition at line 75 of file pyramid.h.

Referenced by _build(), _new_ppItem(), Pyramid(), and setAxes().

◆ _func

template<class T>
const PyramidFunc<T>& Pyramid< T >::_func
protected

Definition at line 65 of file pyramid.h.

Referenced by _build(), and Pyramid().

◆ _level

template<class T>
int Pyramid< T >::_level
protected

Definition at line 67 of file pyramid.h.

Referenced by _build(), item(), Pyramid(), save(), setLevel(), and setRef().

◆ _ppItem

template<class T>
carto::rc_ptr<carto::Volume<T> >* Pyramid< T >::_ppItem
protected

Definition at line 68 of file pyramid.h.

Referenced by _build(), _free_ppItem(), _new_ppItem(), item(), and Pyramid().

◆ _ref

template<class T>
carto::rc_ptr<carto::Volume<T> > Pyramid< T >::_ref
protected

Definition at line 66 of file pyramid.h.

Referenced by _build(), _new_ppItem(), item(), Pyramid(), setLevel(), and setRef().


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