19 #ifndef itkVideoFileWriter_h
20 #define itkVideoFileWriter_h
38 template<
typename TInputV
ideoStream >
55 typedef typename VideoStreamType::FrameType
FrameType;
66 itkSetStringMacro(FileName);
67 itkGetStringMacro(FileName);
79 itkSetStringMacro(FourCC);
80 itkGetStringMacro(FourCC);
89 using Superclass::SetInput;
103 void FinishWriting();
107 virtual void Update() ITK_OVERRIDE;
111 virtual
void UpdateLargestPossibleRegion() ITK_OVERRIDE;
116 virtual ~VideoFileWriter() ITK_OVERRIDE;
117 virtual
void PrintSelf(std::ostream &os,
Indent indent) const ITK_OVERRIDE;
120 bool InitializeOutputParameters();
125 bool InitializeVideoIO();
128 virtual
void TemporalStreamingGenerateData() ITK_OVERRIDE;
131 ITK_DISALLOW_COPY_AND_ASSIGN(VideoFileWriter);
134 std::
string m_FileName;
144 std::
string m_FourCC;
152 #ifndef ITK_MANUAL_INSTANTIATION
153 #include "itkVideoFileWriter.hxx"
Light weight base class for most itk classes.
Abstract superclass defines video IO interface.
Abstract superclass defines image IO interface.
VideoStreamType::FrameType FrameType
VideoStreamType::Pointer VideoStreamPointer
IOBaseType::SizeValueType SizeValueType
Writer that takes in a VideoStream and writes the frames to a file.
TemporalProcessObject Superclass
TemporalProcessObject implements a ProcessObject for the itk pipeline with the notion of a temporal r...
VideoIOBase::Pointer IOBasePointer
Region subclass that holds a region in time.
IOBaseType::TemporalRatioType TemporalRatioType
VideoFileWriter< TInputVideoStream > Self
::itk::SizeValueType SizeValueType
Control indentation during Print() invocation.
TInputVideoStream VideoStreamType
FrameType::PixelType PixelType
SmartPointer< Self > Pointer