A.I.M.S algorithms


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

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

Definition at line 52 of file pyramid.h.

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

Definition at line 54 of file pyramid.h.

References Pyramid< T >::_free_ppItem().

Member Function Documentation

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

Definition at line 147 of file pyramid.h.

References aims::meshdistance::min().

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

Definition at line 122 of file pyramid.h.

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

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

Definition at line 86 of file pyramid.h.

References AimsData< T >::dimX(), and AimsData< T >::setSizeXYZT().

template<class T >
const AimsData< T > & Pyramid< T >::item ( int  level) const
inline

Definition at line 200 of file pyramid.h.

References ASSERT.

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

Definition at line 213 of file pyramid.h.

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

Definition at line 135 of file pyramid.h.

References ASSERT.

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

Definition at line 75 of file pyramid.h.

Member Data Documentation

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

Definition at line 63 of file pyramid.h.

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

Definition at line 65 of file pyramid.h.

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

Definition at line 66 of file pyramid.h.

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

Definition at line 64 of file pyramid.h.


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