vtkSMNumberOfComponentsDomain.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMNumberOfComponentsDomain.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 =========================================================================*/
28 #ifndef vtkSMNumberOfComponentsDomain_h
29 #define vtkSMNumberOfComponentsDomain_h
30 
31 #include "vtkRemotingServerManagerModule.h" //needed for exports
32 #include "vtkSMEnumerationDomain.h"
33 
34 class vtkSMSourceProxy;
36 
38 {
39 public:
42  void PrintSelf(ostream& os, vtkIndent indent) override;
43 
50  void Update(vtkSMProperty* prop) override;
51 
52 protected:
55 
59  virtual int ReadXMLAttributes(vtkSMProperty* prop, vtkPVXMLElement* element) override;
60 
64  void Update(
65  const char* arrayname, vtkSMSourceProxy* sp, vtkSMInputArrayDomain* iad, int outputport);
66 
67 private:
69  void operator=(const vtkSMNumberOfComponentsDomain&) = delete;
70 
71  bool EnableMagnitude;
72 };
73 
74 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
#define VTKREMOTINGSERVERMANAGER_EXPORT
superclass for all SM properties
domain to ensure that input has required types of arrays.
proxy for a VTK source on a server
list of integers with associated strings
int ReadXMLAttributes(vtkSMProperty *prop, vtkPVXMLElement *element) override
Set the appropriate ivars from the xml element.
static vtkSMEnumerationDomain * New()
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
void Update(vtkSMProperty *property) override
Update self based on the "unchecked" values of all required properties.
int range domain based on the number of components available in a particular data array...