pqSpherePropertyWidget.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 pqSpherePropertyWidget_h
5 #define pqSpherePropertyWidget_h
6 
8 
23 {
24  Q_OBJECT
26 
27 public:
28  pqSpherePropertyWidget(vtkSMProxy* proxy, vtkSMPropertyGroup* smgroup, QWidget* parent = nullptr);
29  ~pqSpherePropertyWidget() override;
30 
31 public Q_SLOTS: // NOLINT(readability-redundant-access-specifiers)
35  void centerOnBounds();
36 
37 protected Q_SLOTS:
41  void placeWidget() override;
42 
43 private Q_SLOTS:
44  void setCenter(double x, double y, double z);
45 
46 private: // NOLINT(readability-redundant-access-specifiers)
47  Q_DISABLE_COPY(pqSpherePropertyWidget)
48 };
49 
50 #endif
#define PQAPPLICATIONCOMPONENTS_EXPORT
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140
virtual void placeWidget()=0
Places the interactive widget using current data source information.
pqInteractivePropertyWidgetAbstract is an abstract pqPropertyWidget subclass designed to serve as the...
pqSpherePropertyWidget is a custom property widget that uses "SphereWidgetRepresentation" to help use...
pqInteractivePropertyWidget is an abstract pqPropertyWidget subclass designed to serve as the supercl...