ParaView
vtkSMBooleanDomain.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMBooleanDomain.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 =========================================================================*/
27 #ifndef vtkSMBooleanDomain_h
28 #define vtkSMBooleanDomain_h
29 
30 #include "vtkPVServerManagerCoreModule.h" //needed for exports
31 #include "vtkSMDomain.h"
32 
33 class VTKPVSERVERMANAGERCORE_EXPORT vtkSMBooleanDomain : public vtkSMDomain
34 {
35 public:
36  static vtkSMBooleanDomain* New();
38  void PrintSelf(ostream& os, vtkIndent indent);
39 
44  virtual int IsInDomain(vtkSMProperty* property);
45 
49  virtual void SetAnimationValue(vtkSMProperty* property, int idx, double value);
50 
51 protected:
54 
55 private:
56  vtkSMBooleanDomain(const vtkSMBooleanDomain&) VTK_DELETE_FUNCTION;
57  void operator=(const vtkSMBooleanDomain&) VTK_DELETE_FUNCTION;
58 };
59 
60 #endif
virtual void SetAnimationValue(vtkSMProperty *, int vtkNotUsed(index), double vtkNotUsed(value))
Set the value of an element of a property from the animation editor.
Definition: vtkSMDomain.h:70
virtual int IsInDomain(vtkSMProperty *property)=0
Is the (unchecked) value of the property in the domain? Overwritten by sub-classes.
superclass for all SM properties
represents the possible values a property can have
Definition: vtkSMDomain.h:48
a domain with two values: true or false
void PrintSelf(ostream &os, vtkIndent indent)
static vtkSMSessionObject * New()