18 #ifndef itkVideoSource_h 19 #define itkVideoSource_h 42 template<
typename TOutputV
ideoStream >
77 return OutputFrameType::ImageDimension;
87 OutputVideoStreamType*
GetOutput(
unsigned int idx);
91 virtual void GraftNthOutput(
unsigned int idx, OutputVideoStreamType* output);
96 virtual void GraftOutput(OutputVideoStreamType* output);
139 const OutputFrameSpatialRegionType& outputRegionForThread,
163 OutputFrameSpatialRegionType& splitRegion);
177 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
182 void operator=(const Self &) ITK_DELETE_FUNCTION;
188 #ifndef ITK_MANUAL_INSTANTIATION 189 #include "itkVideoSource.hxx"
TemporalProcessObject Superclass
static unsigned int GetOutputFrameDimension()
FrameType::PixelType PixelType
FrameType::RegionType SpatialRegionType
virtual void GraftNthOutput(unsigned int idx, OutputVideoStreamType *output)
virtual void ThreadedGenerateData(const OutputFrameSpatialRegionType &outputRegionForThread, int threadId)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
static const unsigned int OutputFrameDimension
virtual void BeforeThreadedGenerateData()
virtual void GraftOutput(OutputVideoStreamType *output)
Implements a weak reference to an object.
FrameType::PointType PointType
A TemporalProcessObject that produces a VideoStream.
#define ITK_THREAD_RETURN_TYPE
virtual int SplitRequestedSpatialRegion(int i, int num, OutputFrameSpatialRegionType &splitRegion)
OutputVideoStreamType::DirectionType OutputFrameDirectionType
virtual void PrintSelf(std::ostream &os, Indent indent) const override
TOutputVideoStream OutputVideoStreamType
SmartPointer< const Self > ConstPointer
TemporalProcessObject implements a ProcessObject for the itk pipeline with the notion of a temporal r...
OutputVideoStreamType::PointType OutputFramePointType
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
virtual void TemporalStreamingGenerateData() override
FrameType::DirectionType DirectionType
SmartPointer< Self > Pointer
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx)
Make a DataObject of the correct type to used as the specified output.
FrameType::SizeType SizeType
virtual void AllocateOutputs()
OutputVideoStreamType::SpatialRegionType OutputFrameSpatialRegionType
OutputVideoStreamType::FrameType OutputFrameType
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) override
Make a DataObject of the correct type to used as the specified output.
virtual void GenerateOutputRequestedTemporalRegion(TemporalDataObject *output) override
static ITK_THREAD_RETURN_TYPE ThreaderCallback(void *arg)
OutputVideoStreamType::SizeType OutputFrameSizeType
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
FrameType::IndexType IndexType
OutputVideoStreamType::IndexType OutputFrameIndexType
Control indentation during Print() invocation.
DataObject subclass with knowledge of temporal region.
virtual void AfterThreadedGenerateData()
OutputVideoStreamType * GetOutput()
OutputVideoStreamType::SpacingType OutputFrameSpacingType
OutputVideoStreamType::PixelType OutputFramePixelType
WeakPointer< const Self > ConstWeakPointer
FrameType::SpacingType SpacingType