VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
home
demarle
Source
VTK
release
8.2
build
Utilities
Doxygen
dox
IO
Movie
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
=========================================================================*/
28
#ifndef vtkGenericMovieWriter_h
29
#define vtkGenericMovieWriter_h
30
31
#include "vtkIOMovieModule.h"
// For export macro
32
#include "
vtkImageAlgorithm.h
"
33
34
class
vtkImageData
;
35
36
class
VTKIOMOVIE_EXPORT
vtkGenericMovieWriter
:
public
vtkImageAlgorithm
37
{
38
public
:
39
vtkTypeMacro(
vtkGenericMovieWriter
,
vtkImageAlgorithm
);
40
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
41
43
46
vtkSetStringMacro(FileName);
47
vtkGetStringMacro(FileName);
49
51
55
virtual
void
Start() =0;
56
virtual
void
Write() =0;
57
virtual
void
End() =0;
59
61
64
vtkGetMacro(Error,
int
);
66
70
static
const
char
*GetStringFromErrorCode(
unsigned
long
event);
71
72
enum
MovieWriterErrorIds
{
73
UserError = 40000,
//must match vtkErrorCode::UserError
74
InitError
,
75
NoInputError
,
76
CanNotCompress
,
77
CanNotFormat
,
78
ChangedResolutionError
79
};
80
81
protected
:
82
vtkGenericMovieWriter
();
83
~
vtkGenericMovieWriter
()
override
;
84
85
char
*
FileName
;
86
int
Error
;
87
88
private
:
89
vtkGenericMovieWriter
(
const
vtkGenericMovieWriter
&) =
delete
;
90
void
operator=(
const
vtkGenericMovieWriter
&) =
delete
;
91
};
92
93
#endif
94
95
96
vtkGenericMovieWriter::MovieWriterErrorIds
MovieWriterErrorIds
Definition:
vtkGenericMovieWriter.h:72
vtkImageAlgorithm.h
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkImageData
topologically and geometrically regular array of data
Definition:
vtkImageData.h:45
vtkGenericMovieWriter::CanNotFormat
Definition:
vtkGenericMovieWriter.h:77
vtkGenericMovieWriter
an abstract movie writer class.
Definition:
vtkGenericMovieWriter.h:36
vtkGenericMovieWriter::CanNotCompress
Definition:
vtkGenericMovieWriter.h:76
vtkGenericMovieWriter::NoInputError
Definition:
vtkGenericMovieWriter.h:75
vtkImageAlgorithm
Generic algorithm superclass for image algs.
Definition:
vtkImageAlgorithm.h:40
vtkGenericMovieWriter::FileName
char * FileName
Definition:
vtkGenericMovieWriter.h:85
vtkImageAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkGenericMovieWriter::InitError
Definition:
vtkGenericMovieWriter.h:74
vtkGenericMovieWriter::Error
int Error
Definition:
vtkGenericMovieWriter.h:86
Generated by
1.8.11