vtkSMExtentDomain.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMExtentDomain.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 =========================================================================*/
27 #ifndef vtkSMExtentDomain_h
28 #define vtkSMExtentDomain_h
29 
30 #include "vtkRemotingServerManagerModule.h" //needed for exports
31 #include "vtkSMIntRangeDomain.h"
32 
33 class vtkSMProxyProperty;
34 
36 {
37 public:
38  static vtkSMExtentDomain* New();
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
46  void Update(vtkSMProperty*) override;
47 
51  void SetAnimationValue(vtkSMProperty* property, int idx, double value) override;
52 
54 
63  int SetDefaultValues(vtkSMProperty*, bool use_unchecked_values) override;
64 
65 protected:
67  ~vtkSMExtentDomain() override;
69 
70  void Update(vtkSMProxyProperty* pp);
71 
72 private:
73  vtkSMExtentDomain(const vtkSMExtentDomain&) = delete;
74  void operator=(const vtkSMExtentDomain&) = delete;
75 };
76 
77 #endif
type specific extension to vtkSMRangeDomainTemplate for ints.
property representing pointer(s) to vtkObject(s)
#define VTKREMOTINGSERVERMANAGER_EXPORT
static vtkSMIntRangeDomain * New()
virtual void SetAnimationValue(vtkSMProperty *, int vtkNotUsed(index), double vtkNotUsed(value))
Set the value of an element of a property from the animation editor.
Definition: vtkSMDomain.h:88
virtual void Update(vtkSMProperty *requestingProperty)
Update self based on the "unchecked" values of all required properties.
superclass for all SM properties
virtual int SetDefaultValues(vtkSMProperty *, bool vtkNotUsed(use_unchecked_values))
A vtkSMProperty is often defined with a default value in the XML itself.
Definition: vtkSMDomain.h:103
int range domain based on data set extent
void PrintSelf(ostream &os, vtkIndent indent) override