18 #ifndef itkFiniteDifferenceImageFilter_h
19 #define itkFiniteDifferenceImageFilter_h
131 template<
typename TInputImage,
typename TOutputImage >
151 itkStaticConstMacro(ImageDimension,
unsigned int, OutputImageType::ImageDimension);
177 itkGetConstReferenceObjectMacro(DifferenceFunction,
192 itkSetMacro(UseImageSpacing,
bool);
193 itkBooleanMacro(UseImageSpacing);
194 itkGetConstReferenceMacro(UseImageSpacing,
bool);
199 itkSetMacro(MaximumRMSError,
double);
200 itkGetConstReferenceMacro(MaximumRMSError,
double);
205 itkSetMacro(RMSChange,
double);
206 itkGetConstReferenceMacro(RMSChange,
double);
211 itkSetMacro(ManualReinitialization,
bool);
212 itkGetConstReferenceMacro(ManualReinitialization,
bool);
213 itkBooleanMacro(ManualReinitialization);
216 itkSetMacro( IsInitialized,
bool );
217 itkGetMacro( IsInitialized,
bool );
222 #ifdef ITK_USE_STRICT_CONCEPT_CHECKING
235 bool m_IsInitialized;
237 void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
240 virtual
void AllocateUpdateBuffer() = 0;
257 virtual
void CopyInputToOutput() = 0;
262 virtual
void GenerateData() ITK_OVERRIDE;
275 virtual
void GenerateInputRequestedRegion() ITK_OVERRIDE;
290 virtual
bool ThreadedHalt(
void *itkNotUsed(threadInfo) ) {
return this->Halt(); }
306 { m_DifferenceFunction->InitializeIteration(); }
320 virtual TimeStepType ResolveTimeStep(
const std::vector< TimeStepType >& timeStepList,
321 const std::vector< bool >& valid )
const;
350 void InitializeFunctionCoefficients();
361 #ifndef ITK_MANUAL_INSTANTIATION
362 #include "itkFiniteDifferenceImageFilter.hxx"
SmartPointer< const Self > ConstPointer
NumericTraits< InputPixelType >::ValueType InputPixelValueType
TOutputImage OutputImageType
SmartPointer< Self > Pointer
virtual void Initialize()
OutputPixelType PixelType
ConstNeighborhoodIterator< TImageType >::RadiusType RadiusType
InPlaceImageFilter< TInputImage, TOutputImage > Superclass
TInputImage InputImageType
void SetStateToInitialized()
SizeValueType IdentifierType
FiniteDifferenceFunctionType::NeighborhoodScalesType NeighborhoodScalesType
NumericTraits< OutputPixelType >::ValueType OutputPixelValueType
virtual void InitializeIteration()
A templated class holding a n-Dimensional vector.
FiniteDifferenceFunctionType::RadiusType RadiusType
IdentifierType m_NumberOfIterations
TInputImage::PixelType InputPixelType
FiniteDifferenceFunctionType::Pointer m_DifferenceFunction
FiniteDifferenceFunctionType::TimeStepType TimeStepType
virtual void PostProcessOutput()
IdentifierType m_ElapsedIterations
Control indentation during Print() invocation.
FiniteDifferenceFunction< TOutputImage > FiniteDifferenceFunctionType
Define additional traits for native types such as int or float.
Base class for filters that take an image as input and overwrite that image as the output...
TOutputImage::PixelType OutputPixelType
#define itkConceptMacro(name, concept)
FiniteDifferenceImageFilter Self
void SetStateToUninitialized()
bool m_ManualReinitialization