vtkSMSaveAnimationProxy.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
14 #ifndef vtkSMSaveAnimationProxy_h
15 #define vtkSMSaveAnimationProxy_h
16 
17 #include "vtkRemotingAnimationModule.h" //needed for exports
20 {
21 class Friendship;
22 }
23 
24 class vtkPVXMLElement;
25 
27 {
28 public:
29  static vtkSMSaveAnimationProxy* New();
31  void PrintSelf(ostream& os, vtkIndent indent) override;
32 
37  virtual bool WriteAnimation(const char* filename, vtkTypeUInt32 location = vtkPVSession::CLIENT);
38 
42  void UpdateDefaultsAndVisibilities(const char* filename) override;
43 
44 protected:
46  ~vtkSMSaveAnimationProxy() override;
47 
51  virtual bool WriteAnimationInternal(
52  const char* filename, vtkTypeUInt32 location = vtkPVSession::CLIENT);
53 
57  bool Prepare() override;
58 
62  bool Cleanup() override;
63 
68  virtual bool EnforceSizeRestrictions(const char* filename);
69 
70  vtkSMViewLayoutProxy* GetLayout();
71  vtkSMViewProxy* GetView();
72  vtkSMSaveScreenshotProxy* GetScreenshotHelper();
73  vtkSMProxy* GetAnimationScene();
74 
75 private:
77  void operator=(const vtkSMSaveAnimationProxy&) = delete;
78 
79  friend class vtkSMSaveAnimationProxyNS::Friendship;
80 
82 };
83 
84 #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:140
#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