Base class for custom viewpoints controllers. More...
#include <pqCustomViewpointsController.h>
Public Member Functions | |
pqCustomViewpointsController (QObject *parent=nullptr) | |
~pqCustomViewpointsController () override=default | |
void | setToolbar (pqCustomViewpointsToolbar *toolbar) |
Set the toolbar controlled by this More... | |
pqCustomViewpointsToolbar * | getToolbar () const |
Get the toolbar controlled by this More... | |
virtual QStringList | getCustomViewpointToolTips ()=0 |
Get tooltips of all viewpoints. More... | |
virtual void | configureCustomViewpoints ()=0 |
Called when configure button is pressed. More... | |
virtual void | setToCurrentViewpoint (int index)=0 |
Set the specified viewpoint entry to current viewpoint. More... | |
virtual void | applyCustomViewpoint (int index)=0 |
Move camera to match specified viewpoint entry. More... | |
virtual void | deleteCustomViewpoint (int index)=0 |
Remove a custom viewpoint entry. More... | |
virtual void | addCurrentViewpointToCustomViewpoints ()=0 |
Save current viewpoint in a new viewpoint entry. More... | |
Base class for custom viewpoints controllers.
pqCustomViewpointsController is an abstract class that controls the behaviour of a pqCustomViewpointsToolbar
Definition at line 20 of file pqCustomViewpointsController.h.
|
inline |
Definition at line 26 of file pqCustomViewpointsController.h.
|
overridedefault |
void pqCustomViewpointsController::setToolbar | ( | pqCustomViewpointsToolbar * | toolbar | ) |
Set the toolbar controlled by this
It will set toolbar
as parent of this
|
inline |
Get the toolbar controlled by this
Definition at line 43 of file pqCustomViewpointsController.h.
|
pure virtual |
Get tooltips of all viewpoints.
Implemented in pqCustomViewpointsDefaultController.
|
pure virtual |
Called when configure button is pressed.
Implemented in pqCustomViewpointsDefaultController.
|
pure virtual |
Set the specified viewpoint entry to current viewpoint.
Implemented in pqCustomViewpointsDefaultController.
|
pure virtual |
Move camera to match specified viewpoint entry.
Implemented in pqCustomViewpointsDefaultController.
|
pure virtual |
Remove a custom viewpoint entry.
Implemented in pqCustomViewpointsDefaultController.
|
pure virtual |
Save current viewpoint in a new viewpoint entry.
Implemented in pqCustomViewpointsDefaultController.