vtkXMLPVAnimationWriter.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
11 #ifndef vtkXMLPVAnimationWriter_h
12 #define vtkXMLPVAnimationWriter_h
13 
14 #include "vtkRemotingAnimationModule.h" //needed for exports
15 #include "vtkXMLPVDWriter.h"
16 
17 class vtkXMLPVAnimationWriterInternals;
18 
20 {
21 public:
22  static vtkXMLPVAnimationWriter* New();
24  void PrintSelf(ostream& os, vtkIndent indent) override;
25 
27 
30  void AddRepresentation(vtkAlgorithm*, const char* groupname);
31  void RemoveAllRepresentations();
33 
37  void Start();
38 
42  void WriteTime(double time);
43 
47  void Finish();
48 
49 protected:
51  ~vtkXMLPVAnimationWriter() override;
52 
53  // Replace vtkXMLWriter's writing driver method.
54  int WriteInternal() override;
55 
56  // Status safety check for method call ordering.
59 
60  // Internal implementation details.
61  vtkXMLPVAnimationWriterInternals* Internal;
62 
65  void AddFileName(const char* fileName);
66  void DeleteFileNames();
67  void DeleteFiles();
68 
69  void AddInputInternal(const char* group);
70 
71 private:
73  void operator=(const vtkXMLPVAnimationWriter&) = delete;
74 };
75 
76 #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.