vtkSMAnimationSceneSeriesWriter.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
13 #ifndef vtkSMAnimationSceneSeriesWriter_h
14 #define vtkSMAnimationSceneSeriesWriter_h
15 
16 #include "vtkRemotingAnimationModule.h" //needed for exports
18 
19 class vtkSMExporterProxy;
20 class vtkSMViewProxy;
21 
23 {
24 public:
27  void PrintSelf(ostream& os, vtkIndent indent) override;
28 
29 protected:
31  ~vtkSMAnimationSceneSeriesWriter() override = default;
32 
37  bool SaveInitialize(int startCount) override;
38 
44  bool SaveFrame(double time) override;
45 
49  bool SaveFinalize() override;
50 
51 private:
53  void operator=(const vtkSMAnimationSceneSeriesWriter&) = delete;
54 
61  std::string BuildCurrentFilePath();
62 
63  int FrameCounter = 0;
64 };
65 
66 #endif
proxy for view exporters.
Superclass for all view proxies.
virtual bool SaveInitialize(int countStart)=0
Subclasses should override this method.
helper class to write file series from animated scene
helper class used to write animations.
virtual bool SaveFrame(double time)=0
Subclasses should override this method.
#define VTKREMOTINGANIMATION_EXPORT
virtual bool SaveFinalize()=0
Subclasses should override this method.
static vtkSMSessionObject * New()
void PrintSelf(ostream &os, vtkIndent indent) override