ITK  4.2.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions
itk::PointSetFunction< TInputPointSet, TOutput, TCoordRep > Class Template Reference

#include <itkPointSetFunction.h>

+ Inheritance diagram for itk::PointSetFunction< TInputPointSet, TOutput, TCoordRep >:
+ Collaboration diagram for itk::PointSetFunction< TInputPointSet, TOutput, TCoordRep >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef TCoordRep CoordRepType
typedef
InputPointSetType::PixelType 
InputPixelType
typedef
InputPointSetType::ConstPointer 
InputPointSetConstPointer
typedef TInputPointSet InputPointSetType
typedef
InputPointSetType::PointType 
InputPointType
typedef TOutput OutputType
typedef SmartPointer< SelfPointer
typedef PointSetFunction Self
typedef FunctionBase< typename
TInputPointSet::PointType,
TOutput > 
Superclass
- Public Types inherited from itk::FunctionBase< TInputPointSet::PointType, TOutput >
typedef TInputPointSet::PointType InputType
- Public Types inherited from itk::Object
- Public Types inherited from itk::LightObject

Public Member Functions

virtual TOutput Evaluate (const InputPointType &point) const =0
const InputPointSetTypeGetInputPointSet () const
virtual const char * GetNameOfClass () const
virtual void SetInputPointSet (const InputPointSetType *ptr)
- Public Member Functions inherited from itk::FunctionBase< TInputPointSet::PointType, TOutput >
virtual OutputType Evaluate (const InputType &input) const =0
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
unsigned long AddObserver (const EventObject &event, Command *) const
virtual LightObject::Pointer CreateAnother () const
virtual void DebugOff () const
virtual void DebugOn () const
CommandGetCommand (unsigned long tag)
bool GetDebug () const
MetaDataDictionaryGetMetaDataDictionary (void)
const MetaDataDictionaryGetMetaDataDictionary (void) const
virtual unsigned long GetMTime () const
virtual const TimeStampGetTimeStamp () const
bool HasObserver (const EventObject &event) const
void InvokeEvent (const EventObject &)
void InvokeEvent (const EventObject &) const
virtual void Modified () const
virtual void Register () const
void RemoveAllObservers ()
void RemoveObserver (unsigned long tag)
void SetDebug (bool debugFlag) const
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
virtual void SetReferenceCount (int)
virtual void UnRegister () const
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
virtual int GetReferenceCount () const
 itkCloneMacro (Self)
void Print (std::ostream &os, Indent indent=0) const

Static Public Attributes

static const unsigned int Dimension = TInputPointSet::PointDimension

Protected Member Functions

 PointSetFunction ()
void PrintSelf (std::ostream &os, Indent indent) const
virtual ~PointSetFunction ()
- Protected Member Functions inherited from itk::FunctionBase< TInputPointSet::PointType, TOutput >
 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

InputPointSetConstPointer m_PointSet

Private Member Functions

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

Detailed Description

template<class TInputPointSet, class TOutput, class TCoordRep = float>
class itk::PointSetFunction< TInputPointSet, TOutput, TCoordRep >

Evaluates a function of an image at specified position.

FIXME: Documentation was copy-pasted from ImageFunction.

PointSetFunction is a baseclass for all objects that evaluates a function of an image at index, continuous index or point. This class is templated over the input image type, the type of the function output and the coordinate representation type (e.g. float or double).

The input image is set via method SetInputPointSet(). Methods Evaluate, EvaluateAtIndex and EvaluateAtContinuousIndex respectively evaluates the function at an geometric point, image index and continuous image index.

Warning:
Image BufferedRegion information is cached during in SetInputPointSet( image ). If the image BufferedRegion has changed one must call SetInputPointSet( image ) again to update the cache to the current values.
See also:
Point
Index
ContinuousIndex

Definition at line 60 of file itkPointSetFunction.h.


Member Typedef Documentation

template<class TInputPointSet, class TOutput, class TCoordRep = float>
typedef SmartPointer<const Self> itk::PointSetFunction< TInputPointSet, TOutput, TCoordRep >::ConstPointer
template<class TInputPointSet, class TOutput, class TCoordRep = float>
typedef TCoordRep itk::PointSetFunction< TInputPointSet, TOutput, TCoordRep >::CoordRepType

CoordRepType typedef support.

Reimplemented in itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >.

Definition at line 92 of file itkPointSetFunction.h.

template<class TInputPointSet, class TOutput, class TCoordRep = float>
typedef InputPointSetType::PixelType itk::PointSetFunction< TInputPointSet, TOutput, TCoordRep >::InputPixelType

Definition at line 83 of file itkPointSetFunction.h.

