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

itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType > Class Template Reference

#include <itkFiniteDifferenceSparseImageFilter.h>

Inheritance diagram for itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >:

Inheritance graph
[legend]
Collaboration diagram for itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class TInputImageType, class TSparseOutputImageType>
class itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >

This class implements a multi-threaded base class for Image to SparseImage finite difference processes.

This class implements a multi-threading mechanism for implementing finite difference PDE's on sparse image types. The sparse image is a image of pointers to node variables at valid pixel locations and null pointers at others. The node variable type must have the following members: m_Index, m_Data and m_Update.
This class also adds precomputing support to the finite difference image filter scheme. This support can be used by certain filters to speed up the processing. The m_PrecomputeFlag should be set to true to use this and the Function object must provide a PrecomputeSparseUpdate method.
INPUTS
The input to this filter is either a regular or sparse image. Subclasses should provide a way of copying this information to the output sparse image or initializing the output image nodes from the input image.
OUTPUTS
The output is a sparse image. The output will be in the m_Data members of the nodes of the sparse image.
IMPORTANT
The output sparse image type must be templated with a node type that at least has the following member variables: m_Index, m_Data and m_Update.

Definition at line 61 of file itkFiniteDifferenceSparseImageFilter.h.
virtual void ThreadedApplyUpdate (TimeStepType dt, const ThreadRegionType &regionToProcess, int threadId)
static ITK_THREAD_RETURN_TYPE ApplyUpdateThreaderCallback (void *arg)
virtual TimeStepType ThreadedCalculateChange (const ThreadRegionType &regionToProcess, int threadId)
static ITK_THREAD_RETURN_TYPE CalculateChangeThreaderCallback (void *arg)
virtual void ThreadedPrecalculateChange (const ThreadRegionType &regionToProcess, int threadId)
static ITK_THREAD_RETURN_TYPE PrecalculateChangeThreaderCallback (void *arg)

Public Types

typedef SmartPointer< const
Self
ConstPointer
typedef DataObject::Pointer DataObjectPointer
typedef std::vector< DataObjectPointerDataObjectPointerArray
typedef DataObjectPointerArray::size_type DataObjectPointerArraySizeType
enum  FilterStateType
typedef Superclass::FiniteDifferenceFunctionType FiniteDifferenceFunctionType
typedef SparseOutputImageType::IndexType IndexType
typedef InputImageType::ConstPointer InputImageConstPointer
typedef InputImageType::PixelType InputImagePixelType
typedef InputImageType::Pointer InputImagePointer
typedef InputImageType::RegionType InputImageRegionType
typedef Superclass::InputImageType InputImageType
typedef TInputImageType::PixelType InputPixelType
typedef NumericTraits< InputPixelType
>::ValueType 
InputPixelValueType
typedef FiniteDifferenceFunctionType::NeighborhoodScalesType NeighborhoodScalesType
typedef OutputNodeType::NodeDataType NodeDataType
typedef SparseOutputImageType::NodeListType NodeListType
typedef OutputNodeType::NodeValueType NodeValueType
typedef Superclass::OutputImagePixelType OutputImagePixelType
typedef Superclass::OutputImagePointer OutputImagePointer
typedef Superclass::OutputImageRegionType OutputImageRegionType
typedef TSparseOutputImageType OutputImageType
typedef SparseOutputImageType::NodeType OutputNodeType
typedef TSparseOutputImageType::PixelType OutputPixelType
typedef NumericTraits< OutputPixelType
>::ValueType 
OutputPixelValueType
typedef Superclass::PixelType PixelType
typedef SmartPointer< SelfPointer
typedef FiniteDifferenceFunctionType::RadiusType RadiusType
typedef FiniteDifferenceSparseImageFilter Self
typedef SparseOutputImageType::SizeType SizeType
typedef FiniteDifferenceSparseImageFunction<
SparseOutputImageType
SparseFunctionType
typedef Superclass::OutputImageType SparseOutputImageType
typedef FiniteDifferenceImageFilter<
TInputImageType, TSparseOutputImageType > 
Superclass
typedef Superclass::TimeStepType TimeStepType

Public Member Functions

virtual void AbortGenerateDataOff ()
virtual void AbortGenerateDataOn ()
bool CanRunInPlace () const
virtual LightObject::Pointer CreateAnother () const
virtual void DebugOff () const
virtual void DebugOn () const
virtual void Delete ()
virtual void EnlargeOutputRequestedRegion (DataObject *)
virtual const bool & GetAbortGenerateData ()
CommandGetCommand (unsigned long tag)
bool GetDebug () const
virtual const FiniteDifferenceFunctionType::PointerGetDifferenceFunction () const
virtual const unsigned int & GetElapsedIterations ()
virtual bool GetInPlace ()
const InputImageTypeGetInput (unsigned int idx)
const InputImageTypeGetInput (void)
DataObjectPointerArrayGetInputs ()
virtual const bool & GetManualReinitialization ()
virtual const double & GetMaximumRMSError ()
const MetaDataDictionaryGetMetaDataDictionary (void) const
MetaDataDictionaryGetMetaDataDictionary (void)
virtual unsigned long GetMTime () const
MultiThreaderGetMultiThreader ()
virtual const char * GetNameOfClass () const
DataObjectPointerArraySizeType GetNumberOfInputs () const
virtual const unsigned int & GetNumberOfIterations ()
virtual DataObjectPointerArraySizeType GetNumberOfValidRequiredInputs () const
OutputImageTypeGetOutput (unsigned int idx)
OutputImageTypeGetOutput (void)
virtual bool GetPrecomputeFlag ()
virtual const float & GetProgress ()
virtual int GetReferenceCount () const
virtual const double & GetRMSChange ()
virtual const FilterStateTypeGetState ()
virtual const bool & GetUseImageSpacing ()
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
virtual void GraftOutput (DataObject *output)
bool HasObserver (const EventObject &event) const
virtual void InPlaceOff ()
virtual void InPlaceOn ()
void InvokeEvent (const EventObject &) const
void InvokeEvent (const EventObject &)
 itkStaticConstMacro (OutputImageDimension, unsigned int, TSparseOutputImageType::ImageDimension)
 itkStaticConstMacro (InputImageDimension, unsigned int, TInputImageType::ImageDimension)
 itkStaticConstMacro (ImageDimension, unsigned int, OutputImageType::ImageDimension)
 itkStaticConstMacro (ImageDimension, unsigned int, Superclass::ImageDimension)
