vtkSMArraySelectionDomain.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMArraySelectionDomain.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 =========================================================================*/
33 #ifndef vtkSMArraySelectionDomain_h
34 #define vtkSMArraySelectionDomain_h
35 
36 #include "vtkRemotingServerManagerModule.h" //needed for exports
37 #include "vtkSMStringListDomain.h"
38 
40 {
41 public:
44  void PrintSelf(ostream& os, vtkIndent indent) override;
45 
51  int SetDefaultValues(vtkSMProperty*, bool use_unchecked_values) override;
52 
57  static void SetLoadAllVariables(bool choice)
58  {
60  }
62 
63 protected:
65  ~vtkSMArraySelectionDomain() override;
66 
67  static bool LoadAllVariables;
68 
69 private:
71  void operator=(const vtkSMArraySelectionDomain&) = delete;
72 };
73 
74 #endif
static void SetLoadAllVariables(bool choice)
Global flag to toggle between (a) the default behavior of setting default values according to infoPro...
#define VTKREMOTINGSERVERMANAGER_EXPORT
void PrintSelf(ostream &os, vtkIndent indent) override
superclass for all SM properties
used on properties that allow users to select arrays.
static vtkSMStringListDomain * New()
int SetDefaultValues(vtkSMProperty *, bool use_unchecked_values) override
A vtkSMProperty is often defined with a default value in the XML itself.