18 #ifndef __itkFileListVideoIO_h
19 #define __itkFileListVideoIO_h
58 static std::vector<std::
string>
SplitFileNames(const std::
string& fileList);
70 virtual
bool CanReadFile(const
char *) ITK_OVERRIDE;
79 virtual
void Read(
void *buffer) ITK_OVERRIDE;
89 itkGetConstMacro(FramesPerSecond,TemporalRatioType);
90 itkGetConstMacro(CurrentFrame,FrameOffsetType);
91 itkGetConstMacro(IFrameInterval,FrameOffsetType);
92 itkGetConstMacro(LastIFrame,FrameOffsetType);
96 virtual
void SetFileName(const std::
string& fileList) ITK_OVERRIDE;
97 virtual
void SetFileName(const
char* fileList) ITK_OVERRIDE;
101 virtual
double GetSpacing(
unsigned int i) const ITK_OVERRIDE;
103 virtual
double GetOrigin(
unsigned int i) const ITK_OVERRIDE;
105 virtual std::vector<
double >
GetDirection(
unsigned int i) const ITK_OVERRIDE;
119 virtual
void Write(const
void *buffer) ITK_OVERRIDE;
125 unsigned int nChannels,
132 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
147 FileListVideoIO(const
Self &);
148 void operator=(const Self &);
159 #endif // __itkFileListVideoIO_h
bool VerifyExtensions(const std::vector< std::string > &fileList) const
Light weight base class for most itk classes.
static std::vector< std::string > SplitFileNames(const std::string &fileList)
Abstract superclass defines video IO interface.
Abstract superclass defines image IO interface.
virtual void SetReadFromFile() ITK_OVERRIDE
virtual void FinishReadingOrWriting() ITK_OVERRIDE
virtual void SetWriterParameters(TemporalRatioType framesPerSecond, const std::vector< SizeValueType > &dim, const char *fourCC, unsigned int nChannels, IOComponentType componentType) ITK_OVERRIDE
virtual void WriteImageInformation() ITK_OVERRIDE
VideoIO object for reading and writing videos as a sequence of frame files.
SizeValueType FrameOffsetType
virtual void Write(const void *buffer) ITK_OVERRIDE
virtual double GetOrigin(unsigned int i) const ITK_OVERRIDE
SmartPointer< Self > Pointer
virtual void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
std::vector< std::string > m_FileNames
virtual bool SetNextFrameToRead(FrameOffsetType frameNumber) ITK_OVERRIDE
virtual void Read(void *buffer) ITK_OVERRIDE
SizeValueType CameraIDType
::itk::SizeValueType SizeValueType
ImageIOBase::Pointer m_ImageIO
virtual void ReadImageInformation() ITK_OVERRIDE
virtual void SetReadFromCamera() ITK_OVERRIDE
virtual void SetFileName(const std::string &fileList) ITK_OVERRIDE
Control indentation during Print() invocation.
Base class for most ITK classes.
virtual std::vector< double > GetDirection(unsigned int i) const ITK_OVERRIDE
virtual double GetSpacing(unsigned int i) const ITK_OVERRIDE
virtual bool CanReadCamera(CameraIDType cameraID) const ITK_OVERRIDE
virtual bool CanWriteFile(const char *) ITK_OVERRIDE
double TemporalOffsetType
virtual bool CanReadFile(const char *) ITK_OVERRIDE