virtual DataObjectPointer MakeOutput (unsigned int idx)
virtual void ManualReinitializationOff ()
virtual void ManualReinitializationOn ()
virtual void Modified () const
virtual void PopBackInput ()
virtual void PopFrontInput ()
virtual void PrepareOutputs ()
void Print (std::ostream &os, Indent indent=0) const
virtual void PropagateRequestedRegion (DataObject *output)
virtual void PushBackInput (const InputImageType *image)
virtual void PushFrontInput (const InputImageType *image)
virtual void Register () const
void RemoveAllObservers ()
void RemoveObserver (unsigned long tag)
virtual void ResetPipeline ()
virtual void SetAbortGenerateData (bool _arg)
void SetDebug (bool debugFlag) const
virtual void SetDifferenceFunction (FiniteDifferenceFunctionType *_arg)
virtual void SetInPlace (bool _arg)
virtual void SetInput (unsigned int, const TInputImageType *image)
virtual void SetInput (const InputImageType *image)
virtual void SetManualReinitialization (bool _arg)
virtual void SetMaximumRMSError (double _arg)
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
virtual void SetNumberOfIterations (unsigned int _arg)
virtual void SetPrecomputeFlag (bool _arg)
virtual void SetProgress (float _arg)
virtual void SetReferenceCount (int)
virtual void SetRMSChange (double _arg)
void SetSparseFunction (SparseFunctionType *sf)
virtual void SetState (FilterStateType _arg)
void SetStateToInitialized ()
void SetStateToUninitialized ()
virtual void SetUseImageSpacing (bool _arg)
virtual void UnRegister () const
virtual void Update ()
virtual void UpdateLargestPossibleRegion ()
virtual void UpdateOutputData (DataObject *output)
virtual void UpdateOutputInformation ()
void UpdateProgress (float amount)
virtual void UseImageSpacingOff ()
virtual void UseImageSpacingOn ()
unsigned long AddObserver (const EventObject &event, Command *) const
unsigned long AddObserver (const EventObject &event, Command *)
DataObjectPointerArraySizeType GetNumberOfOutputs () const
DataObjectPointerArrayGetOutputs ()
virtual const int & GetNumberOfThreads ()
virtual void SetNumberOfThreads (int _arg)
virtual const bool & GetReleaseDataBeforeUpdateFlag ()
virtual void ReleaseDataBeforeUpdateFlagOff ()
virtual void ReleaseDataBeforeUpdateFlagOn ()
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
virtual bool GetReleaseDataFlag () const
void ReleaseDataFlagOff ()
void ReleaseDataFlagOn ()
virtual void SetReleaseDataFlag (bool flag)

Static Public Member Functions

static void BreakOnError ()
static Pointer New ()
static bool GetGlobalWarningDisplay ()
static void GlobalWarningDisplayOff ()
static void GlobalWarningDisplayOn ()
static void SetGlobalWarningDisplay (bool flag)

Protected Types

typedef ImageToImageFilterDetail::ImageRegionCopier<
itkGetStaticConstMacro(OutputImageDimension),
itkGetStaticConstMacro(InputImageDimension)> 
InputToOutputRegionCopierType
typedef ImageToImageFilterDetail::ImageRegionCopier<
itkGetStaticConstMacro(InputImageDimension),
itkGetStaticConstMacro(OutputImageDimension)> 
OutputToInputRegionCopierType
typedef int InternalReferenceCountType

Protected Member Functions

virtual void AfterThreadedGenerateData ()
virtual void AllocateOutputs ()
virtual void AllocateUpdateBuffer ()
virtual void ApplyUpdate (TimeStepType dt)=0
virtual void ApplyUpdate (TimeStepType dt)
virtual void BeforeThreadedGenerateData ()
virtual void CacheInputReleaseDataFlags ()
virtual TimeStepType CalculateChange ()
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
virtual void CopyInputToOutput ()=0
virtual NodeDataType DataConstraint (const NodeDataType &data) const
 FiniteDifferenceSparseImageFilter ()
virtual void GenerateData ()
virtual void GenerateInputRequestedRegion ()
virtual void GenerateOutputInformation ()
virtual void GenerateOutputRequestedRegion (DataObject *output)
int GetSplitRegion (int i, int num, ThreadRegionType &splitRegion)
virtual bool Halt ()
virtual void Initialize ()
virtual void InitializeIteration ()
virtual void PostProcessOutput ()
virtual void PrecalculateChange ()
bool PrintObservers (std::ostream &os, Indent indent) const
void PrintSelf (std::ostream &os, Indent indent) const
virtual void PropagateResetPipeline ()
void PushBackInput (const DataObject *input)
void PushFrontInput (const DataObject *input)
virtual void ReleaseInputs ()
virtual TimeStepType ResolveTimeStep (const TimeStepType *timeStepList, const bool *valid, int size)
virtual void RestoreInputReleaseDataFlags ()
virtual void SetElapsedIterations (unsigned int _arg)
void SetNumberOfInputs (unsigned int num)
void SetNumberOfOutputs (unsigned int num)
virtual int SplitRequestedRegion (int i, int num, OutputImageRegionType &splitRegion)
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, int threadId) ITK_NO_RETURN
virtual bool ThreadedHalt (void *)
 ~FiniteDifferenceSparseImageFilter ()
