|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Win32-specific implementation of MovieGenerator using Video for Windows (VFW). More...
#include <mitkMovieGeneratorWin32.h>


Public Member Functions | |
| mitkClassMacro (MovieGeneratorWin32, MovieGenerator) | |
| Pointer | Clone () const |
| virtual void | SetFileName (const char *fileName) |
| Set the output filename for the AVI movie. More... | |
Public Member Functions inherited from mitk::MovieGenerator | |
| mitkClassMacroItkParent (MovieGenerator, itk::LightObject) | |
| virtual void | SetStepper (Stepper *stepper) |
| Set the stepper used to control movie generation. More... | |
| virtual void | SetRenderer (BaseRenderer *renderer) |
| Set the renderer whose render window will be captured. More... | |
| virtual bool | WriteMovie () |
| Generate a movie by iterating through all stepper steps. More... | |
| virtual bool | WriteCurrentFrameToMovie () |
| Capture a single frame and add it to the movie. More... | |
| virtual void | ReleaseMovieWriter () |
| Release the movie writer resources after using WriteCurrentFrameToMovie(). More... | |
| virtual void | SetFrameRate (unsigned int rate) |
| Set the frame rate of the output movie. More... | |
| unsigned int | GetFrameRate () |
| Get the frame rate of the output movie. More... | |
Static Public Member Functions | |
| static Pointer | New () |
Static Public Member Functions inherited from mitk::MovieGenerator | |
| static Pointer | New (void) |
| Factory method returning a platform-specific MovieGenerator. More... | |
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... | |
| 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 |
Win32-specific implementation of MovieGenerator using Video for Windows (VFW).
This class implements the MovieGenerator interface on Windows platforms using the Video for Windows (VFW) API. It captures frames from an OpenGL context and writes them to an AVI file. A compression codec dialog is presented to the user during initialization.
Definition at line 40 of file mitkMovieGeneratorWin32.h.
|
protected |
|
protectedvirtual |
used to add a frame
Implements mitk::MovieGenerator.
| Pointer mitk::MovieGeneratorWin32::Clone | ( | ) | const |
|
protected |
reads out size of current OpenGL context and stores it
|
protectedvirtual |
called directly before the first frame is added
Implements mitk::MovieGenerator.
| mitk::MovieGeneratorWin32::mitkClassMacro | ( | MovieGeneratorWin32 | , |
| MovieGenerator | |||
| ) |
|
static |
|
virtual |
Set the output filename for the AVI movie.
| [in] | fileName | Path to the output AVI file. |
Reimplemented from mitk::MovieGenerator.
|
protectedvirtual |
called after the last frame is added
Implements mitk::MovieGenerator.
|
protected |
structure contains information for a single stream
Definition at line 72 of file mitkMovieGeneratorWin32.h.
|
protected |
last error string
Definition at line 75 of file mitkMovieGeneratorWin32.h.
|
protected |
name of output file
Definition at line 69 of file mitkMovieGeneratorWin32.h.