19#ifndef itkFastMarchingImageToNodePairContainerAdaptor_h
20#define itkFastMarchingImageToNodePairContainerAdaptor_h
49template <
typename TInput,
typename TOutput,
typename TImage>
79 static constexpr unsigned int ImageDimension = Traits::ImageDimension;
109 itkSetMacro(IsForbiddenImageBinaryMask,
bool);
110 itkGetConstMacro(IsForbiddenImageBinaryMask,
bool);
111 itkBooleanMacro(IsForbiddenImageBinaryMask);
153 bool m_IsForbiddenImageBinaryMask{
false };
164#ifndef ITK_MANUAL_INSTANTIATION
165# include "itkFastMarchingImageToNodePairContainerAdaptor.hxx"
Convenient adaptor class which converts Image into FastMarching::NodePairContainerType used for initi...
NodePairContainerType * GetTrialPoints()
Get resulting Trial Points container.
typename Traits::NodePairContainerType NodePairContainerType
typename Traits::NodePairType NodePairType
void Update()
Perform the conversion.
NodePairContainerType * GetForbiddenPoints()
Get resulting Forbidden Points container.
FastMarchingImageToNodePairContainerAdaptor()
Constructor.
void SetTrialImage(const ImageType *iImage)
Set one Trial Image.
typename Traits::NodePairContainerPointer NodePairContainerPointer
void SetAliveImage(const ImageType *iImage)
Set one Alive Image.
typename ImageType::PixelType ImagePixelType
typename Traits::LabelType LabelType
typename ImageType::Pointer ImagePointer
~FastMarchingImageToNodePairContainerAdaptor() override=default
Destructor.
virtual void GenerateData()
typename ImageType::ConstPointer ImageConstPointer
typename Traits::OutputPixelType OutputPixelType
NodePairContainerType * GetAlivePoints()
Get resulting Alive Points container.
void SetPointsFromImage(const ImageType *image, const LabelType &iLabel, const OutputPixelType &iValue)
void SetForbiddenImage(const ImageType *iImage)
Set one Forbidden Image. There are two possible behaviors here depending on m_IsForbiddenImageBinaryM...
Base class traits to be used by the FastMarchingBase.
Light weight base class for most itk classes.
Base class for most ITK classes.
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....