virtual void AddInput (DataObject *input)
virtual const unsigned int & GetNumberOfRequiredInputs ()
virtual void RemoveInput (DataObject *input)
virtual void SetNthInput (unsigned int num, DataObject *input)
virtual void SetNumberOfRequiredInputs (unsigned int _arg)
virtual void AddOutput (DataObject *output)
virtual const unsigned int & GetNumberOfRequiredOutputs ()
virtual void RemoveOutput (DataObject *output)
virtual void SetNthOutput (unsigned int num, DataObject *output)
virtual void SetNumberOfRequiredOutputs (unsigned int _arg)
const DataObjectGetInput (unsigned int idx) const
const DataObjectGetOutput (unsigned int idx) const
virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const

Static Protected Member Functions

static ITK_THREAD_RETURN_TYPE ThreaderCallback (void *arg)

Protected Attributes

unsigned int m_ElapsedIterations
bool m_ManualReinitialization
double m_MaximumRMSError
unsigned int m_NumberOfIterations
TimeStamp m_OutputInformationMTime
InternalReferenceCountType m_ReferenceCount
SimpleFastMutexLock m_ReferenceCountLock
double m_RMSChange
bool m_Updating

Classes

struct  FDThreadStruct
struct  ThreadRegionType


Member Typedef Documentation

template<class TInputImageType, class TSparseOutputImageType>
typedef SmartPointer<const Self> itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::ConstPointer

Reimplemented from itk::FiniteDifferenceImageFilter< TInputImageType, TSparseOutputImageType >.

Reimplemented in itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >.

Definition at line 71 of file itkFiniteDifferenceSparseImageFilter.h.

typedef DataObject::Pointer itk::ImageSource< TSparseOutputImageType >::DataObjectPointer [inherited]

Smart Pointer type to a DataObject.

Reimplemented from itk::ProcessObject.

Definition at line 62 of file itkImageSource.h.

typedef std::vector<DataObjectPointer> itk::ProcessObject::DataObjectPointerArray [inherited]

STL Array of SmartPointers to DataObjects

Definition at line 103 of file itkProcessObject.h.

typedef DataObjectPointerArray::size_type itk::ProcessObject::DataObjectPointerArraySizeType [inherited]

Size type of an std::vector

Definition at line 112 of file itkProcessObject.h.

template<class TInputImageType, class TSparseOutputImageType>
typedef Superclass::FiniteDifferenceFunctionType itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::FiniteDifferenceFunctionType

The value type of the time step. This is distinct from PixelType because PixelType may often be a vector value, while the TimeStep is a scalar value.

Reimplemented from itk::FiniteDifferenceImageFilter< TInputImageType, TSparseOutputImageType >.

Reimplemented in itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >.

Definition at line 81 of file itkFiniteDifferenceSparseImageFilter.h.

template<class TInputImageType, class TSparseOutputImageType>
typedef SparseOutputImageType::IndexType itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::IndexType

Typedefs from the sparse output image type.

Reimplemented in itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >.

Definition at line 89 of file itkFiniteDifferenceSparseImageFilter.h.

typedef InputImageType::ConstPointer itk::InPlaceImageFilter< TInputImageType , TSparseOutputImageType >::InputImageConstPointer [inherited]

Reimplemented from itk::ImageToImageFilter< TInputImageType, TSparseOutputImageType >.

Definition at line 84 of file itkInPlaceImageFilter.h.

typedef InputImageType::PixelType itk::InPlaceImageFilter< TInputImageType , TSparseOutputImageType >::InputImagePixelType [inherited]

Reimplemented from itk::ImageToImageFilter< TInputImageType, TSparseOutputImageType >.

