vtkSMComparativeAnimationCueProxy.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
14 #ifndef vtkSMComparativeAnimationCueProxy_h
15 #define vtkSMComparativeAnimationCueProxy_h
16 
17 #include "vtkRemotingViewsModule.h" //needed for exports
18 #include "vtkSMProxy.h"
19 
21 
22 class VTKREMOTINGVIEWS_EXPORT vtkSMComparativeAnimationCueProxy : public vtkSMProxy
23 {
24 public:
27  void PrintSelf(ostream& os, vtkIndent indent) override;
28 
30 
35  void UpdateXRange(int y, double minx, double maxx);
36  void UpdateYRange(int x, double miny, double maxy);
37  void UpdateWholeRange(double mint, double maxt);
38  void UpdateValue(int x, int y, double value);
39  void UpdateXRange(int y, double* minx, double* maxx, unsigned int numvalues);
40  void UpdateYRange(int x, double* minx, double* maxx, unsigned int numvalues);
41  void UpdateWholeRange(double* mint, double* maxt, unsigned int numValues);
42  void UpdateWholeRange(double* mint, double* maxt, unsigned int numValues, bool vertical_first);
43  void UpdateValue(int x, int y, double* value, unsigned int numValues);
44  double* GetValues(int x, int y, int dx, int dy, unsigned int& numValues);
45  double GetValue(int x, int y, int dx, int dy);
46  void UpdateAnimatedValue(int x, int y, int dx, int dy);
48 
58  {
59  return this->Superclass::SaveXMLState(root);
60  }
61 
66 
74  int LoadXMLState(vtkPVXMLElement* element, vtkSMProxyLocator* locator) override;
75 
76 protected:
79 
85  void CreateVTKObjects() override;
86 
87  // Method used to simplify the access to the concreate VTK class underneath
89  vtkPVComparativeAnimationCue* GetComparativeAnimationCue();
90 
91 private:
93  void operator=(const vtkSMComparativeAnimationCueProxy&) = delete;
94 
95  class vtkInternal;
96  vtkInternal* Internals;
97 };
98 
99 #endif
vtkSMProxy::New
static vtkSMProxy * New()
vtkSMProxy::LoadXMLState
virtual int LoadXMLState(vtkPVXMLElement *element, vtkSMProxyLocator *locator)
Loads the proxy state from the XML element.
vtkSMProxy::CreateVTKObjects
virtual void CreateVTKObjects()
Given a class name (by setting VTKClassName) and server ids (by setting ServerIDs),...
vtkSMComparativeAnimationCueProxy
cue used for parameter animation by the comparative view.
Definition: vtkSMComparativeAnimationCueProxy.h:22
vtkSMProxy::Internals
vtkSMProxyInternals * Internals
Definition: vtkSMProxy.h:1002
vtkSMComparativeAnimationCueProxy::SaveXMLState
vtkPVXMLElement * SaveXMLState(vtkPVXMLElement *root) override
Saves the state of the proxy.
Definition: vtkSMComparativeAnimationCueProxy.h:57
vtkSMProxy
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140
GetValue
ValueType GetValue(vtkIdType valueIdx) const
vtkSMProxy::SaveXMLState
virtual vtkPVXMLElement * SaveXMLState(vtkPVXMLElement *root)
Saves the state of the proxy.
vtkPVComparativeAnimationCue
cue used for parameter animation by the comparative view.
Definition: vtkPVComparativeAnimationCue.h:25
vtkSMProxy::operator=
void operator=(const vtkSMProxy &)=delete
vtkIndent
vtkPVXMLElement
Definition: vtkPVXMLElement.h:23
vtkSMProxy.h
vtkSMProxy::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkSMProxyLocator
is used to locate proxies referred to in state xmls while loading state files.
Definition: vtkSMProxyLocator.h:24
vtkSMPropertyIterator
iterates over the properties of a proxy
Definition: vtkSMPropertyIterator.h:24
vtkSMComparativeAnimationCueUndoElement
UndoElement for ComparativeAnimationCue.
Definition: vtkSMComparativeAnimationCueUndoElement.h:19