18 #ifndef __itkOpenCVVideoIO_h
19 #define __itkOpenCVVideoIO_h
54 virtual void FinishReadingOrWriting();
59 virtual void SetReadFromFile();
62 virtual void SetReadFromCamera();
66 virtual bool CanReadFile(
const char *);
69 virtual bool CanReadCamera(
CameraIDType cameraID )
const;
72 virtual void ReadImageInformation();
75 virtual void Read(
void *buffer);
100 virtual double GetSpacing(
unsigned int itkNotUsed(i))
const
102 virtual double GetOrigin(
unsigned int itkNotUsed(i))
const
104 virtual std::vector< double > GetDirection(
unsigned int i)
const
105 {
return this->GetDefaultDirection(i); }
110 virtual bool CanWriteFile(
const char *);
114 virtual void WriteImageInformation();
118 virtual void Write(
const void *buffer);
121 virtual void SetWriterParameters( TemporalRatioType fps,
122 const std::vector<SizeValueType>& dim,
124 unsigned int nChannels,
125 IOComponentType componentType );
131 void PrintSelf(std::ostream & os,
Indent indent)
const;
134 void UpdateReaderProperties();
147 void operator=(
const Self &);
163 #endif // __itkOpenCVVideoIO_h