19 #ifndef itkFastMarchingImageToNodePairContainerAdaptor_h
20 #define itkFastMarchingImageToNodePairContainerAdaptor_h
49 template<
typename TInput,
typename TOutput,
typename TImage >
79 Traits::ImageDimension );
103 itkSetMacro( IsForbiddenImageBinaryMask,
bool );
104 itkBooleanMacro( IsForbiddenImageBinaryMask );
157 #include "itkFastMarchingImageToNodePairContainerAdaptor.hxx"
158 #endif // itkFastMarchingImageToNodePairContainerAdaptor_h
Light weight base class for most itk classes.
static const unsigned int ImageDimension
void SetTrialImage(const ImageType *iImage)
Set one Trial Image.
Traits::NodePairContainerType NodePairContainerType
FastMarchingImageToNodePairContainerAdaptor Self
FastMarchingTraits< TInput, TOutput > Traits
NodePairContainerType * GetAlivePoints()
Get resulting Alive Points container.
NodePairContainerPointer m_ForbiddenPoints
Traits::NodePairType NodePairType
ImageConstPointer m_AliveImage
void Update()
Perform the conversion.
ImageConstPointer m_TrialImage
SmartPointer< const Self > ConstPointer
void SetPointsFromImage(const ImageType *image, const LabelType &iLabel, const OutputPixelType &iValue)
NodePairContainerPointer m_TrialPoints
NodePairContainerType * GetTrialPoints()
Get resulting Trial Points container.
Traits::LabelType LabelType
NodePairContainerPointer m_AlivePoints
ImageType::ConstPointer ImageConstPointer
NodePairContainerType * GetForbiddenPoints()
Get resulting Forbidden Points container.
FastMarchingImageToNodePairContainerAdaptor()
Constructor.
Convenient adaptor class which converts Image into FastMarching::NodePairContainerType used for initi...
virtual ~FastMarchingImageToNodePairContainerAdaptor()
Destructor.
SmartPointer< Self > Pointer
bool m_IsForbiddenImageBinaryMask
virtual void GenerateData()
void operator=(const Self &)
Traits::OutputPixelType OutputPixelType
Traits::NodePairContainerPointer NodePairContainerPointer
ImageType::Pointer ImagePointer
OutputPixelType m_TrialValue
Base class traits to be used by the FastMarchingBase.
ImageType::PixelType ImagePixelType
Base class for most ITK classes.
ImageConstPointer m_ForbiddenImage
OutputPixelType m_AliveValue
void SetForbiddenImage(const ImageType *iImage)
Set one Forbidden Image. There are two possible behaviors here depending on m_IsForbiddenImageBinaryM...
void SetAliveImage(const ImageType *iImage)
Set one Alive Image.