vtkSMSubsetInclusionLatticeDomain.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMSubsetInclusionLatticeDomain.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 =========================================================================*/
73 #ifndef vtkSMSubsetInclusionLatticeDomain_h
74 #define vtkSMSubsetInclusionLatticeDomain_h
75 
76 #include "vtkSMStringListDomain.h"
77 
78 #include "vtkSmartPointer.h" // for vtkSmartPointer.
79 #include <string> // for std::string
80 
83  : public vtkSMStringListDomain
84 {
85 public:
88  void PrintSelf(ostream& os, vtkIndent indent) override;
89 
94  int IsInDomain(vtkSMProperty*) override { return 1; }
95 
99  void Update(vtkSMProperty* requestingProperty) override;
100 
105  vtkSubsetInclusionLattice* GetSIL();
106 
110  int SetDefaultValues(vtkSMProperty*, bool use_unchecked_values) override;
111 
112 protected:
115 
116  int ReadXMLAttributes(vtkSMProperty* prop, vtkPVXMLElement* elem) override;
117 
118 private:
120  void operator=(const vtkSMSubsetInclusionLatticeDomain&) = delete;
121 
122  std::string DefaultPath;
124  vtkIdType TimeTag;
125 };
126 
127 #endif
int IsInDomain(vtkSMProperty *) override
Returns 1 always.
A directed acyclic graph to manage data hierarchy and relationships between hierarchy nodes...
#define VTKREMOTINGSERVERMANAGER_EXPORT
void PrintSelf(ostream &os, vtkIndent indent) override
domain for block selection properties using a vtkSubsetInclusionLattice.
superclass for all SM properties
int vtkIdType
int ReadXMLAttributes(vtkSMProperty *prop, vtkPVXMLElement *element) override
Set the appropriate ivars from the xml element.
void Update(vtkSMProperty *) override
Update self checking the "unchecked" values of all required properties.
static vtkSMStringListDomain * New()
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
int SetDefaultValues(vtkSMProperty *, bool use_unchecked_values) override
A vtkSMProperty is often defined with a default value in the XML itself.