18 #ifndef __itkVideoIOBase_h
19 #define __itkVideoIOBase_h
23 #include "vnl/vnl_vector.h"
70 virtual void FinishReadingOrWriting() = 0;
75 typedef enum {ReadFromFile, ReadFromCamera} ReadType;
78 virtual void SetReadFromFile() = 0;
81 virtual void SetReadFromCamera() = 0;
85 return this->m_ReadType;
90 virtual bool CanReadCamera( CameraIDType cameraID )
const = 0;
94 virtual bool SetNextFrameToRead( FrameOffsetType frameNumber ) = 0;
97 virtual TemporalOffsetType GetPositionInMSec()
const = 0;
98 virtual TemporalRatioType GetRatio()
const = 0;
99 virtual FrameOffsetType GetFrameTotal()
const = 0;
100 virtual TemporalRatioType GetFramesPerSecond()
const = 0;
101 virtual FrameOffsetType GetCurrentFrame()
const = 0;
102 virtual FrameOffsetType GetLastIFrame()
const = 0;
108 virtual void SetWriterParameters( TemporalRatioType framesPerSecond,
109 const std::vector<SizeValueType>& dim,
111 unsigned int nChannels,
112 IOComponentType componentType) = 0;
119 void PrintSelf(std::ostream & os,
Indent indent)
const;
135 void operator=(
const Self &);
141 #endif // __itkVideoIOBase_h