Definition at line 86 of file itkInPlaceImageFilter.h.

typedef InputImageType::Pointer itk::InPlaceImageFilter< TInputImageType , TSparseOutputImageType >::InputImagePointer [inherited]

Reimplemented from itk::ImageToImageFilter< TInputImageType, TSparseOutputImageType >.

Definition at line 83 of file itkInPlaceImageFilter.h.

typedef InputImageType::RegionType itk::InPlaceImageFilter< TInputImageType , TSparseOutputImageType >::InputImageRegionType [inherited]

Reimplemented from itk::ImageToImageFilter< TInputImageType, TSparseOutputImageType >.

Definition at line 85 of file itkInPlaceImageFilter.h.

template<class TInputImageType, class TSparseOutputImageType>
typedef Superclass::InputImageType itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::InputImageType

Typedefs from the superclass

Reimplemented from itk::FiniteDifferenceImageFilter< TInputImageType, TSparseOutputImageType >.

Reimplemented in itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >.

Definition at line 74 of file itkFiniteDifferenceSparseImageFilter.h.

typedef TInputImageType ::PixelType itk::FiniteDifferenceImageFilter< TInputImageType , TSparseOutputImageType >::InputPixelType [inherited]

Definition at line 145 of file itkFiniteDifferenceImageFilter.h.

typedef NumericTraits< InputPixelType >::ValueType itk::FiniteDifferenceImageFilter< TInputImageType , TSparseOutputImageType >::InputPixelValueType [inherited]

Definition at line 150 of file itkFiniteDifferenceImageFilter.h.

typedef ImageToImageFilterDetail::ImageRegionCopier<itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension)> itk::ImageToImageFilter< TInputImageType , TSparseOutputImageType >::InputToOutputRegionCopierType [protected, inherited]

Typedef for the region copier function object that converts an input region to an output region.

Definition at line 164 of file itkImageToImageFilter.h.

typedef int itk::LightObject::InternalReferenceCountType [protected, inherited]

Define the type of the reference count according to the target. This allows the use of atomic operations

Definition at line 139 of file itkLightObject.h.

typedef FiniteDifferenceFunctionType::NeighborhoodScalesType itk::FiniteDifferenceImageFilter< TInputImageType , TSparseOutputImageType >::NeighborhoodScalesType [inherited]

Definition at line 159 of file itkFiniteDifferenceImageFilter.h.

template<class TInputImageType, class TSparseOutputImageType>
typedef OutputNodeType::NodeDataType itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::NodeDataType

The type for the data variable of OutputNodeType.

Definition at line 95 of file itkFiniteDifferenceSparseImageFilter.h.

template<class TInputImageType, class TSparseOutputImageType>
typedef SparseOutputImageType::NodeListType itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::NodeListType

Reimplemented in itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >.

Definition at line 92 of file itkFiniteDifferenceSparseImageFilter.h.

template<class TInputImageType, class TSparseOutputImageType>
typedef OutputNodeType::NodeValueType itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::NodeValueType

The basic scalar variable type used in OutputNodeType. Expected to be float or double. If NodeDataType is a scalar, then this is the same type as that.

Reimplemented in itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >.

Definition at line 100 of file itkFiniteDifferenceSparseImageFilter.h.

typedef Superclass::OutputImagePixelType itk::InPlaceImageFilter< TInputImageType , TSparseOutputImageType >::OutputImagePixelType [inherited]

Reimplemented from itk::ImageToImageFilter< TInputImageType, TSparseOutputImageType >.

Definition at line 79 of file itkInPlaceImageFilter.h.

typedef Superclass::OutputImagePointer itk::InPlaceImageFilter< TInputImageType , TSparseOutputImageType >::OutputImagePointer [inherited]

Reimplemented from itk::ImageSource< TSparseOutputImageType >.

Definition at line 77 of file itkInPlaceImageFilter.h.

