vtkGenericPropertyDecorator.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3 // SPDX-License-Identifier: BSD-3-Clause
4 #ifndef vtkGenericPropertyDecorator_h
5 #define vtkGenericPropertyDecorator_h
6 
8 
9 #include "vtkPropertyDecorator.h"
10 
11 #include <memory>
12 
29  : public vtkPropertyDecorator
30 {
31 public:
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
36  void Initialize(vtkPVXMLElement* config, vtkSMProxy* proxy) override;
37 
41  bool CanShow(bool show_advanced) const override;
42  bool Enable() const override;
43 
44  void UpdateState();
45 
46 protected:
48  ~vtkGenericPropertyDecorator() override;
49 
50 private:
52  void operator=(const vtkGenericPropertyDecorator&) = delete;
53 
54  class vtkInternals;
55  std::unique_ptr<vtkInternals> Internals;
56 };
57 
58 #endif
virtual void Initialize(vtkPVXMLElement *xml, vtkSMProxy *proxy)
Constructor.
void PrintSelf(ostream &os, vtkIndent indent) override
#define VTKREMOTINGAPPLICATIONCOMPONENTS_EXPORT
static vtkPropertyDecorator * New()
vtkPropertyDecorator hold the logic of pqPropertyDecorator TODO provides a mechanism to decorate pqPr...
virtual bool CanShow(bool show_advanced) const
Override this method to override the visibility of the widget in the panel.
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140
virtual bool Enable() const
Override this method to override the enable state of the widget in the panel.
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
vtkGenericPropertyDecorator is a vtkPropertyDecorator that supports multiple common use cases from a ...