pqCameraReaction has the logic to handle common operations associated with the camera such as reset view along X axis etc.
More...
#include <pqCameraReaction.h>
|
enum | Mode {
RESET_CAMERA,
RESET_POSITIVE_X,
RESET_POSITIVE_Y,
RESET_POSITIVE_Z,
RESET_NEGATIVE_X,
RESET_NEGATIVE_Y,
RESET_NEGATIVE_Z,
APPLY_ISOMETRIC_VIEW,
ZOOM_TO_DATA,
ROTATE_CAMERA_CW,
ROTATE_CAMERA_CCW,
ZOOM_CLOSEST_TO_DATA,
RESET_CAMERA_CLOSEST
} |
|
pqCameraReaction has the logic to handle common operations associated with the camera such as reset view along X axis etc.
Definition at line 14 of file pqCameraReaction.h.
◆ Mode
Enumerator |
---|
RESET_CAMERA | |
RESET_POSITIVE_X | |
RESET_POSITIVE_Y | |
RESET_POSITIVE_Z | |
RESET_NEGATIVE_X | |
RESET_NEGATIVE_Y | |
RESET_NEGATIVE_Z | |
APPLY_ISOMETRIC_VIEW | |
ZOOM_TO_DATA | |
ROTATE_CAMERA_CW | |
ROTATE_CAMERA_CCW | |
ZOOM_CLOSEST_TO_DATA | |
RESET_CAMERA_CLOSEST | |
Definition at line 20 of file pqCameraReaction.h.
◆ pqCameraReaction()
pqCameraReaction::pqCameraReaction |
( |
QAction * |
parent, |
|
|
Mode |
mode |
|
) |
| |
◆ resetCamera()
static void pqCameraReaction::resetCamera |
( |
bool |
closest = false | ) |
|
|
static |
◆ resetPositiveX()
static void pqCameraReaction::resetPositiveX |
( |
| ) |
|
|
static |
◆ resetPositiveY()
static void pqCameraReaction::resetPositiveY |
( |
| ) |
|
|
static |
◆ resetPositiveZ()
static void pqCameraReaction::resetPositiveZ |
( |
| ) |
|
|
static |
◆ resetNegativeX()
static void pqCameraReaction::resetNegativeX |
( |
| ) |
|
|
static |
◆ resetNegativeY()
static void pqCameraReaction::resetNegativeY |
( |
| ) |
|
|
static |
◆ resetNegativeZ()
static void pqCameraReaction::resetNegativeZ |
( |
| ) |
|
|
static |
◆ resetDirection()
◆ zoomToData()
static void pqCameraReaction::zoomToData |
( |
bool |
closest = false | ) |
|
|
static |
◆ rotateCamera()
static void pqCameraReaction::rotateCamera |
( |
double |
angle | ) |
|
|
static |
◆ applyIsometricView()
static void pqCameraReaction::applyIsometricView |
( |
| ) |
|
|
static |
◆ updateEnableState
void pqCameraReaction::updateEnableState |
( |
| ) |
|
|
overrideslot |
Updates the enabled state.
Applications need not explicitly call this.
◆ onTriggered()
void pqCameraReaction::onTriggered |
( |
| ) |
|
|
overrideprotectedvirtual |
Called when the action is triggered.
Reimplemented from pqReaction.
The documentation for this class was generated from the following file: