vtkPVKeyFrameAnimationCueForProxies.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
10 #ifndef vtkPVKeyFrameAnimationCueForProxies_h
11 #define vtkPVKeyFrameAnimationCueForProxies_h
12 
14 
15 class vtkSMProxy;
16 class vtkSMProperty;
17 class vtkSMDomain;
18 
19 class VTKREMOTINGANIMATION_EXPORT vtkPVKeyFrameAnimationCueForProxies
21 {
22 public:
25  void PrintSelf(ostream& os, vtkIndent indent) override;
26 
28 
31  void SetAnimatedProxy(vtkSMProxy*);
32  vtkGetObjectMacro(AnimatedProxy, vtkSMProxy);
34 
35  void RemoveAnimatedProxy();
36 
38 
41  vtkSetStringMacro(AnimatedPropertyName);
42  vtkGetStringMacro(AnimatedPropertyName);
44 
46 
49  vtkSetStringMacro(AnimatedDomainName);
50  vtkGetStringMacro(AnimatedDomainName);
52 
54 
60  void BeginUpdateAnimationValues() override;
61  void SetAnimationValue(int index, double value) override;
62  void EndUpdateAnimationValues() override;
64 
65 protected:
68 
72  vtkSMProperty* GetAnimatedProperty();
73 
77  vtkSMDomain* GetAnimatedDomain();
78 
83 
84 private:
86  void operator=(const vtkPVKeyFrameAnimationCueForProxies&) = delete;
87 };
88 
89 #endif
vtkPVKeyFrameAnimationCueForProxies::AnimatedProxy
vtkSMProxy * AnimatedProxy
Definition: vtkPVKeyFrameAnimationCueForProxies.h:79
vtkPVKeyFrameAnimationCue::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkPVKeyFrameAnimationCueForProxies::AnimatedPropertyName
char * AnimatedPropertyName
Definition: vtkPVKeyFrameAnimationCueForProxies.h:80
vtkPVKeyFrameAnimationCue.h
vtkPVKeyFrameAnimationCueForProxies::ValueIndexMax
int ValueIndexMax
Definition: vtkPVKeyFrameAnimationCueForProxies.h:82
vtkPVKeyFrameAnimationCue
Definition: vtkPVKeyFrameAnimationCue.h:18
vtkSMProperty
superclass for all SM properties
Definition: vtkSMProperty.h:144
vtkPVAnimationCue::EndUpdateAnimationValues
virtual void EndUpdateAnimationValues()=0
Used to update the animated item.
vtkSMProxy
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140
vtkPVAnimationCue::SetAnimationValue
virtual void SetAnimationValue(int index, double value)=0
Used to update the animated item.
vtkPVKeyFrameAnimationCueForProxies::AnimatedDomainName
char * AnimatedDomainName
Definition: vtkPVKeyFrameAnimationCueForProxies.h:81
vtkIndent
vtkSMDomain
represents the possible values a property can have
Definition: vtkSMDomain.h:37
vtkPVAnimationCue::BeginUpdateAnimationValues
virtual void BeginUpdateAnimationValues()=0
Used to update the animated item.
vtkAnimationCue::New
static vtkAnimationCue * New()
vtkPVKeyFrameAnimationCueForProxies
Definition: vtkPVKeyFrameAnimationCueForProxies.h:19