18 #ifndef __itkVideoIOBase_h
19 #define __itkVideoIOBase_h
23 #include "vnl/vnl_vector.h"
69 virtual void FinishReadingOrWriting() = 0;
74 typedef enum {ReadFromFile, ReadFromCamera} ReadType;
77 virtual void SetReadFromFile() = 0;
80 virtual void SetReadFromCamera() = 0;
84 return this->m_ReadType;
89 virtual bool CanReadCamera( CameraIDType cameraID )
const = 0;
93 virtual bool SetNextFrameToRead( FrameOffsetType frameNumber ) = 0;
96 virtual TemporalOffsetType GetPositionInMSec()
const = 0;
97 virtual TemporalRatioType GetRatio()
const = 0;
98 virtual FrameOffsetType GetFrameTotal()
const = 0;
99 virtual TemporalRatioType GetFramesPerSecond()
const = 0;
100 virtual FrameOffsetType GetCurrentFrame()
const = 0;
101 virtual FrameOffsetType GetLastIFrame()
const = 0;
107 virtual void SetWriterParameters( TemporalRatioType framesPerSecond,
108 const std::vector<SizeValueType>& dim,
110 unsigned int nChannels,
111 IOComponentType componentType) = 0;
118 void PrintSelf(std::ostream & os,
Indent indent)
const;
134 void operator=(
const Self &);
140 #endif // __itkVideoIOBase_h