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 
25 class VTKREMOTINGSERVERMANAGER_EXPORT vtkSMNumberOfComponentsDomain : public vtkSMEnumerationDomain
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
vtkSMNumberOfComponentsDomain
int range domain based on the number of components available in a particular data array.
Definition: vtkSMNumberOfComponentsDomain.h:25
vtkSMEnumerationDomain::ReadXMLAttributes
int ReadXMLAttributes(vtkSMProperty *prop, vtkPVXMLElement *element) override
Set the appropriate ivars from the xml element.
vtkSMEnumerationDomain::New
static vtkSMEnumerationDomain * New()
vtkSMEnumerationDomain.h
vtkSMEnumerationDomain::Update
void Update(vtkSMProperty *property) override
Update self based on the "unchecked" values of all required properties.
vtkSMProperty
superclass for all SM properties
Definition: vtkSMProperty.h:144
vtkSMInputArrayDomain
domain to ensure that input has required types of arrays.
Definition: vtkSMInputArrayDomain.h:67
vtkSMSourceProxy
proxy for a VTK source on a server
Definition: vtkSMSourceProxy.h:37
vtkIndent
vtkSMEnumerationDomain::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkPVXMLElement
Definition: vtkPVXMLElement.h:23
vtkSMEnumerationDomain
list of integers with associated strings
Definition: vtkSMEnumerationDomain.h:67