typedef Superclass::OutputImageRegionType itk::InPlaceImageFilter< TInputImageType , TSparseOutputImageType >::OutputImageRegionType [inherited]

Superclass typedefs.

Reimplemented from itk::ImageToImageFilter< TInputImageType, TSparseOutputImageType >.

Definition at line 78 of file itkInPlaceImageFilter.h.

typedef TSparseOutputImageType itk::FiniteDifferenceImageFilter< TInputImageType , TSparseOutputImageType >::OutputImageType [inherited]

Superclass typedefs.

Reimplemented from itk::InPlaceImageFilter< TInputImageType, TSparseOutputImageType >.

Definition at line 138 of file itkFiniteDifferenceImageFilter.h.

template<class TInputImageType, class TSparseOutputImageType>
typedef SparseOutputImageType::NodeType itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::OutputNodeType

Definition at line 91 of file itkFiniteDifferenceSparseImageFilter.h.

typedef TSparseOutputImageType ::PixelType itk::FiniteDifferenceImageFilter< TInputImageType , TSparseOutputImageType >::OutputPixelType [inherited]

The pixel type of the output image will be used in computations.

Definition at line 144 of file itkFiniteDifferenceImageFilter.h.

typedef NumericTraits< OutputPixelType >::ValueType itk::FiniteDifferenceImageFilter< TInputImageType , TSparseOutputImageType >::OutputPixelValueType [inherited]

Extract value type in case the pixel is of vector type

Definition at line 149 of file itkFiniteDifferenceImageFilter.h.

typedef ImageToImageFilterDetail::ImageRegionCopier<itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension)> itk::ImageToImageFilter< TInputImageType , TSparseOutputImageType >::OutputToInputRegionCopierType [protected, inherited]

Typedef for the region copier function object that converts an output region to an input region.

Definition at line 169 of file itkImageToImageFilter.h.

template<class TInputImageType, class TSparseOutputImageType>
typedef Superclass::PixelType itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::PixelType

Reimplemented from itk::FiniteDifferenceImageFilter< TInputImageType, TSparseOutputImageType >.

Definition at line 79 of file itkFiniteDifferenceSparseImageFilter.h.

template<class TInputImageType, class TSparseOutputImageType>
typedef SmartPointer<Self> itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::Pointer

Reimplemented from itk::FiniteDifferenceImageFilter< TInputImageType, TSparseOutputImageType >.

Reimplemented in itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >.

Definition at line 70 of file itkFiniteDifferenceSparseImageFilter.h.

typedef FiniteDifferenceFunctionType::RadiusType itk::FiniteDifferenceImageFilter< TInputImageType , TSparseOutputImageType >::RadiusType [inherited]

Definition at line 158 of file itkFiniteDifferenceImageFilter.h.

template<class TInputImageType, class TSparseOutputImageType>
typedef FiniteDifferenceSparseImageFilter itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::Self

Standard class typedef

Reimplemented from itk::FiniteDifferenceImageFilter< TInputImageType, TSparseOutputImageType >.

Reimplemented in itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >.

Definition at line 67 of file itkFiniteDifferenceSparseImageFilter.h.

template<class TInputImageType, class TSparseOutputImageType>
typedef SparseOutputImageType::SizeType itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::SizeType

Definition at line 90 of file itkFiniteDifferenceSparseImageFilter.h.

template<class TInputImageType, class TSparseOutputImageType>
typedef FiniteDifferenceSparseImageFunction<SparseOutputImageType> itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::SparseFunctionType

The sparse image finite difference function type used in this class.

Definition at line 104 of file itkFiniteDifferenceSparseImageFilter.h.

template<class TInputImageType, class TSparseOutputImageType>
typedef Superclass::OutputImageType itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::SparseOutputImageType

Reimplemented in itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >.

Definition at line 78 of file itkFiniteDifferenceSparseImageFilter.h.

