vtkSMNumberOfComponentsDomain.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
16 #ifndef vtkSMNumberOfComponentsDomain_h
17 #define vtkSMNumberOfComponentsDomain_h
18 
19 #include "vtkRemotingServerManagerModule.h" //needed for exports
20 #include "vtkSMEnumerationDomain.h"
21 
22 class vtkSMSourceProxy;
24 
26 {
27 public:
30  void PrintSelf(ostream& os, vtkIndent indent) override;
31 
38  void Update(vtkSMProperty* prop) override;
39 
40 protected:
43 
47  int ReadXMLAttributes(vtkSMProperty* prop, vtkPVXMLElement* element) override;
48 
52  void Update(
53  const char* arrayname, vtkSMSourceProxy* sp, vtkSMInputArrayDomain* iad, int outputport);
54 
55 private:
57  void operator=(const vtkSMNumberOfComponentsDomain&) = delete;
58 
59  bool EnableMagnitude;
60 };
61 
62 #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...