Public Member Functions | |
Viewer (Ref< Server >, int resolutionX, int resolutionY, bool useMipmapedTextures, string initialViewpointName, const CoordSystem3x3 &defaultViewpoint, double fieldOfView, double depthOfRotation, const Vector4 &backgroundColor, int subdivisionX, int subdivisionY, bool headLight, bool showLightSources, bool showNormals, bool textAsQuadsMode, bool wireframeMode, bool enableTexture) | |
bool | bindViewpoint (string name) |
Attempt to bind the viewpoint with the specified name. | |
void | resetViewpoint (string initialViewpointName, const CoordSystem3x3 &defaultViewpoint) |
void | setPointingDeviceActive (bool m) |
For conventional 2-D mice pass true whenever the primary mouse button is pressed and false whenever it is released. | |
void | setInitialPointingDevicePosition2D (Vector2) |
Call this method right after construction of this object if you are using a convetional 2-D mouse. | |
void | setPointingDevicePosition2D (Vector2) |
Use this method for convetional 2-D mouse. | |
void | renderFrame () |
Application selection:. | |
bool | getOverStatus () const |
bool | getDragStatus () const |
bool | getHeadLight () const |
void | setHeadLight (bool m=true) |
bool | getShowLightSources () const |
void | setShowLightSources (bool m=true) |
bool | getDisregardSensors () const |
void | setDisregardSensors (bool m=true) |
bool | getEnableTexture () const |
void | setEnableTexture (bool m=true) |
bool | getWireframeMode () const |
void | setWireframeMode (bool m=true) |
bool | getShowNormals () const |
void | setShowNormals (bool m=true) |
bool | getTextAsQuadsMode () const |
void | setTextAsQuadsMode (bool m=true) |
bool | getSeparateSpecularColorMode () const |
void | setSeparateSpecularColorMode (bool m=true) |
bool | getLightModelLocalViewerMode () const |
void | setLightModelLocalViewerMode (bool m=true) |
CoordSystem3x3 & | manipViewCoordSystem () |
double | getDepthOfRotation () const |
void | setDepthOfRotation (double d) |
Classes | |
struct | Hit |
struct | ShapeCache |
Definition at line 36 of file view.H.
|
Attempt to bind the viewpoint with the specified name.
Definition at line 114 of file view.C. References Archon::Utilities::Ref< T >::get(), and n. Referenced by resetViewpoint(), and Viewer(). |
|
Definition at line 104 of file view.H. Referenced by Archon::Console3d::viewScene(). |
|
Definition at line 98 of file view.H. Referenced by Archon::Console3d::viewScene(). |
|
|
This requires that you pass the same 'initialViewpointName' and 'defaultViewpoint' as you did to the constructor. Definition at line 1263 of file view.C. References bindViewpoint(), and Archon::Utilities::Ref< T >::get(). Referenced by Archon::Console3d::ViewState::resetViewpoint(). |
|
Use this method for convetional 2-D mouse. Only call this method when the position of the mouse changes. Definition at line 1293 of file view.C. Referenced by Archon::Console3d::viewScene(). |