18 #ifndef itkWatershedBoundaryResolver_h
19 #define itkWatershedBoundaryResolver_h
63 template<
typename TPixelType,
unsigned int TDimension >
77 itkStaticConstMacro(ImageDimension,
unsigned int, 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 virtual void GenerateData() ITK_OVERRIDE;
124 virtual
DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) ITK_OVERRIDE;
132 this->SetNumberOfRequiredOutputs(1);
139 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
142 virtual void GenerateOutputRequestedRegion(
DataObject *output) ITK_OVERRIDE;
147 #ifndef ITK_MANUAL_INSTANTIATION
148 #include "itkWatershedBoundaryResolver.hxx"
void SetBoundaryB(BoundaryType *bd)
Light weight base class for most itk classes.
SmartPointer< const Self > ConstPointer
Boundary< PixelType, TDimension > BoundaryType
void operator=(const Self &)
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
ObjectType * GetPointer() const
void SetBoundaryA(BoundaryType *bd)
virtual ~BoundaryResolver() override
SmartPointer< Self > Pointer
BoundaryResolver(const Self &)
Segmenter< Image< TPixelType, TDimension > > SegmenterType
EquivalencyTableType::Pointer GetEquivalencyTable()
void SetEquivalencyTable(EquivalencyTableType::Pointer a)
Hash table to manage integral label equivalencies.
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
DataObject::Pointer DataObjectPointer
Control indentation during Print() invocation.
virtual void SetNthInput(DataObjectPointerArraySizeType num, DataObject *input)
BoundaryType::Pointer GetBoundaryA()
virtual void SetNthOutput(DataObjectPointerArraySizeType num, DataObject *output)
EquivalencyTable EquivalencyTableType
Base class for all data objects in ITK.
BoundaryType::Pointer GetBoundaryB()
DataObject * GetOutput(const DataObjectIdentifierType &key)