18 #ifndef itkWatershedBoundaryResolver_h
19 #define itkWatershedBoundaryResolver_h
63 template<
typename TPixelType,
unsigned int TDimension >
77 static constexpr
unsigned int ImageDimension = TDimension;
90 {
return static_cast< BoundaryType *
>( this->GetInput(0) ); }
97 {
return static_cast< BoundaryType *
>( this->GetInput(1) ); }
102 itkSetMacro(Face,
unsigned short);
103 itkGetConstMacro(Face,
unsigned short);
119 void GenerateData()
override;
123 using Superclass::MakeOutput;
132 this->SetNumberOfRequiredOutputs(1);
139 void PrintSelf(std::ostream & os,
Indent indent)
const override;
141 unsigned short m_Face{0};
142 void GenerateOutputRequestedRegion(
DataObject *output)
override;
147 #ifndef ITK_MANUAL_INSTANTIATION
148 #include "itkWatershedBoundaryResolver.hxx"
void SetBoundaryB(BoundaryType *bd)
Light weight base class for most itk classes.
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
ObjectType * GetPointer() const noexcept
void operator=(const Self &)
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
void SetBoundaryA(BoundaryType *bd)
class ITK_FORWARD_EXPORT ProcessObject
BoundaryResolver(const Self &)
EquivalencyTableType::Pointer GetEquivalencyTable()
void SetEquivalencyTable(EquivalencyTableType::Pointer a)
Hash table to manage integral label equivalencies.
Control indentation during Print() invocation.
virtual void SetNthInput(DataObjectPointerArraySizeType num, DataObject *input)
BoundaryType::Pointer GetBoundaryA()
virtual void SetNthOutput(DataObjectPointerArraySizeType num, DataObject *output)
SmartPointer< Self > Pointer
Base class for all data objects in ITK.
BoundaryType::Pointer GetBoundaryB()
DataObject * GetOutput(const DataObjectIdentifierType &key)