19 #ifndef itkLevelSetBase_h
20 #define itkLevelSetBase_h
42 template<
typename TInput,
unsigned int VDimension,
typename TOutput,
typename TDomain >
56 static constexpr
unsigned int Dimension = VDimension;
88 template<
typename T >
93 m_Name(std::move( iName )), m_Computed( false )
96 m_Value( iData.m_Value ), m_Computed( iData.m_Computed )
107 this->m_Name = iData.
m_Name;
123 Hessian(
"Hessian" ), Laplacian(
"Laplacian" ),
124 GradientNorm(
"GradientNorm" ), MeanCurvature(
"MeanCurvature" ),
125 ForwardGradient(
"ForwardGradient" ), BackwardGradient(
"BackwardGradient" )
139 Gradient( iData.Gradient ), Hessian( iData.Hessian ),
140 Laplacian( iData.Laplacian ), GradientNorm( iData.GradientNorm ),
141 MeanCurvature( iData.MeanCurvature ), ForwardGradient( iData.ForwardGradient ),
142 BackwardGradient( iData.BackwardGradient ) {}
179 virtual bool IsInside(
const InputType& iP )
const;
183 itkGetConstMacro(MaximumNumberOfRegions,
RegionType);
186 void Initialize()
override;
189 void UpdateOutputInformation()
override;
191 void SetRequestedRegionToLargestPossibleRegion()
override;
193 void CopyInformation(
const DataObject *data)
override;
197 bool RequestedRegionIsOutsideOfTheBufferedRegion()
override;
199 bool VerifyRequestedRegion()
override;
205 void SetRequestedRegion(
const DataObject *data)
override;
208 virtual void SetRequestedRegion(
const RegionType & region);
210 itkGetConstMacro(RequestedRegion,
RegionType);
213 virtual void SetBufferedRegion(
const RegionType & region);
239 #ifndef ITK_MANUAL_INSTANTIATION
240 #include "itkLevelSetBase.hxx"
243 #endif // itkLevelSetBase_h
IdentifierType RegionType
A templated class holding a M x N size Matrix.
DataType(std::string iName)
Define numeric traits for std::vector.
Represent a n-dimensional index in a n-dimensional image.
DataType< OutputRealType > Laplacian
Abstract base class for the representation of a level-set function.
class ITK_FORWARD_EXPORT DataObject
DataType< OutputRealType > GradientNorm
constexpr unsigned int Dimension
typename NumericTraits< OutputType >::RealType OutputRealType
DataType< OutputRealType > MeanCurvature
DataType< GradientType > Gradient
SizeValueType IdentifierType
DataType< OutputType > Value
Convenient data structure to cache computed characteristics.
LevelSetDataType(const LevelSetDataType &iData)
DataType(const DataType &iData)
Base class for templated image classes.
DataType< GradientType > ForwardGradient
DataType< HessianType > Hessian
Base class for most ITK classes.
Internal class used for one computed characteritic.
A templated class holding a n-Dimensional covariant vector.
DataType< GradientType > BackwardGradient
Base class for all data objects in ITK.