ParaView
vtkSMDimensionsDomain.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMDimensionsDomain.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 =========================================================================*/
33 #ifndef vtkSMDimensionsDomain_h
34 #define vtkSMDimensionsDomain_h
35 
36 #include "vtkPVServerManagerCoreModule.h" //needed for exports
37 #include "vtkSMIntRangeDomain.h"
38 
40 class vtkSMProxyProperty;
41 
42 class VTKPVSERVERMANAGERCORE_EXPORT vtkSMDimensionsDomain : public vtkSMIntRangeDomain
43 {
44 public:
45  static vtkSMDimensionsDomain* New();
47  void PrintSelf(ostream& os, vtkIndent indent);
48 
53  virtual void Update(vtkSMProperty*);
54 
55 protected:
58 
60  int GetDirection(vtkSMIntVectorProperty* ivp);
61  void GetExtent(vtkSMProxyProperty* pp, int extent[6]);
62 
63 private:
64  vtkSMDimensionsDomain(const vtkSMDimensionsDomain&) VTK_DELETE_FUNCTION;
65  void operator=(const vtkSMDimensionsDomain&) VTK_DELETE_FUNCTION;
66 };
67 
68 #endif
type specific extension to vtkSMRangeDomainTemplate for ints.
property representing pointer(s) to vtkObject(s)
static vtkSMIntRangeDomain * New()
virtual void Update(vtkSMProperty *requestingProperty)
Update self based on the "unchecked" values of all required properties.
Definition: vtkSMDomain.h:65
superclass for all SM properties
property representing a vector of integers
int range domain based on the data dimensions.
void PrintSelf(ostream &os, vtkIndent indent)