18 #ifndef itkVideoSource_h
19 #define itkVideoSource_h
42 template<
typename TOutputV
ideoStream >
74 itkStaticConstMacro(OutputFrameDimension,
unsigned int, OutputFrameType::ImageDimension);
77 return OutputFrameType::ImageDimension;
85 OutputVideoStreamType* GetOutput();
87 OutputVideoStreamType* GetOutput(
unsigned int idx);
91 virtual void GraftNthOutput(
unsigned int idx, OutputVideoStreamType* output);
96 virtual void GraftOutput(OutputVideoStreamType* output);
102 using Superclass::MakeOutput;
118 virtual void GenerateOutputRequestedTemporalRegion(
TemporalDataObject* output) ITK_OVERRIDE;
125 virtual void TemporalStreamingGenerateData() ITK_OVERRIDE;
138 virtual
void ThreadedGenerateData(
147 virtual
void AllocateOutputs();
151 virtual
void BeforeThreadedGenerateData() {
162 virtual int SplitRequestedSpatialRegion(
int i,
int num,
163 OutputFrameSpatialRegionType& splitRegion);
177 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
187 #ifndef ITK_MANUAL_INSTANTIATION
188 #include "itkVideoSource.hxx"
Light weight base class for most itk classes.
TemporalProcessObject Superclass
static unsigned int GetOutputFrameDimension()
FrameType::PixelType PixelType
FrameType::RegionType SpatialRegionType
Implements a weak reference to an object.
FrameType::PointType PointType
A TemporalProcessObject that produces a VideoStream.
#define ITK_THREAD_RETURN_TYPE
OutputVideoStreamType::DirectionType OutputFrameDirectionType
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
FrameType::DirectionType DirectionType
SmartPointer< Self > Pointer
FrameType::SizeType SizeType
OutputVideoStreamType::SpatialRegionType OutputFrameSpatialRegionType
OutputVideoStreamType::FrameType OutputFrameType
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::SpacingType OutputFrameSpacingType
OutputVideoStreamType::PixelType OutputFramePixelType
WeakPointer< const Self > ConstWeakPointer
FrameType::SpacingType SpacingType