vtkSMMaterialDomain.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
16 #ifndef vtkSMMaterialDomain_h
17 #define vtkSMMaterialDomain_h
18 
19 #include "vtkRemotingViewsModule.h" //needed for exports
20 #include "vtkSMStringListDomain.h"
21 
22 class vtkSMMaterialObserver;
23 
25 {
26 public:
27  static vtkSMMaterialDomain* New();
29  void PrintSelf(ostream& os, vtkIndent indent) override;
30 
34  void Update(vtkSMProperty*) override;
35 
36 protected:
38  ~vtkSMMaterialDomain() override;
39 
40  int ReadXMLAttributes(vtkSMProperty* prop, vtkPVXMLElement* element) override;
41 
42  void CallMeSometime();
43  friend class vtkSMMaterialObserver;
44  vtkSMMaterialObserver* Observer;
45 
46 private:
48  void operator=(const vtkSMMaterialDomain&) = delete;
49 };
50 
51 #endif
#define VTKREMOTINGVIEWS_EXPORT
void PrintSelf(ostream &os, vtkIndent indent) override
superclass for all SM properties
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.
Manages the list of OSPRay materials choosable to draw with.
vtkSMMaterialObserver * Observer