13 #ifndef mitkMovieGeneratorOpenCV_h
14 #define mitkMovieGeneratorOpenCV_h
17 #include <MitkOpenCVVideoSupportExports.h>
22 #include <opencv2/core/types_c.h>
23 #include <opencv2/videoio.hpp>
35 itkFactorylessNewMacro(Self);
38 void SetFileName(
const char *fileName )
override;
42 m_FourCCCodec = codec;
45 void SetFrameRate(
unsigned int rate)
override;
52 void SetRemoveColouredFrame(
bool);
58 bool InitGenerator()
override;
61 bool AddFrame(
void *data )
override;
64 bool TerminateGenerator()
override;
75 CvVideoWriter* m_aviWriter;
76 IplImage * m_currentFrame;
80 bool m_RemoveColouredFrame;