vtkSMAnimationSceneGeometryWriter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMAnimationSceneGeometryWriter.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 =========================================================================*/
25 #ifndef vtkSMAnimationSceneGeometryWriter_h
26 #define vtkSMAnimationSceneGeometryWriter_h
27 
28 #include "vtkRemotingAnimationModule.h" //needed for exports
30 
31 class vtkSMProxy;
32 
35 {
36 public:
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
41  // Get/Set the View Module from which we are writing the
42  // geometry.
43  vtkGetObjectMacro(ViewModule, vtkSMProxy);
44  void SetViewModule(vtkSMProxy*);
45 
46 protected:
49 
53  bool SaveInitialize(int startCount) override;
54 
58  bool SaveFrame(double time) override;
59 
63  bool SaveFinalize() override;
64 
67 
68 private:
70  void operator=(const vtkSMAnimationSceneGeometryWriter&) = delete;
71 };
72 
73 #endif
virtual bool SaveInitialize(int countStart)=0
Subclasses should override this method.
helper class to write animation geometry in a data file.
helper class used to write animations.
virtual bool SaveFrame(double time)=0
Subclasses should override this method.
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:152
#define VTKREMOTINGANIMATION_EXPORT
virtual bool SaveFinalize()=0
Subclasses should override this method.
static vtkSMSessionObject * New()
void PrintSelf(ostream &os, vtkIndent indent) override