18#ifndef itkVideoIOBase_h
19#define itkVideoIOBase_h
22#include "ITKVideoIOExport.h"
23#include "vnl/vnl_vector.h"
47extern ITKVideoIO_EXPORT std::ostream &
99#if !defined(ITK_LEGACY_REMOVE)
102 static constexpr ReadFromEnum ReadFromFile = ReadFromEnum::ReadFromFile;
103 static constexpr ReadFromEnum ReadFromCamera = ReadFromEnum::ReadFromCamera;
118 return this->m_ReadFrom;
151 const std::vector<SizeValueType> & dim,
153 unsigned int nChannels,
172 bool m_WriterOpen{
false };
173 bool m_ReaderOpen{
false };
Abstract superclass defines image IO interface.
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Base class for most ITK classes.
This contains all enum classes used from VideoIOBase class.
Abstract superclass defines video IO interface.
virtual void SetReadFromCamera()=0
ReadFromEnum GetReadFrom()
itk::SizeValueType SizeValueType
virtual TemporalRatioType GetFramesPerSecond() const =0
void PrintSelf(std::ostream &os, Indent indent) const override
SizeValueType CameraIDType
virtual TemporalRatioType GetRatio() const =0
virtual void SetReadFromFile()=0
SizeValueType FrameOffsetType
virtual FrameOffsetType GetFrameTotal() const =0
virtual FrameOffsetType GetLastIFrame() const =0
virtual bool SetNextFrameToRead(FrameOffsetType frameNumber)=0
virtual void SetWriterParameters(TemporalRatioType framesPerSecond, const std::vector< SizeValueType > &dim, const char *fourCC, unsigned int nChannels, IOComponentEnum componentType)=0
double TemporalOffsetType
virtual void FinishReadingOrWriting()=0
virtual FrameOffsetType GetCurrentFrame() const =0
virtual TemporalOffsetType GetPositionInMSec() const =0
virtual bool CanReadCamera(CameraIDType cameraID) const =0
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
ITKCommon_EXPORT std::ostream & operator<<(std::ostream &out, typename AnatomicalOrientation::CoordinateEnum value)
unsigned long SizeValueType