template<class TInputImageType, class TSparseOutputImageType>
typedef FiniteDifferenceImageFilter< TInputImageType, TSparseOutputImageType> itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::Superclass

Reimplemented from itk::FiniteDifferenceImageFilter< TInputImageType, TSparseOutputImageType >.

Reimplemented in itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >.

Definition at line 69 of file itkFiniteDifferenceSparseImageFilter.h.

template<class TInputImageType, class TSparseOutputImageType>
typedef Superclass::TimeStepType itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::TimeStepType

Reimplemented from itk::FiniteDifferenceImageFilter< TInputImageType, TSparseOutputImageType >.

Definition at line 80 of file itkFiniteDifferenceSparseImageFilter.h.


Member Enumeration Documentation

enum itk::FiniteDifferenceImageFilter::FilterStateType [inherited]

Definition at line 161 of file itkFiniteDifferenceImageFilter.h.


Constructor & Destructor Documentation

template<class TInputImageType, class TSparseOutputImageType>
itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::FiniteDifferenceSparseImageFilter (  )  [protected]

template<class TInputImageType, class TSparseOutputImageType>
itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::~FiniteDifferenceSparseImageFilter (  )  [inline, protected]

Definition at line 114 of file itkFiniteDifferenceSparseImageFilter.h.


Member Function Documentation

virtual void itk::ProcessObject::AbortGenerateDataOff (  )  [virtual, inherited]

virtual void itk::ProcessObject::AbortGenerateDataOn (  )  [virtual, inherited]

Turn on and off the AbortGenerateData flag.

virtual void itk::ProcessObject::AddInput ( DataObject input  )  [protected, virtual, inherited]

unsigned long itk::Object::AddObserver ( const EventObject event,
Command  
) const [inherited]

unsigned long itk::Object::AddObserver ( const EventObject event,
Command  
) [inherited]

Allow people to add/remove/invoke observers (callbacks) to any ITK object. This is an implementation of the subject/observer design pattern. An observer is added by specifying an event to respond to and an itk::Command to execute. It returns an unsigned long tag which can be used later to remove the event or retrieve the command. The memory for the Command becomes the responsibility of this object, so don't pass the same instance of a command to two different objects

virtual void itk::ProcessObject::AddOutput ( DataObject output  )  [protected, virtual, inherited]

virtual void itk::ImageSource< TSparseOutputImageType >::AfterThreadedGenerateData ( void   )  [inline, protected, virtual, inherited]

If an imaging filter needs to perform processing after all processing threads have completed, the filter can can provide an implementation for AfterThreadedGenerateData(). The execution flow in the default GenerateData() method will be: 1) Allocate the output buffer 2) Call BeforeThreadedGenerateData() 3) Spawn threads, calling ThreadedGenerateData() in each thread. 4) Call AfterThreadedGenerateData() Note that this flow of control is only available if a filter provides a ThreadedGenerateData() method and NOT a GenerateData() method.

Definition at line 254 of file itkImageSource.h.

virtual void itk::InPlaceImageFilter< TInputImageType , TSparseOutputImageType >::AllocateOutputs (  )  [protected, virtual, inherited]

The GenerateData method normally allocates the buffers for all of the outputs of a filter. Since InPlaceImageFilter's can use an overwritten version of the input for its output, the output buffer should not be allocated. When possible, we graft the input to the filter to the output. If an InPlaceFilter has multiple outputs, then it would need to override this method to graft one of its outputs and allocate the remaining. If a filter is threaded (i.e. it provides an implementation of ThreadedGenerateData()), this method is called automatically. If an InPlaceFilter is not threaded (i.e. it provides an implementation of GenerateData()), then this method (or equivalent) must be called in GenerateData().

Reimplemented from itk::ImageSource< TSparseOutputImageType >.

template<class TInputImageType, class TSparseOutputImageType>
</
virtual void itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >::AllocateUpdateBuffer (  )  [inline, protected, virtual]