template<class TInputPointSet, class TOutput, class TCoordRep = float>
typedef InputPointSetType::ConstPointer itk::PointSetFunction< TInputPointSet, TOutput, TCoordRep >::InputPointSetConstPointer

InputPointSetPointer typedef support

Definition at line 86 of file itkPointSetFunction.h.

template<class TInputPointSet, class TOutput, class TCoordRep = float>
typedef TInputPointSet itk::PointSetFunction< TInputPointSet, TOutput, TCoordRep >::InputPointSetType

InputPointSetType typedef support.

Reimplemented in itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >.

Definition at line 76 of file itkPointSetFunction.h.

template<class TInputPointSet, class TOutput, class TCoordRep = float>
typedef InputPointSetType::PointType itk::PointSetFunction< TInputPointSet, TOutput, TCoordRep >::InputPointType

InputPixel typedef support

Reimplemented in itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >.

Definition at line 82 of file itkPointSetFunction.h.

template<class TInputPointSet, class TOutput, class TCoordRep = float>
typedef TOutput itk::PointSetFunction< TInputPointSet, TOutput, TCoordRep >::OutputType
template<class TInputPointSet, class TOutput, class TCoordRep = float>
typedef SmartPointer<Self> itk::PointSetFunction< TInputPointSet, TOutput, TCoordRep >::Pointer
template<class TInputPointSet, class TOutput, class TCoordRep = float>
typedef PointSetFunction itk::PointSetFunction< TInputPointSet, TOutput, TCoordRep >::Self
template<class TInputPointSet, class TOutput, class TCoordRep = float>
typedef FunctionBase<typename TInputPointSet::PointType, TOutput> itk::PointSetFunction< TInputPointSet, TOutput, TCoordRep >::Superclass

Constructor & Destructor Documentation

template<class TInputPointSet, class TOutput, class TCoordRep = float>
itk::PointSetFunction< TInputPointSet, TOutput, TCoordRep >::PointSetFunction ( )
protected
template<class TInputPointSet, class TOutput, class TCoordRep = float>
virtual itk::PointSetFunction< TInputPointSet, TOutput, TCoordRep >::~PointSetFunction ( )
protectedvirtual
template<class TInputPointSet, class TOutput, class TCoordRep = float>
itk::PointSetFunction< TInputPointSet, TOutput, TCoordRep >::PointSetFunction ( const Self )
private

Member Function Documentation

template<class TInputPointSet, class TOutput, class TCoordRep = float>
virtual TOutput itk::PointSetFunction< TInputPointSet, TOutput, TCoordRep >::Evaluate ( const InputPointType point) const
pure virtual

Evaluate the function at specified Point position. Subclasses must provide this method.

template<class TInputPointSet, class TOutput, class TCoordRep = float>
const InputPointSetType* itk::PointSetFunction< TInputPointSet, TOutput, TCoordRep >::GetInputPointSet ( ) const
inline

Get the input image.

Definition at line 101 of file itkPointSetFunction.h.

template<class TInputPointSet, class TOutput, class TCoordRep = float>
virtual const char* itk::PointSetFunction< TInputPointSet, TOutput, TCoordRep >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::FunctionBase< TInputPointSet::PointType, TOutput >.

template<class TInputPointSet, class TOutput, class TCoordRep = float>
void itk::PointSetFunction< TInputPointSet, TOutput, TCoordRep >::operator= ( const Self )
private

Mutex lock to protect modification to the reference count

Reimplemented from itk::FunctionBase< TInputPointSet::PointType, TOutput >.

Reimplemented in itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >.

template<class TInputPointSet, class TOutput, class TCoordRep = float>
void itk::PointSetFunction< TInputPointSet, TOutput, TCoordRep >::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.

Reimplemented in itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >.

template<class TInputPointSet, class TOutput, class TCoordRep = float>
virtual void itk::PointSetFunction< TInputPointSet, TOutput, TCoordRep >::SetInputPointSet ( const InputPointSetType ptr)
virtual

Set the input point set.

Warning:
this method caches BufferedRegion information. If the BufferedRegion has changed, user must call SetInputPointSet again to update cached values.

Member Data Documentation

template<class TInputPointSet, class TOutput, class TCoordRep = float>
const unsigned int itk::PointSetFunction< TInputPointSet, TOutput, TCoordRep >::Dimension = TInputPointSet::PointDimension
static

Dimension underlying input point set.

Definition at line 66 of file itkPointSetFunction.h.

template<class TInputPointSet, class TOutput, class TCoordRep = float>
InputPointSetConstPointer itk::PointSetFunction< TInputPointSet, TOutput, TCoordRep >::m_PointSet
protected

Const pointer to the input image.

Definition at line 114 of file itkPointSetFunction.h.


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