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

#include <aims/pyramid/pyramid.h>

Public Member Functions

 Pyramid (const PyramidFunc< T > &func)
 
virtual ~Pyramid ()
 
void setRef (AimsData< T > &ref)
 
void setLevel (int level)
 
const AimsData< 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
 
AimsData< T > * _ref
 
int _level
 
AimsData< 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

Member Function Documentation

◆ _build()

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

◆ _free_ppItem()

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

Definition at line 122 of file pyramid.h.

References Pyramid< T >::_level, and Pyramid< T >::_ppItem.

Referenced by Pyramid< T >::setLevel(), and Pyramid< T >::~Pyramid().

◆ _new_ppItem()

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

Definition at line 86 of file pyramid.h.

References Pyramid< T >::_ppItem, and Pyramid< T >::_ref.

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

◆ item()

template<class T >
const AimsData< 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 213 of file pyramid.h.

References Pyramid< T >::_level, and Pyramid< T >::item().

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

◆ setLevel()

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

◆ setRef()

template<class T >
void Pyramid< T >::setRef ( AimsData< T > &  ref)
inline

Definition at line 75 of file pyramid.h.

References Pyramid< T >::_level, Pyramid< T >::_ref, and Pyramid< T >::setLevel().

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

Member Data Documentation

◆ _func

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

Definition at line 63 of file pyramid.h.

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

◆ _level

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

◆ _ppItem

template<class T>
AimsData<T>** Pyramid< T >::_ppItem
protected

◆ _ref

template<class T>
AimsData<T>* Pyramid< T >::_ref
protected

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