pqANARIHidingDecorator.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
3 #ifndef pqANARIHidingDecorator_h
4 #define pqANARIHidingDecorator_h
5 
7 
9 
18 {
19  Q_OBJECT
21 
22 public:
24  ~pqANARIHidingDecorator() override = default;
25 
29  bool canShowWidget(bool showAdvanced) const override;
30 
31 private:
32  Q_DISABLE_COPY(pqANARIHidingDecorator)
33  vtkNew<vtkANARIHidingDecorator> decoratorLogic;
34 };
35 
36 #endif
pqPropertyWidget represents a widget created for each property of a proxy on the pqPropertiesPanel (f...
pqANARIHidingDecorator(vtkPVXMLElement *config, pqPropertyWidget *parentObject)
pqANARIHidingDecorator&#39;s purpose is to prevent the GUI from showing any of the ANARI specific renderi...
bool canShowWidget(bool showAdvanced) const override
Overridden to hide the widget when ANARI is not compiled in.
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
~pqANARIHidingDecorator() override=default
pqPropertyWidgetDecorator provides a mechanism to decorate pqPropertyWidget instances to add logic to...