VTK
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 "vtkIOMovieModule.h" // For export macro
31 #include "vtkImageAlgorithm.h"
32 
33 class vtkImageData;
34 
36 {
37 public:
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
42 
43  vtkSetStringMacro(FileName);
44  vtkGetStringMacro(FileName);
46 
48 
50  virtual void Start() =0;
51  virtual void Write() =0;
52  virtual void End() =0;
54 
56 
57  vtkGetMacro(Error,int);
59 
61  static const char *GetStringFromErrorCode(unsigned long event);
62 
63  //BTX
65  UserError = 40000, //must match vtkErrorCode::UserError
70  ChangedResolutionError
71  };
72  //ETX
73 
74 protected:
77 
78  char *FileName;
79  int Error;
80 
81 private:
82  vtkGenericMovieWriter(const vtkGenericMovieWriter&); // Not implemented
83  void operator=(const vtkGenericMovieWriter&); // Not implemented
84 };
85 
86 #endif
87 
88 
89 
#define VTKIOMOVIE_EXPORT
a simple class to control print indentation
Definition: vtkIndent.h:38
topologically and geometrically regular array of data
Definition: vtkImageData.h:44
an abstract movie writer class.
Generic algorithm superclass for image algs.
void PrintSelf(ostream &os, vtkIndent indent)