|
Public Member Functions |
|
| ViewState (KeyboardEvents::Dispatcher *k, MouseEvents::Dispatcher *m, Window *w, X3D::Viewer *viewer, string initialViewpointName, const CoordSystem3x3 &defaultViewpoint) |
|
Vector3 | findTrackballPos (unsigned x, unsigned y) |
| | Primary resource: http://www.mactech.com/articles/mactech/Vol.15/15.03/NaturalObjectRotation.
|
|
void | depthMarkerModeOn () |
|
void | depthMarkerModeOff () |
|
void | trackballMode (unsigned x, unsigned y, bool press) |
|
void | trackballDepthMode (unsigned x, unsigned y, bool press) |
|
void | trackballChangeDepthMode (unsigned x, unsigned y, bool press) |
|
void | travelMode (unsigned, unsigned, bool press) |
|
void | yawAndPitchMode (unsigned, unsigned, bool press) |
|
void | changeDepth (unsigned xAbs, unsigned yAbs, int xRel, int yRel) |
|
void | trackballRoll (unsigned xAbs, unsigned yAbs, int xRel, int yRel) |
| | Primary resource: http://www.mactech.com/articles/mactech/Vol.15/15.03/NaturalObjectRotation.
|
|
void | travel (unsigned xAbs, unsigned yAbs, int xRel, int yRel) |
|
void | yawAndPitch (unsigned xAbs, unsigned yAbs, int xRel, int yRel) |
|
void | resetViewpoint () |
|
void | disregardSensorsOn () |
|
void | disregardSensorsOff () |
|
void | sensorTrack (unsigned, unsigned, int, int) |
|
void | sensorActivate (unsigned, unsigned, bool press) |
|
void | toggleHeadLight () |
|
void | toggleShowLightSources () |
|
void | toggleWireframeMode () |
|
void | toggleEnableTexture () |
|
void | toggleShowNormals () |
|
void | toggleTextAsQuadsMode () |
|
void | toggleSeparateSpecularColorMode () |
|
void | toggleLightModelLocalViewerMode () |
Public Attributes |
|
bool | showDepthMarker |
|
KeyboardEvents::Dispatcher * | keyboardDispatcher |
|
MouseEvents::Dispatcher * | mouseDispatcher |
|
Window * | window |
|
X3D::Viewer * | viewer |
|
string | initialViewpointName |
|
CoordSystem3x3 | defaultViewpoint |
|
Vector3 | trackballPos |
|
double | trackballRadius |
|
bool | sensorMode |
|
bool | mousePositionChanged |
|
Ref< Window::MouseCursor > | defaultMouseCursor |
|
Ref< Window::MouseCursor > | sensorMouseCursor |