18 #ifndef itkFileListVideoIO_h
19 #define itkFileListVideoIO_h
22 #include "ITKVideoIOExport.h"
61 itkGetConstMacro(FileNames, std::vector<std::string>);
65 SetFileName(
const std::string & fileList)
override;
67 SetFileName(
const char * fileList)
override;
72 FinishReadingOrWriting()
override;
77 static std::vector<std::string>
78 SplitFileNames(
const std::string & fileList);
82 SetReadFromFile()
override;
86 SetReadFromCamera()
override;
91 CanReadFile(
const char *)
override;
99 ReadImageInformation()
override;
103 Read(
void * buffer)
override;
114 return this->m_PositionInMSec;
119 return this->m_Ratio;
124 return this->m_FrameTotal;
129 return this->m_FramesPerSecond;
134 return this->m_CurrentFrame;
136 itkGetConstMacro(IFrameInterval, FrameOffsetType);
140 return this->m_LastIFrame;
146 GetSpacing(
unsigned int i)
const override;
149 GetOrigin(
unsigned int i)
const override;
152 GetDirection(
unsigned int i)
const override;
157 CanWriteFile(
const char *)
override;
162 WriteImageInformation()
override;
167 Write(
const void * buffer)
override;
171 SetWriterParameters(TemporalRatioType framesPerSecond,
172 const std::vector<SizeValueType> & dim,
174 unsigned int nChannels,
182 PrintSelf(std::ostream & os,
Indent indent)
const override;
198 VerifyExtensions(
const std::vector<std::string> & fileList)
const;
203 std::vector<std::string> m_FileNames{};
207 #endif // itkFileListVideoIO_h