pqCustomViewpointsDefaultController.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 pqCustomViewpointsDefaultController_h
5 #define pqCustomViewpointsDefaultController_h
6 
8 
10 
18 {
19  Q_OBJECT
20  typedef pqCustomViewpointsController Superclass;
21 
22 public:
23  pqCustomViewpointsDefaultController(QObject* parent = nullptr);
24 
25  ~pqCustomViewpointsDefaultController() override = default;
26 
32  QStringList getCustomViewpointToolTips() override;
33 
38  void configureCustomViewpoints() override;
39 
44  void setToCurrentViewpoint(int index) override;
45 
50  void applyCustomViewpoint(int index) override;
51 
56  void deleteCustomViewpoint(int index) override;
57 
63 };
64 
65 #endif
#define PQAPPLICATIONCOMPONENTS_EXPORT
virtual QStringList getCustomViewpointToolTips()=0
Get tooltips of all viewpoints.
virtual void setToCurrentViewpoint(int index)=0
Set the specified viewpoint entry to current viewpoint.
Base class for custom viewpoints controllers.
virtual void deleteCustomViewpoint(int index)=0
Remove a custom viewpoint entry.
virtual void applyCustomViewpoint(int index)=0
Move camera to match specified viewpoint entry.
virtual void addCurrentViewpointToCustomViewpoints()=0
Save current viewpoint in a new viewpoint entry.
index
Default custom viewpoints controller.
virtual void configureCustomViewpoints()=0
Called when configure button is pressed.