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 "vtkRemotingServerManagerModule.h" //needed for exports
31 #include "vtkSMDomain.h"
32 
34 {
35 public:
36  static vtkSMBooleanDomain* New();
38  void PrintSelf(ostream& os, vtkIndent indent) override;
39 
44  int IsInDomain(vtkSMProperty* property) override;
45 
49  void SetAnimationValue(vtkSMProperty* property, int idx, double value) override;
50 
51 protected:
53  ~vtkSMBooleanDomain() override;
54 
55 private:
56  vtkSMBooleanDomain(const vtkSMBooleanDomain&) = delete;
57  void operator=(const vtkSMBooleanDomain&) = delete;
58 };
59 
60 #endif
#define VTKREMOTINGSERVERMANAGER_EXPORT
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:88
superclass for all SM properties
represents the possible values a property can have
Definition: vtkSMDomain.h:49
void PrintSelf(ostream &os, vtkIndent indent) override
virtual int IsInDomain(vtkSMProperty *vtkNotUsed(property))
Is the (unchecked) value of the property in the domain? Overwritten by sub-classes.
Definition: vtkSMDomain.h:76
a domain with two values: true or false
static vtkSMDomain * New()