Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::BinaryThresholdSpatialFunction< TFunction > Class Template Reference

A spatial functions that returns if the internal spatial function is within user specified thresholds. More...

#include <itkBinaryThresholdSpatialFunction.h>

Inheritance diagram for itk::BinaryThresholdSpatialFunction< TFunction >:

Inheritance graph
[legend]
Collaboration diagram for itk::BinaryThresholdSpatialFunction< TFunction >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef BinaryThresholdSpatialFunction Self
typedef SpatialFunction< bool,
::itk::GetImageDimension<
TFunction >::ImageDimension,
typename TFunction::InputType > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef Superclass::OutputType OutputType
typedef TFunction::InputType InputType
typedef TFunction FunctionType
typedef TFunction::OutputType FunctionOutputType

Public Member Functions

virtual const char * GetNameOfClass () const
virtual OutputType Evaluate (const InputType &point) const
virtual void SetLowerThreshold (FunctionOutputType _arg)
virtual const FunctionOutputTypeGetLowerThreshold ()
virtual void SetUpperThreshold (FunctionOutputType _arg)
virtual const FunctionOutputTypeGetUpperThreshold ()
virtual void SetFunction (FunctionType *_arg)
virtual const FunctionTypeGetFunction ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

 BinaryThresholdSpatialFunction ()
 ~BinaryThresholdSpatialFunction ()
void PrintSelf (std::ostream &os, Indent indent) const

Protected Attributes

FunctionOutputType m_LowerThreshold
FunctionOutputType m_UpperThreshold
FunctionType::Pointer m_Function

Detailed Description

template<typename TFunction>
class itk::BinaryThresholdSpatialFunction< TFunction >

A spatial functions that returns if the internal spatial function is within user specified thresholds.

BinaryThresholdSpatialFunction is a wrapper class for an internal spatial function and returns true if it is within user specified thresholds and false otherwise.

This class is templated over the internal spatial function type.

See also:
SpatialFunction

Definition at line 41 of file itkBinaryThresholdSpatialFunction.h.


Member Typedef Documentation

template<typename TFunction>
typedef SmartPointer<const Self> itk::BinaryThresholdSpatialFunction< TFunction >::ConstPointer
 

Reimplemented from itk::SpatialFunction< TOutput, VImageDimension, TInput >.

Definition at line 53 of file itkBinaryThresholdSpatialFunction.h.

template<typename TFunction>
typedef TFunction::OutputType itk::BinaryThresholdSpatialFunction< TFunction >::FunctionOutputType
 

Underlying function output type.

Definition at line 71 of file itkBinaryThresholdSpatialFunction.h.

template<typename TFunction>
typedef TFunction itk::BinaryThresholdSpatialFunction< TFunction >::FunctionType
 

Underlying function type.

Definition at line 68 of file itkBinaryThresholdSpatialFunction.h.

template<typename TFunction>
typedef TFunction::InputType itk::BinaryThresholdSpatialFunction< TFunction >::InputType
 

InputType typedef support.

Reimplemented from itk::SpatialFunction< TOutput, VImageDimension, TInput >.

Definition at line 65 of file itkBinaryThresholdSpatialFunction.h.

template<typename TFunction>
typedef Superclass::OutputType itk::BinaryThresholdSpatialFunction< TFunction >::OutputType
 

OutputType typedef support.

Reimplemented from itk::SpatialFunction< TOutput, VImageDimension, TInput >.

Definition at line 62 of file itkBinaryThresholdSpatialFunction.h.

template<typename TFunction>
typedef SmartPointer<Self> itk::BinaryThresholdSpatialFunction< TFunction >::Pointer
 

Reimplemented from itk::SpatialFunction< TOutput, VImageDimension, TInput >.

Definition at line 52 of file itkBinaryThresholdSpatialFunction.h.

template<typename TFunction>
typedef BinaryThresholdSpatialFunction itk::BinaryThresholdSpatialFunction< TFunction >::Self
 

