vtkSMFrameStrideQueryDomain.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
32 #ifndef vtkSMFrameStrideQueryDomain_h
33 #define vtkSMFrameStrideQueryDomain_h
34 
35 #include "vtkRemotingServerManagerModule.h" //needed for exports
36 #include "vtkSMDomain.h"
37 
39 {
40 public:
43  void PrintSelf(ostream& os, vtkIndent indent) override;
48  int IsInDomain(vtkSMProperty* property) override;
49 
54  void Update(vtkSMProperty*) override;
55 
59  int SetDefaultValues(vtkSMProperty* prop, bool use_unchecked_values) override;
60 
61 protected:
63  ~vtkSMFrameStrideQueryDomain() override;
64 
65 private:
67  void operator=(const vtkSMFrameStrideQueryDomain&) = delete;
68 
69  int FrameStride = 1;
70 
71  void OnDomainModified();
72 };
73 
74 #endif // vtkSMFrameStrideQueryDomain_h
A domain for getting the input data type and setting it.
#define VTKREMOTINGSERVERMANAGER_EXPORT
virtual void Update(vtkSMProperty *requestingProperty)
Update self based on the "unchecked" values of all required properties.
superclass for all SM properties
virtual int SetDefaultValues(vtkSMProperty *, bool vtkNotUsed(use_unchecked_values))
A vtkSMProperty is often defined with a default value in the XML itself.
Definition: vtkSMDomain.h:91
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
static vtkSMDomain * New()