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 "vtkRemotingAnimationModule.h" //needed for exports
27 #include "vtkXMLPVDWriter.h"
28 
29 class vtkXMLPVAnimationWriterInternals;
30 
32 {
33 public:
34  static vtkXMLPVAnimationWriter* New();
36  void PrintSelf(ostream& os, vtkIndent indent) override;
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:
63  ~vtkXMLPVAnimationWriter() override;
64 
65  // Replace vtkXMLWriter's writing driver method.
66  int WriteInternal() override;
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:
85  void operator=(const vtkXMLPVAnimationWriter&) = delete;
86 };
87 
88 #endif
vtkXMLPVAnimationWriterInternals * Internal
void PrintSelf(ostream &os, vtkIndent indent) override
virtual int WriteInternal()
static vtkXMLPVDWriter * New()
Data writer for ParaView.
#define VTKREMOTINGANIMATION_EXPORT
Data writer for ParaView.