Standard class typedefs.

Reimplemented from itk::SpatialFunction< TOutput, VImageDimension, TInput >.

Definition at line 48 of file itkBinaryThresholdSpatialFunction.h.

template<typename TFunction>
typedef SpatialFunction< bool, ::itk::GetImageDimension<TFunction>::ImageDimension, typename TFunction::InputType > itk::BinaryThresholdSpatialFunction< TFunction >::Superclass
 

Reimplemented from itk::SpatialFunction< TOutput, VImageDimension, TInput >.

Definition at line 51 of file itkBinaryThresholdSpatialFunction.h.


Constructor & Destructor Documentation

template<typename TFunction>
itk::BinaryThresholdSpatialFunction< TFunction >::BinaryThresholdSpatialFunction  )  [protected]
 

template<typename TFunction>
itk::BinaryThresholdSpatialFunction< TFunction >::~BinaryThresholdSpatialFunction  )  [protected]
 


Member Function Documentation

template<typename TFunction>
virtual OutputType itk::BinaryThresholdSpatialFunction< TFunction >::Evaluate const InputType point  )  const [virtual]
 

Evaluate the function at a given position.

Implements itk::SpatialFunction< TOutput, VImageDimension, TInput >.

template<typename TFunction>
virtual const FunctionType* itk::BinaryThresholdSpatialFunction< TFunction >::GetFunction  )  [virtual]
 

Set/Get the underlying function.

template<typename TFunction>
virtual const FunctionOutputType& itk::BinaryThresholdSpatialFunction< TFunction >::GetLowerThreshold  )  [virtual]
 

Set/Get the lower threshold.

template<typename TFunction>
virtual const char* itk::BinaryThresholdSpatialFunction< TFunction >::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::SpatialFunction< TOutput, VImageDimension, TInput >.

template<typename TFunction>
virtual const FunctionOutputType& itk::BinaryThresholdSpatialFunction< TFunction >::GetUpperThreshold  )  [virtual]
 

Set/Get the upper threshold.

template<typename TFunction>
Pointer itk::BinaryThresholdSpatialFunction< TFunction >::New  )  [static]
 

New macro for creation of through the object factory.

Reimplemented from itk::Object.

template<typename TFunction>
void itk::BinaryThresholdSpatialFunction< TFunction >::PrintSelf std::ostream &  os,
Indent  indent
const [protected, virtual]
 

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::SpatialFunction< TOutput, VImageDimension, TInput >.

template<typename TFunction>
virtual void itk::BinaryThresholdSpatialFunction< TFunction >::SetFunction FunctionType _arg  )  [virtual]
 

Set/Get the underlying function.

template<typename TFunction>
virtual void itk::BinaryThresholdSpatialFunction< TFunction >::SetLowerThreshold FunctionOutputType  _arg  )  [virtual]
 

Set/Get the lower threshold.

template<typename TFunction>
virtual void itk::BinaryThresholdSpatialFunction< TFunction >::SetUpperThreshold FunctionOutputType  _arg  )  [virtual]
 

Set/Get the upper threshold.


Member Data Documentation

template<typename TFunction>
FunctionType::Pointer itk::BinaryThresholdSpatialFunction< TFunction >::m_Function [protected]
 

Definition at line 99 of file itkBinaryThresholdSpatialFunction.h.

template<typename TFunction>
FunctionOutputType itk::BinaryThresholdSpatialFunction< TFunction >::m_LowerThreshold [protected]
 

Definition at line 97 of file itkBinaryThresholdSpatialFunction.h.

template<typename TFunction>
FunctionOutputType itk::BinaryThresholdSpatialFunction< TFunction >::m_UpperThreshold [protected]
 

Definition at line 98 of file itkBinaryThresholdSpatialFunction.h.


The documentation for this class was generated from the following file:
Generated at Thu May 25 00:26:57 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000