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

#include <aims/pyramid/pyramid.h>

Collaboration diagram for Pyramid< T >:

Public Member Functions

 Pyramid (const PyramidFunc< T > &func)
 
virtual ~Pyramid ()
 
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
 

Detailed Description

template<class T>
class Pyramid< T >

Definition at line 48 of file pyramid.h.

Constructor & Destructor Documentation

◆ Pyramid()

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

Definition at line 52 of file pyramid.h.

◆ ~Pyramid()

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

Definition at line 54 of file pyramid.h.

References Pyramid< T >::_free_ppItem().

Member Function Documentation

◆ _build()

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

Definition at line 153 of file pyramid.h.

References aims::meshdistance::min().

◆ _free_ppItem()

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

Definition at line 130 of file pyramid.h.

Referenced by Pyramid< T >::~Pyramid().

◆ _new_ppItem()

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

Definition at line 86 of file pyramid.h.

◆ 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 220 of file pyramid.h.

References aims::Writer< class >::write().

◆ 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

◆ _func

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

Definition at line 63 of file pyramid.h.

◆ _level

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

Definition at line 65 of file pyramid.h.

◆ _ppItem

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

Definition at line 66 of file pyramid.h.

◆ _ref

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

Definition at line 64 of file pyramid.h.


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