vtkSMArraySelectionDomain.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
21 #ifndef vtkSMArraySelectionDomain_h
22 #define vtkSMArraySelectionDomain_h
23 
24 #include "vtkRemotingServerManagerModule.h" //needed for exports
25 #include "vtkSMStringListDomain.h"
26 
27 class VTKREMOTINGSERVERMANAGER_EXPORT vtkSMArraySelectionDomain : public vtkSMStringListDomain
28 {
29 public:
32  void PrintSelf(ostream& os, vtkIndent indent) override;
33 
39  int SetDefaultValues(vtkSMProperty*, bool use_unchecked_values) override;
40 
45  static void SetLoadAllVariables(bool choice)
46  {
48  }
50 
51 protected:
53  ~vtkSMArraySelectionDomain() override;
54 
55  static bool LoadAllVariables;
56 
57 private:
59  void operator=(const vtkSMArraySelectionDomain&) = delete;
60 };
61 
62 #endif
vtkSMArraySelectionDomain::SetLoadAllVariables
static void SetLoadAllVariables(bool choice)
Global flag to toggle between (a) the default behavior of setting default values according to infoPro...
Definition: vtkSMArraySelectionDomain.h:45
vtkSMStringListDomain::SetDefaultValues
int SetDefaultValues(vtkSMProperty *, bool use_unchecked_values) override
A vtkSMProperty is often defined with a default value in the XML itself.
vtkSMArraySelectionDomain::LoadAllVariables
static bool LoadAllVariables
Definition: vtkSMArraySelectionDomain.h:55
vtkSMArraySelectionDomain
used on properties that allow users to select arrays.
Definition: vtkSMArraySelectionDomain.h:27
vtkSMProperty
superclass for all SM properties
Definition: vtkSMProperty.h:144
vtkIndent
vtkSMStringListDomain.h
vtkSMStringListDomain::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkSMStringListDomain
list of strings
Definition: vtkSMStringListDomain.h:32
vtkSMArraySelectionDomain::GetLoadAllVariables
static bool GetLoadAllVariables()
Definition: vtkSMArraySelectionDomain.h:49
vtkSMStringListDomain::New
static vtkSMStringListDomain * New()