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 
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
#define VTKREMOTINGVIEWS_EXPORT
void PrintSelf(ostream &os, vtkIndent indent) override
cue used for parameter animation by the comparative view.
ValueType GetValue(vtkIdType valueIdx) const
vtkPVXMLElement * SaveXMLState(vtkPVXMLElement *root) override
Saves the state of the proxy.
cue used for parameter animation by the comparative view.
static vtkSMProxy * New()
virtual void CreateVTKObjects()
Given a class name (by setting VTKClassName) and server ids (by setting ServerIDs), this methods instantiates the objects on the server(s)
virtual int LoadXMLState(vtkPVXMLElement *element, vtkSMProxyLocator *locator)
Loads the proxy state from the XML element.
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140
is used to locate proxies referred to in state xmls while loading state files.
void operator=(const vtkSMProxy &)=delete
vtkSMProxyInternals * Internals
Definition: vtkSMProxy.h:1024
virtual vtkPVXMLElement * SaveXMLState(vtkPVXMLElement *root)
Saves the state of the proxy.
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
iterates over the properties of a proxy