#include <ViewState.h>

Public Member Functions |
|
| ViewState () | |
| ViewState (const ViewState &rhs) | |
| virtual void | update () |
| virtual void | updateStereo () |
| virtual void * | getNativeViewState () const |
| virtual void * | getNativeCamera () const |
| virtual void | setCamera (CameraRef camera) |
| virtual CameraRef | getCamera () const |
| virtual void | synchronizeCamera () |
| virtual void | setViewport (int x, int y, int width, int height) |
| virtual void | getViewport (int &x, int &y, int &width, int &height) const |
| virtual void | enableStereo () |
| virtual void | disableStereo () |
| virtual bool | isStereo () const |
| virtual void | setStereoEyeDistance (double dist) |
| virtual double | getStereoEyeDistance () const |
| virtual void | setStereoAutomaticEyeDistanceAdjustment (bool adjust) |
| virtual void | setStereoAutomaticEyeDistanceFactor (double factor) |
| virtual double | getStereoAutomaticEyeDistanceFactor () const |
| virtual void | enableCameraAdjustment (awLinear::Range2d windowRegion, awLinear::Point2 windowOffset, awLinear::Tuple3 cameraRotation, awLinear::Vector cameraMove) |
| virtual void | getCameraAdjustment (awLinear::Range2d &windowRegion, awLinear::Point2 &windowOffset, awLinear::Tuple3 &cameraRotation, awLinear::Vector &cameraMove) |
| virtual void | disableCameraAdjustment () |
| virtual bool | isCameraAdjustmentEnabled () const |
| virtual void | setManualStereoWindowRegion (const awLinear::Range2d &leftEyeRegion, const awLinear::Range2d &rightEyeRegion) |
| virtual void | getManualStereoWindowRegion (awLinear::Range2d &leftEyeRegion, awLinear::Range2d &rightEyeRegion) |
| virtual void | setManualStereoWindowOffset (const awLinear::Point2 &leftEyeWindowOffset, const awLinear::Point2 &rightEyeWindowOffset) |
| virtual void | getManualStereoWindowOffset (awLinear::Point2 &leftEyeWindowOffset, awLinear::Point2 &rightEyeWindowOffset) |
| virtual void | setManualStereoRotate (const awLinear::Tuple3 &leftEyeRotate, const awLinear::Tuple3 &rightEyeRotate) |
| virtual void | getManualStereoRotate (awLinear::Tuple3 &leftEyeRotate, awLinear::Tuple3 &rightEyeRotate) |
| virtual void | setManualStereoMove (const awLinear::Vector &leftEyeMove, const awLinear::Vector &rightEyeMove) |
| virtual void | getManualStereoMove (awLinear::Vector &leftEyeMove, awLinear::Vector &rightEyeMove) |
| virtual void | setManualStereo (bool state) |
| virtual bool | isManualStereo () |
Protected Member Functions |
|
| ~ViewState () | |
Protected Attributes |
|
| int | myViewportX |
| int | myViewportY |
| int | myViewportH |
| int | myViewportW |
| bool | myStereoEnabled |
| double | myStereoEyeDistance |
| bool | myStereoAutomaticEyeDistanceAdjustment |
| double | myStereoAutomaticEyeDistanceFactor |
| bool | myStereoCameraAdjustmentEnabled |
| awLinear::Range2d | myStereoAdjustedWindowRegion |
| awLinear::Point2 | myStereoAdjustedWindowOffset |
| awLinear::Tuple3 | myStereoAdjustedCameraRotation |
| awLinear::Vector | myStereoAdjustedCameraMove |
| awLinear::Range2d | myManualStereoWindowRegionLeftEye |
| awLinear::Range2d | myManualStereoWindowRegionRightEye |
| awLinear::Point2 | myManualStereoWindowOffsetLeftEye |
| awLinear::Point2 | myManualStereoWindowOffsetRightEye |
| awLinear::Tuple3 | myManualStereoRotateLeftEye |
| awLinear::Tuple3 | myManualStereoRotateRightEye |
| awLinear::Vector | myManualStereoMoveLeftEye |
| awLinear::Vector | myManualStereoMoveRightEye |
| bool | myManualStereoState |
| CameraRef | myCamera |
| ViewState | ( | ) |
| ~ViewState | ( | ) | [protected] |
| virtual void update | ( | ) | [virtual] |
| virtual void updateStereo | ( | ) | [virtual] |
| virtual void* getNativeViewState | ( | ) | const [virtual] |
| virtual void* getNativeCamera | ( | ) | const [virtual] |
| virtual void setCamera | ( | CameraRef | camera | ) | [virtual] |
| virtual CameraRef getCamera | ( | ) | const [virtual] |
| virtual void synchronizeCamera | ( | ) | [virtual] |
| virtual void setViewport | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height | ||
| ) | [virtual] |
| virtual void getViewport | ( | int & | x, |
| int & | y, | ||
| int & | width, | ||
| int & | height | ||
| ) | const [virtual] |
| virtual void enableStereo | ( | ) | [virtual] |
| virtual void disableStereo | ( | ) | [virtual] |
| virtual bool isStereo | ( | ) | const [virtual] |
| virtual void setStereoEyeDistance | ( | double | dist | ) | [virtual] |
| virtual double getStereoEyeDistance | ( | ) | const [virtual] |
| virtual void setStereoAutomaticEyeDistanceAdjustment | ( | bool | adjust | ) | [virtual] |
| virtual void setStereoAutomaticEyeDistanceFactor | ( | double | factor | ) | [virtual] |
| virtual double getStereoAutomaticEyeDistanceFactor | ( | ) | const [virtual] |
| virtual void enableCameraAdjustment | ( | awLinear::Range2d | windowRegion, |
| awLinear::Point2 | windowOffset, | ||
| awLinear::Tuple3 | cameraRotation, | ||
| awLinear::Vector | cameraMove | ||
| ) | [virtual] |
| virtual void getCameraAdjustment | ( | awLinear::Range2d & | windowRegion, |
| awLinear::Point2 & | windowOffset, | ||
| awLinear::Tuple3 & | cameraRotation, | ||
| awLinear::Vector & | cameraMove | ||
| ) | [virtual] |
| virtual void disableCameraAdjustment | ( | ) | [virtual] |
| virtual bool isCameraAdjustmentEnabled | ( | ) | const [virtual] |
| virtual void setManualStereoWindowRegion | ( | const awLinear::Range2d & | leftEyeRegion, |
| const awLinear::Range2d & | rightEyeRegion | ||
| ) | [virtual] |
| virtual void getManualStereoWindowRegion | ( | awLinear::Range2d & | leftEyeRegion, |
| awLinear::Range2d & | rightEyeRegion | ||
| ) | [virtual] |
| virtual void setManualStereoWindowOffset | ( | const awLinear::Point2 & | leftEyeWindowOffset, |
| const awLinear::Point2 & | rightEyeWindowOffset | ||
| ) | [virtual] |
| virtual void getManualStereoWindowOffset | ( | awLinear::Point2 & | leftEyeWindowOffset, |
| awLinear::Point2 & | rightEyeWindowOffset | ||
| ) | [virtual] |
| virtual void setManualStereoRotate | ( | const awLinear::Tuple3 & | leftEyeRotate, |
| const awLinear::Tuple3 & | rightEyeRotate | ||
| ) | [virtual] |
| virtual void getManualStereoRotate | ( | awLinear::Tuple3 & | leftEyeRotate, |
| awLinear::Tuple3 & | rightEyeRotate | ||
| ) | [virtual] |
| virtual void setManualStereoMove | ( | const awLinear::Vector & | leftEyeMove, |
| const awLinear::Vector & | rightEyeMove | ||
| ) | [virtual] |
| virtual void getManualStereoMove | ( | awLinear::Vector & | leftEyeMove, |
| awLinear::Vector & | rightEyeMove | ||
| ) | [virtual] |
| virtual void setManualStereo | ( | bool | state | ) | [virtual] |
| virtual bool isManualStereo | ( | ) | [virtual] |
int
myViewportX [protected] |
int
myViewportY [protected] |
int
myViewportH [protected] |
int
myViewportW [protected] |
bool
myStereoEnabled [protected] |
double
myStereoEyeDistance [protected] |
bool
myStereoAutomaticEyeDistanceAdjustment
[protected] |
double
myStereoAutomaticEyeDistanceFactor
[protected] |
bool
myStereoCameraAdjustmentEnabled [protected] |
awLinear::Range2d
myStereoAdjustedWindowRegion [protected] |
awLinear::Point2
myStereoAdjustedWindowOffset [protected] |
awLinear::Tuple3
myStereoAdjustedCameraRotation [protected] |
awLinear::Vector
myStereoAdjustedCameraMove [protected] |
awLinear::Range2d
myManualStereoWindowRegionLeftEye [protected] |
awLinear::Range2d
myManualStereoWindowRegionRightEye
[protected] |
awLinear::Point2
myManualStereoWindowOffsetLeftEye [protected] |
awLinear::Point2
myManualStereoWindowOffsetRightEye
[protected] |
awLinear::Tuple3
myManualStereoRotateLeftEye [protected] |
awLinear::Tuple3
myManualStereoRotateRightEye [protected] |
awLinear::Vector
myManualStereoMoveLeftEye [protected] |
awLinear::Vector
myManualStereoMoveRightEye [protected] |
bool
myManualStereoState [protected] |