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)
Superclass::InputImageType InputImageType
TSparseOutputImageType OutputImageType
SparseOutputImageType::SizeType SizeType
OutputNodeType::NodeDataType NodeDataType
void operator=(const Self &)
FiniteDifferenceSparseImageFilter * Filter
virtual void Initialize() override
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
static ITK_THREAD_RETURN_TYPE CalculateChangeThreaderCallback(void *arg)
virtual void ApplyUpdate(const TimeStepType &dt) override
SmartPointer< const Self > ConstPointer
FiniteDifferenceSparseImageFilter()
FiniteDifferenceImageFilter< TInputImageType, TSparseOutputImageType > Superclass
void PrintSelf(std::ostream &os, Indent indent) const override
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
unsigned int ThreadIdType
SmartPointer< Self > Pointer
This is the base class for function classes that can be used with filters derived from FiniteDifferen...
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
virtual TimeStepType CalculateChange() override
NodeListType::Iterator last
std::vector< TimeStepType > TimeStepList
virtual void AllocateUpdateBuffer() override
OutputNodeType::NodeValueType NodeValueType
Superclass::FiniteDifferenceFunctionType FiniteDifferenceFunctionType