ParaView
vtkXMLPVAnimationWriter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkXMLPVAnimationWriter.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 =========================================================================*/
23 #ifndef vtkXMLPVAnimationWriter_h
24 #define vtkXMLPVAnimationWriter_h
25 
26 #include "vtkPVAnimationModule.h" //needed for exports
27 #include "vtkXMLPVDWriter.h"
28 
29 class vtkXMLPVAnimationWriterInternals;
30 
31 class VTKPVANIMATION_EXPORT vtkXMLPVAnimationWriter : public vtkXMLPVDWriter
32 {
33 public:
34  static vtkXMLPVAnimationWriter* New();
36  void PrintSelf(ostream& os, vtkIndent indent);
37 
39 
42  void AddRepresentation(vtkAlgorithm*, const char* groupname);
43  void RemoveAllRepresentations();
45 
49  void Start();
50 
54  void WriteTime(double time);
55 
59  void Finish();
60 
61 protected:
64 
65  // Replace vtkXMLWriter's writing driver method.
66  virtual int WriteInternal();
67 
68  // Status safety check for method call ordering.
71 
72  // Internal implementation details.
73  vtkXMLPVAnimationWriterInternals* Internal;
74 
77  void AddFileName(const char* fileName);
78  void DeleteFileNames();
79  void DeleteFiles();
80 
81  void AddInputInternal(const char* group);
82 
83 private:
84  vtkXMLPVAnimationWriter(const vtkXMLPVAnimationWriter&) VTK_DELETE_FUNCTION;
85  void operator=(const vtkXMLPVAnimationWriter&) VTK_DELETE_FUNCTION;
86 };
87 
88 #endif
vtkXMLPVAnimationWriterInternals * Internal
void PrintSelf(ostream &os, vtkIndent indent)
static vtkXMLPVDWriter * New()
Data writer for ParaView.
Data writer for ParaView.