vtkSMAnimationSceneWebWriter.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
13 #ifndef vtkSMAnimationSceneWebWriter_h
14 #define vtkSMAnimationSceneWebWriter_h
15 
16 #include "vtkRemotingAnimationModule.h" //needed for exports
18 
19 class vtkSMProxy;
21 
23 {
24 public:
27  void PrintSelf(ostream& os, vtkIndent indent) override;
28 
33  vtkGetObjectMacro(RenderView, vtkSMRenderViewProxy);
34  void SetRenderView(vtkSMRenderViewProxy*);
35 
36 protected:
38  ~vtkSMAnimationSceneWebWriter() override;
39 
43  bool SaveInitialize(int startCount) override;
44 
48  bool SaveFrame(double time) override;
49 
53  bool SaveFinalize() override;
54 
55  vtkSMRenderViewProxy* RenderView = nullptr;
56 
57 private:
58  struct vtkInternals;
59  vtkInternals* Internals;
60 
62  void operator=(const vtkSMAnimationSceneWebWriter&) = delete;
63 };
64 
65 #endif
virtual bool SaveInitialize(int countStart)=0
Subclasses should override this method.
helper class used to write animations.
implementation for View that includes render window and renderers.
helper class to write animation geometry in a web archive.
virtual bool SaveFrame(double time)=0
Subclasses should override this method.
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140
#define VTKREMOTINGANIMATION_EXPORT
virtual bool SaveFinalize()=0
Subclasses should override this method.
static vtkSMSessionObject * New()
void PrintSelf(ostream &os, vtkIndent indent) override