vtkPVKeyFrameAnimationCueForProxies.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: $RCSfile$
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 =========================================================================*/
22 #ifndef vtkPVKeyFrameAnimationCueForProxies_h
23 #define vtkPVKeyFrameAnimationCueForProxies_h
24 
26 
27 class vtkSMProxy;
28 class vtkSMProperty;
29 class vtkSMDomain;
30 
33 {
34 public:
37  void PrintSelf(ostream& os, vtkIndent indent) override;
38 
40 
43  void SetAnimatedProxy(vtkSMProxy*);
44  vtkGetObjectMacro(AnimatedProxy, vtkSMProxy);
46 
47  void RemoveAnimatedProxy();
48 
50 
53  vtkSetStringMacro(AnimatedPropertyName);
54  vtkGetStringMacro(AnimatedPropertyName);
56 
58 
61  vtkSetStringMacro(AnimatedDomainName);
62  vtkGetStringMacro(AnimatedDomainName);
64 
66 
72  void BeginUpdateAnimationValues() override;
73  void SetAnimationValue(int index, double value) override;
74  void EndUpdateAnimationValues() override;
76 
77 protected:
80 
84  vtkSMProperty* GetAnimatedProperty();
85 
89  vtkSMDomain* GetAnimatedDomain();
90 
95 
96 private:
98  void operator=(const vtkPVKeyFrameAnimationCueForProxies&) = delete;
99 };
100 
101 #endif
static vtkAnimationCue * New()
vtkPVKeyFrameAnimationCueForProxies extends vtkPVKeyFrameAnimationCue to update properties on proxies...
superclass for all SM properties
virtual void EndUpdateAnimationValues()=0
Used to update the animated item.
virtual void SetAnimationValue(int index, double value)=0
Used to update the animated item.
vtkPVKeyFrameAnimationCue is a specialization of vtkPVAnimationCue that uses the vtkPVKeyFrameCueMani...
represents the possible values a property can have
Definition: vtkSMDomain.h:49
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:152
#define VTKREMOTINGANIMATION_EXPORT
virtual void BeginUpdateAnimationValues()=0
Used to update the animated item.
void PrintSelf(ostream &os, vtkIndent indent) override