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 
10 
19 {
20  Q_OBJECT
22 
23 public:
25  ~pqOSPRayHidingDecorator() override;
26 
30  bool canShowWidget(bool show_advanced) const override;
31 
32 private:
33  Q_DISABLE_COPY(pqOSPRayHidingDecorator)
34  vtkNew<vtkOSPRayHidingDecorator> decoratorLogic;
35 };
36 
37 #endif
pqPropertyWidget represents a widget created for each property of a proxy on the pqPropertiesPanel (f...
pqOSPRayHidingDecorator&#39;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...