Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
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 29 of file mitkMovieGeneratorWin32.h.

Constructor & Destructor Documentation

◆ MovieGeneratorWin32()

mitk::MovieGeneratorWin32::MovieGeneratorWin32 ( )
protected

Member Function Documentation

◆ AddFrame()

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

used to add a frame

Implements mitk::MovieGenerator.

◆ Clone()

Pointer mitk::MovieGeneratorWin32::Clone ( ) const

◆ InitBitmapHeader()

void mitk::MovieGeneratorWin32::InitBitmapHeader ( )
protected

reads out size of current OpenGL context and stores it

◆ InitGenerator()

virtual bool mitk::MovieGeneratorWin32::InitGenerator ( )
protectedvirtual

called directly before the first frame is added

Implements mitk::MovieGenerator.

◆ mitkClassMacro()

mitk::MovieGeneratorWin32::mitkClassMacro ( MovieGeneratorWin32  ,
MovieGenerator   
)

◆ New()

static Pointer mitk::MovieGeneratorWin32::New ( )
static

◆ SetFileName()

virtual void mitk::MovieGeneratorWin32::SetFileName ( const char *  fileName)
virtual

filename under which movie is saved

Reimplemented from mitk::MovieGenerator.

◆ TerminateGenerator()

virtual bool mitk::MovieGeneratorWin32::TerminateGenerator ( )
protectedvirtual

called after the last frame is added

Implements mitk::MovieGenerator.

Member Data Documentation

◆ m_bih

BITMAPINFOHEADER mitk::MovieGeneratorWin32::m_bih
protected

structure contains information for a single stream

Definition at line 57 of file mitkMovieGeneratorWin32.h.

◆ m_sError

_bstr_t mitk::MovieGeneratorWin32::m_sError
protected

last error string

Definition at line 60 of file mitkMovieGeneratorWin32.h.

◆ m_sFile

_bstr_t mitk::MovieGeneratorWin32::m_sFile
protected

name of output file

Definition at line 54 of file mitkMovieGeneratorWin32.h.


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