DMRITool  v0.1.1-139-g860d86b4
Diffusion MRI Tool
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
itk::UnaryFunctorLookUpTable< TFunctor > Class Template Reference

#include <itkUnaryFunctorLookUpTable.h>

+ Inheritance diagram for itk::UnaryFunctorLookUpTable< TFunctor >:
+ Collaboration diagram for itk::UnaryFunctorLookUpTable< TFunctor >:

Detailed Description

template<class TFunctor>
class itk::UnaryFunctorLookUpTable< TFunctor >

use UnaryFunctorLookUpTable to accelerate evaluation of functions.

Author
Jian Cheng (JC), jian..nosp@m.chen.nosp@m.g.198.nosp@m.3@gm.nosp@m.ail.c.nosp@m.om

Definition at line 34 of file itkUnaryFunctorLookUpTable.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::FunctorType FunctorType
 
typedef Superclass::FunctorValueType FunctorValueType
 
typedef Superclass::ParametersType ParametersType
 
typedef SmartPointer< SelfPointer
 
typedef UnaryFunctorLookUpTable Self
 
typedef Superclass::STDVectorPointer STDVectorPointer
 
typedef Superclass::STDVectorType STDVectorType
 
typedef FunctorTableBase< TFunctor, double, double > Superclass
 
- Public Types inherited from itk::FunctorTableBase< TFunctor, double, double >
typedef SmartPointer< const SelfConstPointer
 
typedef TFunctor FunctorType
 
typedef double FunctorValueType
 
typedef double ParametersType
 
typedef SmartPointer< SelfPointer
 
typedef FunctorTableBase Self
 
typedef utl_shared_ptr< STDVectorTypeSTDVectorPointer
 
typedef std::vector< double > STDVectorType
 
typedef Object Superclass
 

Public Member Functions

void BuildTable ()
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
FunctorValueType GetFunctionValue (const ParametersType &var)
 
virtual const char * GetNameOfClass () const
 
virtual int GetNumberOfBins ()
 
virtual STDVectorPointer GetTable ()
 
unsigned long GetTableSize () const
 
virtual double GetVariableMax ()
 
virtual double GetVariableMin ()
 
void Initialize () ITK_OVERRIDE
 
bool IsTableBuilt () const
 
virtual void SetNumberOfBins (int _arg)
 
virtual void SetVariableMax (double _arg)
 
virtual void SetVariableMin (double _arg)
 
- Public Member Functions inherited from itk::FunctorTableBase< TFunctor, double, double >
void BuildTable ()
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
FunctorValueType GetFunctionValue (const ParametersType &param)
 
FunctorTypeGetFunctor ()
 
const FunctorTypeGetFunctor () const
 
unsigned long GetTableSize () const
 
bool IsTableBuilt () const
 
void SetFunctor (const FunctorType &functor)
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::FunctorTableBase< TFunctor, double, double >
static Pointer New ()
 

Protected Member Functions

LightObject::Pointer InternalClone () const ITK_OVERRIDE
 
void PrintSelf (std::ostream &os, Indent indent) const ITK_OVERRIDE
 
 UnaryFunctorLookUpTable ()
 
 ~UnaryFunctorLookUpTable ()
 
- Protected Member Functions inherited from itk::FunctorTableBase< TFunctor, double, double >
 FunctorTableBase ()
 
LightObject::Pointer InternalClone () const ITK_OVERRIDE
 
virtual ~FunctorTableBase ()
 

Protected Attributes

double m_Delta
 
double m_DeltaInv
 
int m_NumberOfBins
 
STDVectorPointer m_Table
 
double m_VariableMax
 
double m_VariableMin
 
- Protected Attributes inherited from itk::FunctorTableBase< TFunctor, double, double >
FunctorType m_Functor
 

Private Member Functions

void operator= (const Self &)
 
 UnaryFunctorLookUpTable (const Self &)
 

Member Typedef Documentation

template<class TFunctor >
typedef SmartPointer<const Self> itk::UnaryFunctorLookUpTable< TFunctor >::ConstPointer

Definition at line 42 of file itkUnaryFunctorLookUpTable.h.

template<class TFunctor >
typedef Superclass::FunctorType itk::UnaryFunctorLookUpTable< TFunctor >::FunctorType

Definition at line 51 of file itkUnaryFunctorLookUpTable.h.

template<class TFunctor >
typedef Superclass::FunctorValueType itk::UnaryFunctorLookUpTable< TFunctor >::FunctorValueType

Definition at line 52 of file itkUnaryFunctorLookUpTable.h.

template<class TFunctor >
typedef Superclass::ParametersType itk::UnaryFunctorLookUpTable< TFunctor >::ParametersType

Definition at line 48 of file itkUnaryFunctorLookUpTable.h.

template<class TFunctor >
typedef SmartPointer<Self> itk::UnaryFunctorLookUpTable< TFunctor >::Pointer

Definition at line 41 of file itkUnaryFunctorLookUpTable.h.

template<class TFunctor >
typedef UnaryFunctorLookUpTable itk::UnaryFunctorLookUpTable< TFunctor >::Self

Standard class typedefs.

Definition at line 39 of file itkUnaryFunctorLookUpTable.h.

template<class TFunctor >
typedef Superclass::STDVectorPointer itk::UnaryFunctorLookUpTable< TFunctor >::STDVectorPointer

Definition at line 55 of file itkUnaryFunctorLookUpTable.h.

template<class TFunctor >
typedef Superclass::STDVectorType itk::UnaryFunctorLookUpTable< TFunctor >::STDVectorType

