ITK  4.3.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
itk::BinaryThresholdSpatialFunction< TFunction > Class Template Reference

#include <itkBinaryThresholdSpatialFunction.h>

+ Inheritance diagram for itk::BinaryThresholdSpatialFunction< TFunction >:
+ Collaboration diagram for itk::BinaryThresholdSpatialFunction< TFunction >:

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 42 of file itkBinaryThresholdSpatialFunction.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef TFunction::OutputType FunctionOutputType
 
typedef TFunction FunctionType
 
typedef TFunction::InputType InputType
 
typedef Superclass::OutputType OutputType
 
typedef SmartPointer< SelfPointer
 
typedef
BinaryThresholdSpatialFunction 
Self
 
typedef SpatialFunction< bool,
TFunction::ImageDimension,
typename TFunction::InputType > 
Superclass
 
- Public Types inherited from itk::SpatialFunction< bool, TFunction::ImageDimension, TFunction::InputType >
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::InputType InputType
 
typedef Superclass::OutputType OutputType
 
typedef SmartPointer< SelfPointer
 
typedef SpatialFunction Self
 
typedef FunctionBase
< TFunction::InputType, bool > 
Superclass
 
- Public Types inherited from itk::FunctionBase< TFunction::InputType, bool >
typedef SmartPointer< const SelfConstPointer
 
typedef TFunction::InputType InputType
 
typedef bool OutputType
 
typedef SmartPointer< SelfPointer
 
typedef FunctionBase Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual OutputType Evaluate (const InputType &point) const
 
virtual const char * GetNameOfClass () 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

static Pointer New ()
 

Protected Member Functions

 BinaryThresholdSpatialFunction ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
 ~BinaryThresholdSpatialFunction ()
 
- Protected Member Functions inherited from itk::SpatialFunction< bool, TFunction::ImageDimension, TFunction::InputType >
void PrintSelf (std::ostream &os, Indent indent) const
 
 SpatialFunction ()
 
virtual ~SpatialFunction ()
 
- Protected Member Functions inherited from itk::FunctionBase< TFunction::InputType, bool >
 FunctionBase ()
 
 ~FunctionBase ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Protected Attributes

FunctionType::Pointer m_Function
 
FunctionOutputType m_LowerThreshold
 
FunctionOutputType m_UpperThreshold
 

Private Member Functions

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

Additional Inherited Members

- Static Public Attributes inherited from itk::SpatialFunction< bool, TFunction::ImageDimension, TFunction::InputType >
static const unsigned int ImageDimension
 
- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 

Member Typedef Documentation

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

Definition at line 55 of file itkBinaryThresholdSpatialFunction.h.

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

Underlying function output type.

Definition at line 73 of file itkBinaryThresholdSpatialFunction.h.

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

Underlying function type.

Definition at line 70 of file itkBinaryThresholdSpatialFunction.h.

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

InputType typedef support.

Definition at line 67 of file itkBinaryThresholdSpatialFunction.h.

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

OutputType typedef support.

Definition at line 61 of file itkBinaryThresholdSpatialFunction.h.

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

Definition at line 54 of file itkBinaryThresholdSpatialFunction.h.

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

Standard class typedefs.

Definition at line 49 of file itkBinaryThresholdSpatialFunction.h.

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

Definition at line 52 of file itkBinaryThresholdSpatialFunction.h.

Constructor & Destructor Documentation

template<typename TFunction >
itk::BinaryThresholdSpatialFunction< TFunction >::BinaryThresholdSpatialFunction ( )
protected
template<typename TFunction >
itk::BinaryThresholdSpatialFunction< TFunction >::~BinaryThresholdSpatialFunction ( )
protected
template<typename TFunction >
itk::BinaryThresholdSpatialFunction< TFunction >::BinaryThresholdSpatialFunction ( const Self )
private

Member Function Documentation

template<typename TFunction >
virtual::itk::LightObject::Pointer itk::BinaryThresholdSpatialFunction< TFunction >::CreateAnother ( void  ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

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

Evaluate the function at a given position.

Implements itk::SpatialFunction< bool, TFunction::ImageDimension, TFunction::InputType >.

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< bool, TFunction::ImageDimension, TFunction::InputType >.

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

Set/Get the upper threshold.

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

New macro for creation of through the object factory.

template<typename TFunction >
void itk::BinaryThresholdSpatialFunction< TFunction >::operator= ( const Self )
private
template<typename TFunction >
void itk::BinaryThresholdSpatialFunction< TFunction >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

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::Object.

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 102 of file itkBinaryThresholdSpatialFunction.h.

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

Definition at line 99 of file itkBinaryThresholdSpatialFunction.h.

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

Definition at line 100 of file itkBinaryThresholdSpatialFunction.h.


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