VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
vtkGenericMovieWriter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkGenericMovieWriter.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
27
#ifndef __vtkGenericMovieWriter_h
28
#define __vtkGenericMovieWriter_h
29
30
#include "
vtkProcessObject.h
"
31
32
class
vtkImageData
;
33
34
class
VTK_IO_EXPORT
vtkGenericMovieWriter
:
public
vtkProcessObject
35
{
36
public
:
37
vtkTypeMacro(
vtkGenericMovieWriter
,
vtkProcessObject
);
38
void
PrintSelf
(ostream& os,
vtkIndent
indent);
39
41
42
virtual
void
SetInput(
vtkImageData
*input);
43
virtual
vtkImageData
*GetInput();
45
47
48
vtkSetStringMacro(FileName);
49
vtkGetStringMacro(FileName);
51
53
55
virtual
void
Start() =0;
56
virtual
void
Write() =0;
57
virtual
void
End() =0;
59
61
62
vtkGetMacro(Error,
int
);
64
66
static
const
char
*GetStringFromErrorCode(
unsigned
long
event);
67
68
//BTX
69
enum
MovieWriterErrorIds
{
70
UserError = 40000,
//must match vtkErrorCode::UserError
71
InitError
,
72
NoInputError
,
73
CanNotCompress
,
74
CanNotFormat
,
75
ChangedResolutionError
76
};
77
//ETX
78
79
protected
:
80
vtkGenericMovieWriter
();
81
~
vtkGenericMovieWriter
();
82
83
char
*
FileName
;
84
int
Error
;
85
86
private
:
87
vtkGenericMovieWriter
(
const
vtkGenericMovieWriter
&);
// Not implemented
88
void
operator=(
const
vtkGenericMovieWriter
&);
// Not implemented
89
};
90
91
#endif
92
93
94
Generated on Thu Mar 13 2014 08:10:20 for VTK by
1.8.1.2