Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <mitkMovieGenerator.h>
Public Member Functions | |
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 void | SetFileName (const char *fileName) |
filename under which movie is saved 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 (void) |
Protected Member Functions | |
MovieGenerator () | |
default constructor More... | |
virtual bool | InitGenerator ()=0 |
called directly before the first frame is added, determines movie size from renderer More... | |
virtual bool | AddFrame (void *data)=0 |
used to add a frame More... | |
virtual bool | TerminateGenerator ()=0 |
called after the last frame is added More... | |
Protected Attributes | |
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 28 of file mitkMovieGenerator.h.
|
protected |
|
protectedpure virtual |
used to add a frame
Implemented in mitk::MovieGeneratorOpenCV, and mitk::MovieGeneratorWin32.
unsigned int mitk::MovieGenerator::GetFrameRate | ( | ) |
Definition at line 140 of file mitkMovieGenerator.cpp.
|
protectedpure virtual |
called directly before the first frame is added, determines movie size from renderer
Implemented in mitk::MovieGeneratorOpenCV, and mitk::MovieGeneratorWin32.
mitk::MovieGenerator::mitkClassMacroItkParent | ( | MovieGenerator | , |
itk::LightObject | |||
) |
|
static |
Definition at line 41 of file mitkMovieGenerator.cpp.
References mitk::MovieGeneratorWin32::New().
|
virtual |
releases a movie writer after usage of WriteCurrentFrameToMovie()
Definition at line 129 of file mitkMovieGenerator.cpp.
|
inlinevirtual |
filename under which movie is saved
Reimplemented in mitk::MovieGeneratorOpenCV, and mitk::MovieGeneratorWin32.
Definition at line 41 of file mitkMovieGenerator.h.
|
virtual |
Definition at line 135 of file mitkMovieGenerator.cpp.
|
inlinevirtual |
renderer to record
Definition at line 39 of file mitkMovieGenerator.h.
|
inlinevirtual |
stepper used to control movie generation
Definition at line 37 of file mitkMovieGenerator.h.
|
protectedpure virtual |
called after the last frame is added
Implemented in mitk::MovieGeneratorOpenCV, and mitk::MovieGeneratorWin32.
|
virtual |
alternative way, which does not use a stepper;
Definition at line 102 of file mitkMovieGenerator.cpp.
References mitk::RenderingManager::ForceImmediateUpdate(), mitk::RenderingManager::GetInstance(), and GL_BGR.
|
virtual |
uses given stepper and filename to create a movie from the active OpenGL context
Definition at line 62 of file mitkMovieGenerator.cpp.
References mitk::RenderingManager::ForceImmediateUpdate(), mitk::RenderingManager::GetInstance(), and GL_BGR.
|
protected |
stores the movie filename
Definition at line 70 of file mitkMovieGenerator.h.
Referenced by MovieGenerator().
|
protected |
Definition at line 83 of file mitkMovieGenerator.h.
|
protected |
Definition at line 79 of file mitkMovieGenerator.h.
|
protected |
Definition at line 81 of file mitkMovieGenerator.h.
Referenced by mitk::MovieGeneratorOpenCV::MovieGeneratorOpenCV().
|
protected |
stores the uses renderer
Definition at line 76 of file mitkMovieGenerator.h.
|
protected |
stores the used stepper
Definition at line 73 of file mitkMovieGenerator.h.
|
protected |
InitGenerator() stores movie size in those variables.
Definition at line 79 of file mitkMovieGenerator.h.