ParaView
vtkCinemaExporter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkCinemaExporter.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 =========================================================================*/
26 #ifndef vtkCinemaExporter_h
27 #define vtkCinemaExporter_h
28 
29 #include "vtkExporter.h"
30 #include "vtkPVVTKExtensionsRenderingModule.h" // needed for export macro
31 
32 class VTKPVVTKEXTENSIONSRENDERING_EXPORT vtkCinemaExporter : public vtkExporter
33 {
34 public:
35  static vtkCinemaExporter* New();
36  vtkTypeMacro(vtkCinemaExporter, vtkExporter);
37 
38  void PrintSelf(ostream& os, vtkIndent indent);
39 
40  vtkSetStringMacro(FileName);
41  vtkGetStringMacro(FileName);
42 
43  vtkSetStringMacro(ViewSelection);
44  vtkGetStringMacro(ViewSelection);
45 
46  vtkSetStringMacro(TrackSelection);
47  vtkGetStringMacro(TrackSelection);
48 
49  vtkSetStringMacro(ArraySelection);
50  vtkGetStringMacro(ArraySelection);
51 
52 protected:
55 
56  void WriteData();
57 
59 
60  char* FileName;
61 
63 
65 
67 
68 private:
70  const vtkStdString GetPythonScript();
71 
74  bool checkInterpreterInitialization();
75 
76  vtkCinemaExporter(const vtkCinemaExporter&) VTK_DELETE_FUNCTION;
77  void operator=(const vtkCinemaExporter&) VTK_DELETE_FUNCTION;
78 };
79 
80 #endif
Exports a view as a Cinema database.