17 #ifndef MovieGeneratorOpenCV_H_HEADER_INCLUDED
18 #define MovieGeneratorOpenCV_H_HEADER_INCLUDED
21 #include <MitkOpenCVVideoSupportExports.h>
39 itkFactorylessNewMacro(Self)
42 virtual void SetFileName(
const char *fileName )
override;
46 m_FourCCCodec = codec;
49 virtual void SetFrameRate(
int rate);
56 void SetRemoveColouredFrame(
bool);
62 virtual bool InitGenerator()
override;
65 virtual bool AddFrame(
void *data )
override;
68 virtual bool TerminateGenerator()
override;
79 CvVideoWriter* m_aviWriter;
80 IplImage * m_currentFrame;
87 bool m_RemoveColouredFrame;
DataCollection - Class to facilitate loading/accessing structured data.
std::string m_sFile
name of output file
#define mitkClassMacro(className, SuperClassName)
void SetFourCCCodec(char *codec)