Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::MovieGeneratorWin32 Class Reference

#include <mitkMovieGeneratorWin32.h>

Inheritance diagram for mitk::MovieGeneratorWin32:
Collaboration diagram for mitk::MovieGeneratorWin32:

Public Member Functions

 mitkClassMacro (MovieGeneratorWin32, MovieGenerator)
 
Pointer Clone () const
 
virtual void SetFileName (const char *fileName)
 filename under which movie is saved More...
 
- 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

 MovieGeneratorWin32 ()
 
void InitBitmapHeader ()
 reads out size of current OpenGL context and stores it More...
 
virtual bool InitGenerator ()
 called directly before the first frame is added More...
 
virtual bool AddFrame (void *data)
 used to add a frame More...
 
virtual bool TerminateGenerator ()
 called after the last frame is added More...
 
- Protected Member Functions inherited from mitk::MovieGenerator
 MovieGenerator ()
 default constructor More...
 

Protected Attributes

_bstr_t m_sFile
 name of output file More...
 
BITMAPINFOHEADER m_bih
 structure contains information for a single stream More...
 
_bstr_t m_sError
 last error string More...
 
- Protected Attributes inherited from mitk::MovieGenerator
char m_fileName [1024]
 stores the movie filename More...
 
Stepperm_stepper
 stores the used stepper More...
 
BaseRendererm_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
 

Detailed Description

Definition at line 33 of file mitkMovieGeneratorWin32.h.

Constructor & Destructor Documentation

mitk::MovieGeneratorWin32::MovieGeneratorWin32 ( )
protected

Definition at line 20 of file mitkMovieGeneratorWin32.cpp.

Member Function Documentation

bool mitk::MovieGeneratorWin32::AddFrame ( void *  data)
protectedvirtual

used to add a frame

Implements mitk::MovieGenerator.

Definition at line 224 of file mitkMovieGeneratorWin32.cpp.

Pointer mitk::MovieGeneratorWin32::Clone ( ) const
void mitk::MovieGeneratorWin32::InitBitmapHeader ( )
protected

reads out size of current OpenGL context and stores it

Definition at line 31 of file mitkMovieGeneratorWin32.cpp.

bool mitk::MovieGeneratorWin32::InitGenerator ( )
protectedvirtual

called directly before the first frame is added

Implements mitk::MovieGenerator.

Definition at line 61 of file mitkMovieGeneratorWin32.cpp.

mitk::MovieGeneratorWin32::mitkClassMacro ( MovieGeneratorWin32  ,
MovieGenerator   
)
static Pointer mitk::MovieGeneratorWin32::New ( )
static
void mitk::MovieGeneratorWin32::SetFileName ( const char *  fileName)
virtual

filename under which movie is saved

Reimplemented from mitk::MovieGenerator.

Definition at line 24 of file mitkMovieGeneratorWin32.cpp.

bool mitk::MovieGeneratorWin32::TerminateGenerator ( )
protectedvirtual

called after the last frame is added

Implements mitk::MovieGenerator.

Definition at line 243 of file mitkMovieGeneratorWin32.cpp.

Member Data Documentation

BITMAPINFOHEADER mitk::MovieGeneratorWin32::m_bih
protected

structure contains information for a single stream

Definition at line 60 of file mitkMovieGeneratorWin32.h.

_bstr_t mitk::MovieGeneratorWin32::m_sError
protected

last error string

Definition at line 63 of file mitkMovieGeneratorWin32.h.

_bstr_t mitk::MovieGeneratorWin32::m_sFile
protected

name of output file

Definition at line 57 of file mitkMovieGeneratorWin32.h.


The documentation for this class was generated from the following files: