vtkSMBooleanDomain.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
15 #ifndef vtkSMBooleanDomain_h
16 #define vtkSMBooleanDomain_h
17 
18 #include "vtkRemotingServerManagerModule.h" //needed for exports
19 #include "vtkSMDomain.h"
20 
22 {
23 public:
24  static vtkSMBooleanDomain* New();
26  void PrintSelf(ostream& os, vtkIndent indent) override;
27 
32  int IsInDomain(vtkSMProperty* property) override;
33 
37  void SetAnimationValue(vtkSMProperty* property, int idx, double value) override;
38 
39 protected:
41  ~vtkSMBooleanDomain() override;
42 
43 private:
44  vtkSMBooleanDomain(const vtkSMBooleanDomain&) = delete;
45  void operator=(const vtkSMBooleanDomain&) = delete;
46 };
47 
48 #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:76
superclass for all SM properties
represents the possible values a property can have
Definition: vtkSMDomain.h:37
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:64
a domain with two values: true or false
static vtkSMDomain * New()