Definition at line 54 of file itkUnaryFunctorLookUpTable.h.

template<class TFunctor >
typedef FunctorTableBase<TFunctor, double, double> itk::UnaryFunctorLookUpTable< TFunctor >::Superclass

Definition at line 40 of file itkUnaryFunctorLookUpTable.h.

Constructor & Destructor Documentation

template<class TFunctor >
itk::UnaryFunctorLookUpTable< TFunctor >::UnaryFunctorLookUpTable ( )
inlineprotected

Definition at line 109 of file itkUnaryFunctorLookUpTable.h.

template<class TFunctor >
itk::UnaryFunctorLookUpTable< TFunctor >::~UnaryFunctorLookUpTable ( )
inlineprotected

Definition at line 118 of file itkUnaryFunctorLookUpTable.h.

template<class TFunctor >
itk::UnaryFunctorLookUpTable< TFunctor >::UnaryFunctorLookUpTable ( const Self )
private

Member Function Documentation

template<class TFunctor >
void itk::UnaryFunctorLookUpTable< TFunctor >::BuildTable ( )
inline

Definition at line 73 of file itkUnaryFunctorLookUpTable.h.

References utlGlobalException.

template<class TFunctor >
virtual::itk::LightObject::Pointer itk::UnaryFunctorLookUpTable< TFunctor >::CreateAnother ( void  ) const
template<class TFunctor >
FunctorValueType itk::UnaryFunctorLookUpTable< TFunctor >::GetFunctionValue ( const ParametersType var)
inline

Definition at line 95 of file itkUnaryFunctorLookUpTable.h.

References utlGlobalException.

template<class TFunctor >
virtual const char* itk::UnaryFunctorLookUpTable< TFunctor >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods)

Reimplemented from itk::FunctorTableBase< TFunctor, double, double >.

template<class TFunctor >
virtual int itk::UnaryFunctorLookUpTable< TFunctor >::GetNumberOfBins ( )
virtual
template<class TFunctor >
virtual STDVectorPointer itk::UnaryFunctorLookUpTable< TFunctor >::GetTable ( )
virtual
template<class TFunctor >
unsigned long itk::UnaryFunctorLookUpTable< TFunctor >::GetTableSize ( ) const
inline

Definition at line 85 of file itkUnaryFunctorLookUpTable.h.

template<class TFunctor >
virtual double itk::UnaryFunctorLookUpTable< TFunctor >::GetVariableMax ( )
virtual
template<class TFunctor >
virtual double itk::UnaryFunctorLookUpTable< TFunctor >::GetVariableMin ( )
virtual
template<class TFunctor >
void itk::UnaryFunctorLookUpTable< TFunctor >::Initialize ( )
inlinevirtual
template<class TFunctor >
LightObject::Pointer itk::UnaryFunctorLookUpTable< TFunctor >::InternalClone ( ) const
inlineprotected

Definition at line 128 of file itkUnaryFunctorLookUpTable.h.

template<class TFunctor >
bool itk::UnaryFunctorLookUpTable< TFunctor >::IsTableBuilt ( ) const
inline

Definition at line 90 of file itkUnaryFunctorLookUpTable.h.

template<class TFunctor >
static Pointer itk::UnaryFunctorLookUpTable< TFunctor >::New ( )
static

Method for creation through the object factory.

Referenced by itk::CylinderModelGenerator< PreciseType >::CylinderModelGenerator(), and itk::InitializeLUTExp().

+ Here is the caller graph for this function:

template<class TFunctor >
void itk::UnaryFunctorLookUpTable< TFunctor >::operator= ( const Self )
private
template<class TFunctor >
void itk::UnaryFunctorLookUpTable< TFunctor >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
inlineprotected

Definition at line 120 of file itkUnaryFunctorLookUpTable.h.

References PrintVar4, and utlPrintVar3.

template<class TFunctor >
virtual void itk::UnaryFunctorLookUpTable< TFunctor >::SetNumberOfBins ( int  _arg)
virtual
template<class TFunctor >
virtual void itk::UnaryFunctorLookUpTable< TFunctor >::SetVariableMax ( double  _arg)
virtual
template<class TFunctor >
virtual void itk::UnaryFunctorLookUpTable< TFunctor >::SetVariableMin ( double  _arg)
virtual

Member Data Documentation

template<class TFunctor >
double itk::UnaryFunctorLookUpTable< TFunctor >::m_Delta
protected

Definition at line 148 of file itkUnaryFunctorLookUpTable.h.

template<class TFunctor >
double itk::UnaryFunctorLookUpTable< TFunctor >::m_DeltaInv
protected

Definition at line 149 of file itkUnaryFunctorLookUpTable.h.

template<class TFunctor >
int itk::UnaryFunctorLookUpTable< TFunctor >::m_NumberOfBins
protected

number of bins between m_VariableMin and m_VariableMax

Definition at line 152 of file itkUnaryFunctorLookUpTable.h.

template<class TFunctor >
STDVectorPointer itk::UnaryFunctorLookUpTable< TFunctor >::m_Table
protected

the size of m_Table is m_NumberOfBins+1

Definition at line 155 of file itkUnaryFunctorLookUpTable.h.

template<class TFunctor >
double itk::UnaryFunctorLookUpTable< TFunctor >::m_VariableMax
protected

Definition at line 146 of file itkUnaryFunctorLookUpTable.h.

template<class TFunctor >
double itk::UnaryFunctorLookUpTable< TFunctor >::m_VariableMin
protected

Definition at line 147 of file itkUnaryFunctorLookUpTable.h.


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