vtkSMComparativeAnimationCueProxy.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMComparativeAnimationCueProxy.h
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 =========================================================================*/
26 #ifndef vtkSMComparativeAnimationCueProxy_h
27 #define vtkSMComparativeAnimationCueProxy_h
28 
29 #include "vtkRemotingViewsModule.h" //needed for exports
30 #include "vtkSMProxy.h"
31 
33 
35 {
36 public:
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
42 
47  void UpdateXRange(int y, double minx, double maxx);
48  void UpdateYRange(int x, double miny, double maxy);
49  void UpdateWholeRange(double mint, double maxt);
50  void UpdateValue(int x, int y, double value);
51  void UpdateXRange(int y, double* minx, double* maxx, unsigned int numvalues);
52  void UpdateYRange(int x, double* minx, double* maxx, unsigned int numvalues);
53  void UpdateWholeRange(double* mint, double* maxt, unsigned int numValues);
54  void UpdateWholeRange(double* mint, double* maxt, unsigned int numValues, bool vertical_first);
55  void UpdateValue(int x, int y, double* value, unsigned int numValues);
56  double* GetValues(int x, int y, int dx, int dy, unsigned int& numValues);
57  double GetValue(int x, int y, int dx, int dy);
58  void UpdateAnimatedValue(int x, int y, int dx, int dy);
60 
70  {
71  return this->Superclass::SaveXMLState(root);
72  }
73 
78 
86  int LoadXMLState(vtkPVXMLElement* element, vtkSMProxyLocator* locator) override;
87 
88 protected:
91 
97  void CreateVTKObjects() override;
98 
99  // Method used to simplify the access to the concreate VTK class underneath
101  vtkPVComparativeAnimationCue* GetComparativeAnimationCue();
102 
103 private:
105  void operator=(const vtkSMComparativeAnimationCueProxy&) = delete;
106 
107  class vtkInternal;
108  vtkInternal* Internals;
109 };
110 
111 #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:152
is used to locate proxies referred to in state xmls while loading state files.
void operator=(const vtkSMProxy &)=delete
vtkSMProxyInternals * Internals
Definition: vtkSMProxy.h:1013
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