pqOSPRayHidingDecorator.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 pqOSPRayHidingDecorator_h
5 #define pqOSPRayHidingDecorator_h
6 
8 
15 {
16  Q_OBJECT
18 
19 public:
21  ~pqOSPRayHidingDecorator() override;
22 
26  bool canShowWidget(bool show_advanced) const override;
27 
28 private:
29  Q_DISABLE_COPY(pqOSPRayHidingDecorator)
30 };
31 
32 #endif
pqPropertyWidget represents a widget created for each property of a proxy on the pqPropertiesPanel (f...
pqOSPRayHidingDecorator's purpose is to prevent the GUI from showing any of the RayTracing specific r...
~pqOSPRayHidingDecorator() override
bool canShowWidget(bool show_advanced) const override
Overridden to hide the widget when OSPRay is not compiled in.
pqOSPRayHidingDecorator(vtkPVXMLElement *config, pqPropertyWidget *parentObject)
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
pqPropertyWidgetDecorator provides a mechanism to decorate pqPropertyWidget instances to add logic to...