18 #ifndef itkWatershedBoundaryResolver_h 19 #define itkWatershedBoundaryResolver_h 63 template<
typename TPixelType,
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);
113 return static_cast< EquivalencyTableType *
> 124 virtual DataObjectPointer
MakeOutput(DataObjectPointerArraySizeType idx) ITK_OVERRIDE;
139 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
147 #ifndef ITK_MANUAL_INSTANTIATION 148 #include "itkWatershedBoundaryResolver.hxx" void SetBoundaryB(BoundaryType *bd)
virtual void SetNumberOfRequiredOutputs(DataObjectPointerArraySizeType _arg)
virtual ~BoundaryResolver()
SmartPointer< const Self > ConstPointer
Boundary< PixelType, TDimension > BoundaryType
static const unsigned int ImageDimension
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) override
Make a DataObject of the correct type to used as the specified output.
virtual void GenerateOutputRequestedRegion(DataObject *output) override
void operator=(const Self &)
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
ObjectType * GetPointer() const
void SetBoundaryA(BoundaryType *bd)
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
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx)
Make a DataObject of the correct type to used as the specified output.
DataObject::Pointer DataObjectPointer
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
virtual void PrintSelf(std::ostream &os, Indent indent) const override
Control indentation during Print() invocation.
virtual void SetNthInput(DataObjectPointerArraySizeType num, DataObject *input)
BoundaryType::Pointer GetBoundaryA()
virtual void SetNthOutput(DataObjectPointerArraySizeType num, DataObject *output)
virtual void GenerateData() override
EquivalencyTable EquivalencyTableType
Base class for all data objects in ITK.
BoundaryType::Pointer GetBoundaryB()
DataObject * GetOutput(const DataObjectIdentifierType &key)