Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <mitkMovieGeneratorOpenCV.h>
Public Member Functions | |
mitkClassMacro (MovieGeneratorOpenCV, MovieGenerator) | |
Pointer | Clone () const |
virtual void | SetFileName (const char *fileName) override |
filename under which movie is saved More... | |
void | SetFourCCCodec (char *codec) |
virtual void | SetFrameRate (int rate) |
void | SetRemoveColouredFrame (bool) |
Public Member Functions inherited from mitk::MovieGenerator | |
mitkClassMacroItkParent (MovieGenerator, itk::LightObject) | |
virtual void | SetStepper (Stepper *stepper) |
stepper used to control movie generation More... | |
virtual void | SetRenderer (BaseRenderer *renderer) |
renderer to record More... | |
virtual bool | WriteMovie () |
uses given stepper and filename to create a movie from the active OpenGL context More... | |
virtual bool | WriteCurrentFrameToMovie () |
alternative way, which does not use a stepper; More... | |
virtual void | ReleaseMovieWriter () |
releases a movie writer after usage of WriteCurrentFrameToMovie() More... | |
virtual void | SetFrameRate (unsigned int rate) |
unsigned int | GetFrameRate () |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from mitk::MovieGenerator | |
static Pointer | New (void) |
Protected Member Functions | |
MovieGeneratorOpenCV () | |
virtual bool | InitGenerator () override |
called directly before the first frame is added More... | |
virtual bool | AddFrame (void *data) override |
used to add a frame More... | |
virtual bool | TerminateGenerator () override |
called after the last frame is added More... | |
Protected Member Functions inherited from mitk::MovieGenerator | |
MovieGenerator () | |
default constructor More... | |
Protected Attributes | |
std::string | m_sFile |
name of output file More... | |
int | m_dwRate |
frame rate More... | |
Protected Attributes inherited from mitk::MovieGenerator | |
char | m_fileName [1024] |
stores the movie filename More... | |
Stepper * | m_stepper |
stores the used stepper More... | |
BaseRenderer * | m_renderer |
stores the uses renderer More... | |
int | m_width |
InitGenerator() stores movie size in those variables. More... | |
int | m_height |
bool | m_initialized |
unsigned int | m_FrameRate |
Definition at line 33 of file mitkMovieGeneratorOpenCV.h.
|
protected |
Definition at line 23 of file mitkMovieGeneratorOpenCV.cpp.
References m_dwRate, and mitk::MovieGenerator::m_initialized.
|
overrideprotectedvirtual |
used to add a frame
Implements mitk::MovieGenerator.
Definition at line 119 of file mitkMovieGeneratorOpenCV.cpp.
Pointer mitk::MovieGeneratorOpenCV::Clone | ( | ) | const |
|
overrideprotectedvirtual |
called directly before the first frame is added
Implements mitk::MovieGenerator.
Definition at line 50 of file mitkMovieGeneratorOpenCV.cpp.
mitk::MovieGeneratorOpenCV::mitkClassMacro | ( | MovieGeneratorOpenCV | , |
MovieGenerator | |||
) |
|
static |
|
overridevirtual |
filename under which movie is saved
Reimplemented from mitk::MovieGenerator.
Definition at line 34 of file mitkMovieGeneratorOpenCV.cpp.
|
inline |
Definition at line 44 of file mitkMovieGeneratorOpenCV.h.
|
virtual |
Definition at line 40 of file mitkMovieGeneratorOpenCV.cpp.
void mitk::MovieGeneratorOpenCV::SetRemoveColouredFrame | ( | bool | RemoveColouredFrame | ) |
if true the movie will be cutted by a 10 pixel margin in order to remove the standard mitk coloured borders default: true
Definition at line 45 of file mitkMovieGeneratorOpenCV.cpp.
|
overrideprotectedvirtual |
called after the last frame is added
Implements mitk::MovieGenerator.
Definition at line 128 of file mitkMovieGeneratorOpenCV.cpp.
|
protected |
frame rate
Definition at line 74 of file mitkMovieGeneratorOpenCV.h.
Referenced by MovieGeneratorOpenCV().
|
protected |
name of output file
Definition at line 71 of file mitkMovieGeneratorOpenCV.h.