pqCameraReaction has the logic to handle common operations associated with the camera such as reset view along X axis etc.
More...
#include <pqCameraReaction.h>
pqCameraReaction has the logic to handle common operations associated with the camera such as reset view along X axis etc.
Definition at line 42 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 | |
ZOOM_TO_DATA | |
ROTATE_CAMERA_CW | |
ROTATE_CAMERA_CCW | |
Definition at line 48 of file pqCameraReaction.h.
§ pqCameraReaction()
pqCameraReaction::pqCameraReaction |
( |
QAction * |
parent, |
|
|
Mode |
mode |
|
) |
| |
§ resetCamera()
static void pqCameraReaction::resetCamera |
( |
| ) |
|
|
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()
static void pqCameraReaction::resetDirection |
( |
double |
look_x, |
|
|
double |
look_y, |
|
|
double |
look_z, |
|
|
double |
up_x, |
|
|
double |
up_y, |
|
|
double |
up_z |
|
) |
| |
|
static |
§ zoomToData()
static void pqCameraReaction::zoomToData |
( |
| ) |
|
|
static |
§ rotateCamera()
static void pqCameraReaction::rotateCamera |
( |
double |
angle | ) |
|
|
static |
§ updateEnableState
void pqCameraReaction::updateEnableState |
( |
| ) |
|
|
slot |
Updates the enabled state.
Applications need not explicitly call this.
§ onTriggered()
virtual void pqCameraReaction::onTriggered |
( |
| ) |
|
|
protectedvirtual |
Called when the action is triggered.
Reimplemented from pqReaction.
The documentation for this class was generated from the following file: