vtkSMArraySelectionDomain.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
25 #ifndef vtkSMArraySelectionDomain_h
26 #define vtkSMArraySelectionDomain_h
27 
28 #include "vtkRemotingServerManagerModule.h" //needed for exports
29 #include "vtkSMStringListDomain.h"
30 
32 {
33 public:
36  void PrintSelf(ostream& os, vtkIndent indent) override;
37 
43  int SetDefaultValues(vtkSMProperty*, bool use_unchecked_values) override;
44 
50  void Update(vtkSMProperty*) override;
51 
56  static void SetLoadAllVariables(bool choice);
57  static bool GetLoadAllVariables();
58 
59 protected:
61  ~vtkSMArraySelectionDomain() override;
62 
67  int ReadXMLAttributes(vtkSMProperty* prop, vtkPVXMLElement* element) override;
68 
69 private:
71  void operator=(const vtkSMArraySelectionDomain&) = delete;
72 
73  bool UseCellTypes = false;
74 };
75 
76 #endif
#define VTKREMOTINGSERVERMANAGER_EXPORT
void PrintSelf(ostream &os, vtkIndent indent) override
superclass for all SM properties
int ReadXMLAttributes(vtkSMProperty *prop, vtkPVXMLElement *element) override
Set the appropriate ivars from the xml element.
void Update(vtkSMProperty *) override
Update self checking the "unchecked" values of all required properties.
used on properties that allow users to select arrays.
static vtkSMStringListDomain * New()
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
int SetDefaultValues(vtkSMProperty *, bool use_unchecked_values) override
A vtkSMProperty is often defined with a default value in the XML itself.