18#ifndef itkImageToVectorContainerFilter_h
19#define itkImageToVectorContainerFilter_h
22#include "itkPlatformMultiThreader.h"
33template <
class TInputImage,
class TOutputVectorContainer>
52 using typename Superclass::DataObjectPointer;
168 const ThreadIdType & numberOfSplits,
174 static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION
191 PrintSelf(std::ostream & os, Indent indent)
const override;
196#ifndef ITK_MANUAL_INSTANTIATION
197# include "itkImageToVectorContainerFilter.hxx"
Base class that takes in an image and pops out a vector container.
virtual unsigned int SplitRequestedRegion(const ThreadIdType &threadId, const ThreadIdType &numberOfSplits, InputImageRegionType &splitRegion)
void SetInput(const InputImageType *input)
TInputImage InputImageType
const InputImageType * GetInput(unsigned int idx)
ITK_DISALLOW_COPY_AND_MOVE(ImageToVectorContainerFilter)
SmartPointer< const Self > ConstPointer
typename InputImageType::PixelType InputImagePixelType
TOutputVectorContainer OutputVectorContainerType
ImageToVectorContainerFilter()
OutputVectorContainerType * GetOutput()
typename InputImageType::ConstPointer InputImageConstPointer
const InputImageType * GetInput()
typename InputImageType::RegionType InputImageRegionType
DataObject::Pointer MakeOutput(unsigned int idx) override
typename InputImageType::Pointer InputImagePointer
virtual void ThreadedGenerateData(const InputImageRegionType &inputRegionForThread, ThreadIdType threadId)
virtual void AfterThreadedGenerateData()
void PrintSelf(std::ostream &os, Indent indent) const override
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION ThreaderCallback(void *arg)
~ImageToVectorContainerFilter() override=default
virtual void BeforeThreadedGenerateData()
void SetInput(unsigned int idx, const InputImageType *input)
void GenerateData() override
A base class for creating an ImageToVectorContainerFilter.
TOutputVectorContainer OutputVectorContainerType
typename OutputVectorContainerType::Pointer OutputVectorContainerPointer