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;
135 void operator=(const
Self &) ITK_DELETE_FUNCTION;
141 #endif // itkVideoIOBase_h
Light weight base class for most itk classes.
Abstract superclass defines video IO interface.
TemporalRatioType m_FramesPerSecond
FrameOffsetType m_IFrameInterval
FrameOffsetType m_FrameTotal
Abstract superclass defines image IO interface.
FrameOffsetType m_LastIFrame
TemporalRatioType m_Ratio
unsigned long SizeValueType
SizeValueType FrameOffsetType
SizeValueType CameraIDType
FrameOffsetType m_CurrentFrame
::itk::SizeValueType SizeValueType
SmartPointer< Self > Pointer
Control indentation during Print() invocation.
Base class for most ITK classes.
TemporalOffsetType m_PositionInMSec
double TemporalOffsetType