18 #ifndef itkFiniteDifferenceSparseImageFilter_h
19 #define itkFiniteDifferenceSparseImageFilter_h
63 template <
typename TInputImageType,
typename TSparseOutputImageType>
81 using typename Superclass::InputImageType;
83 using typename Superclass::PixelType;
84 using typename Superclass::TimeStepType;
85 using typename Superclass::FiniteDifferenceFunctionType;
90 static constexpr
unsigned int ImageDimension = Superclass::ImageDimension;
113 itkSetMacro(PrecomputeFlag,
bool);
114 itkGetConstMacro(PrecomputeFlag,
bool);
120 PrintSelf(std::ostream & os,
Indent indent)
const override;
126 Initialize()
override;
147 typename NodeListType::Iterator
first;
149 typename NodeListType::Iterator
last;
164 ApplyUpdateThreaderCallback(
void * arg);
172 CalculateChange()
override;
176 CalculateChangeThreaderCallback(
void * arg);
185 PrecalculateChange();
189 PrecalculateChangeThreaderCallback(
void * arg);
206 bool m_PrecomputeFlag{};
213 typename NodeListType::RegionListType m_RegionList{};
217 #ifndef ITK_MANUAL_INSTANTIATION
218 # include "itkFiniteDifferenceSparseImageFilter.hxx"