vtkSMSaveAnimationProxy.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMSaveAnimationProxy.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 =========================================================================*/
26 #ifndef vtkSMSaveAnimationProxy_h
27 #define vtkSMSaveAnimationProxy_h
28 
29 #include "vtkRemotingAnimationModule.h" //needed for exports
32 {
33 class Friendship;
34 }
35 
36 class vtkPVXMLElement;
37 
39 {
40 public:
41  static vtkSMSaveAnimationProxy* New();
43  void PrintSelf(ostream& os, vtkIndent indent) override;
44 
49  virtual bool WriteAnimation(const char* filename);
50 
54  void UpdateDefaultsAndVisibilities(const char* filename) override;
55 
56 protected:
58  ~vtkSMSaveAnimationProxy() override;
59 
63  virtual bool WriteAnimationLocally(const char* filename);
64 
68  bool Prepare() override;
69 
73  bool Cleanup() override;
74 
79  virtual bool EnforceSizeRestrictions(const char* filename);
80 
81  vtkSMViewLayoutProxy* GetLayout();
82  vtkSMViewProxy* GetView();
83  vtkSMSaveScreenshotProxy* GetScreenshotHelper();
84  vtkSMProxy* GetAnimationScene();
85 
86 private:
88  void operator=(const vtkSMSaveAnimationProxy&) = delete;
89 
90  friend class vtkSMSaveAnimationProxyNS::Friendship;
91 
93 };
94 
95 #endif
proxy to save animation to images/video.
Superclass for all view proxies.
vtkSMViewLayoutProxy is used by ParaView to layout multiple views in a 2D KD-Tree layout...
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:152
#define VTKREMOTINGANIMATION_EXPORT
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
proxy to help with saving screenshots for views