18 #ifndef itkVideoIOBase_h
19 #define itkVideoIOBase_h
23 #include "ITKVideoIOExport.h"
24 #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 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
140 #endif // itkVideoIOBase_h
Abstract superclass defines video IO interface.
Abstract superclass defines image IO interface.
unsigned long SizeValueType
SizeValueType FrameOffsetType
SizeValueType CameraIDType
::itk::SizeValueType SizeValueType
SmartPointer< Self > Pointer
Control indentation during Print() invocation.
Base class for most ITK classes.
double TemporalOffsetType