Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
mitkMovieGeneratorWin32.h
Go to the documentation of this file.
1
/*============================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center (DKFZ)
6
All rights reserved.
7
8
Use of this source code is governed by a 3-clause BSD license that can be
9
found in the LICENSE file.
10
11
============================================================================*/
12
13
#ifndef mitkMovieGeneratorWin32_h
14
#define mitkMovieGeneratorWin32_h
15
16
#include "
MitkAlgorithmsExtExports.h
"
17
#include "
mitkMovieGenerator.h
"
18
#include <comdef.h>
19
#include <memory.h>
20
#include <string.h>
21
#include <tchar.h>
22
#include <vfw.h>
23
24
#pragma message(" _Adding library: vfw32.lib")
25
#pragma comment(lib, "vfw32.lib")
26
27
namespace
mitk
28
{
29
class
MITKALGORITHMSEXT_EXPORT
MovieGeneratorWin32
:
public
MovieGenerator
30
{
31
public
:
32
mitkClassMacro
(
MovieGeneratorWin32
,
MovieGenerator
);
33
itkFactorylessNewMacro(Self);
34
itkCloneMacro(Self);
35
36
virtual
void
SetFileName(
const
char
*fileName);
37
38
protected
:
39
MovieGeneratorWin32
();
40
42
void
InitBitmapHeader();
43
45
virtual
bool
InitGenerator();
46
48
virtual
bool
AddFrame(
void
*data);
49
51
virtual
bool
TerminateGenerator();
52
54
_bstr_t
m_sFile
;
55
57
BITMAPINFOHEADER
m_bih
;
58
60
_bstr_t
m_sError
;
61
62
private
:
64
long
m_lFrame;
65
67
PAVIFILE m_pAVIFile;
68
70
PAVISTREAM m_pStream;
71
73
PAVISTREAM m_pStreamCompressed;
74
};
75
76
}
// namespace mitk
77
78
#endif
mitk::MovieGeneratorWin32::m_sError
_bstr_t m_sError
last error string
Definition:
mitkMovieGeneratorWin32.h:60
MitkAlgorithmsExtExports.h
mitk::MovieGeneratorWin32::m_bih
BITMAPINFOHEADER m_bih
structure contains information for a single stream
Definition:
mitkMovieGeneratorWin32.h:57
mitkMovieGenerator.h
MITKALGORITHMSEXT_EXPORT
#define MITKALGORITHMSEXT_EXPORT
Definition:
MitkAlgorithmsExtExports.h:15
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::MovieGeneratorWin32::m_sFile
_bstr_t m_sFile
name of output file
Definition:
mitkMovieGeneratorWin32.h:54
mitk::MovieGeneratorWin32
Definition:
mitkMovieGeneratorWin32.h:29
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
mitk::MovieGenerator
Definition:
mitkMovieGenerator.h:23
src
MITK
Modules
AlgorithmsExt
include
mitkMovieGeneratorWin32.h
Generated on Sat Nov 23 2024 02:13:13 for Medical Imaging Interaction Toolkit by
1.8.17