ParaView
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 "vtkPVServerManagerCoreModule.h" //needed for exports
37 #include "vtkSMStringListDomain.h"
38 
39 class VTKPVSERVERMANAGERCORE_EXPORT vtkSMArraySelectionDomain : public vtkSMStringListDomain
40 {
41 public:
44  void PrintSelf(ostream& os, vtkIndent indent);
45 
51  virtual int SetDefaultValues(vtkSMProperty*, bool use_unchecked_values);
52 
57  static void SetLoadAllVariables(bool choice)
58  {
60  }
62 
63 protected:
66 
67  static bool LoadAllVariables;
68 
69 private:
70  vtkSMArraySelectionDomain(const vtkSMArraySelectionDomain&) VTK_DELETE_FUNCTION;
71  void operator=(const vtkSMArraySelectionDomain&) VTK_DELETE_FUNCTION;
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...
superclass for all SM properties
void PrintSelf(ostream &os, vtkIndent indent)
virtual int SetDefaultValues(vtkSMProperty *, bool use_unchecked_values)
A vtkSMProperty is often defined with a default value in the XML itself.
used on properties that allow users to select arrays.
static vtkSMStringListDomain * New()