18 #ifndef __itkFiniteDifferenceSparseImageFilter_h
19 #define __itkFiniteDifferenceSparseImageFilter_h
62 template<
typename TInputImageType,
typename TSparseOutputImageType >
65 TSparseOutputImageType >
92 typedef typename SparseOutputImageType::IndexType
IndexType;
93 typedef typename SparseOutputImageType::SizeType
SizeType;
112 itkSetMacro(PrecomputeFlag,
bool);
113 itkGetConstMacro(PrecomputeFlag,
bool);
138 typename NodeListType::Iterator
first;
140 typename NodeListType::Iterator
last;
204 #ifndef ITK_MANUAL_INSTANTIATION
205 #include "itkFiniteDifferenceSparseImageFilter.hxx"
NodeListType::RegionListType m_RegionList
void SetSparseFunction(SparseFunctionType *sf)
Light weight base class for most itk classes.
virtual TimeStepType ThreadedCalculateChange(const ThreadRegionType ®ionToProcess, ThreadIdType threadId)
static ITK_THREAD_RETURN_TYPE ApplyUpdateThreaderCallback(void *arg)
virtual void Initialize()
Superclass::InputImageType InputImageType
TSparseOutputImageType OutputImageType
SparseOutputImageType::SizeType SizeType
OutputNodeType::NodeDataType NodeDataType
void operator=(const Self &)
FiniteDifferenceSparseImageFilter * Filter
virtual TimeStepType CalculateChange()
OutputPixelType PixelType
SparseOutputImageType::NodeListType NodeListType
virtual NodeDataType DataConstraint(const NodeDataType &data) const
FiniteDifferenceSparseImageFilter Self
ThreadIdType GetSplitRegion(ThreadIdType i, ThreadIdType num, ThreadRegionType &splitRegion)
#define ITK_THREAD_RETURN_TYPE
static ITK_THREAD_RETURN_TYPE PrecalculateChangeThreaderCallback(void *arg)
virtual void PrecalculateChange()
TInputImageType InputImageType
std::vector< bool > ValidTimeStepList
virtual void AllocateUpdateBuffer()
void PrintSelf(std::ostream &os, Indent indent) const
static ITK_THREAD_RETURN_TYPE CalculateChangeThreaderCallback(void *arg)
SmartPointer< const Self > ConstPointer
FiniteDifferenceSparseImageFilter()
FiniteDifferenceImageFilter< TInputImageType, TSparseOutputImageType > Superclass
virtual void ThreadedPrecalculateChange(const ThreadRegionType ®ionToProcess, ThreadIdType threadId)
This class implements a multi-threaded base class for Image to SparseImage finite difference processe...
Superclass::OutputImageType SparseOutputImageType
SmartPointer< Self > Pointer
This is the base class for function classes that can be used with filters derived from FiniteDifferen...
virtual void ApplyUpdate(const TimeStepType &dt)
FiniteDifferenceFunctionType::TimeStepType TimeStepType
SparseOutputImageType::NodeType OutputNodeType
NodeListType::Iterator first
SparseOutputImageType::IndexType IndexType
Superclass::PixelType PixelType
~FiniteDifferenceSparseImageFilter()
virtual void ThreadedApplyUpdate(const TimeStepType &dt, const ThreadRegionType ®ionToProcess, ThreadIdType threadId)
Control indentation during Print() invocation.
FiniteDifferenceSparseImageFunction< SparseOutputImageType > SparseFunctionType
FiniteDifferenceFunction< TSparseOutputImageType > FiniteDifferenceFunctionType
Superclass::TimeStepType TimeStepType
static const unsigned int ImageDimension
SparseFunctionType * m_SparseFunction
static const unsigned int ImageDimension
NodeListType::Iterator last
std::vector< TimeStepType > TimeStepList
unsigned int ThreadIdType
OutputNodeType::NodeValueType NodeValueType
Superclass::FiniteDifferenceFunctionType FiniteDifferenceFunctionType