|
Public Types |
| enum | STEREOVIEW { STEREOVIEW_None,
STEREOVIEW_Left,
STEREOVIEW_Right
} |
Public Member Functions |
| bool | CalculateParameters (const DRECT2D &screenrect) |
| void | Clear () |
| void | ClearModelToWorld () |
| bool | ClipSegment (FPOINT3D &pts, FPOINT3D &pte) |
| float | GetAzimuth () const |
| float | GetBaseElevation () const |
| const FPOINT3D & | GetDirection () const |
| float | GetElevation () const |
| float | GetFieldOfViewAngle () const |
| const DRECT3D & | GetFrustum () const |
| const FPOINT3D & | GetLookAt () const |
| const TRANS3D & | GetModelToScreen () const |
| const TRANS3D & | GetModelToUnitCube () const |
| const TRANS3D & | GetModelToView () const |
| const TRANS3D & | GetModelToWorld () const |
| float | GetParallelProjectionDistance () const |
| double | GetPixelSizeInMeters () const |
| float | GetRoll () const |
| const DRECT2D & | GetScreenRect () const |
| STEREOVIEW | GetStereoView () const |
| float | GetSunAzimuthAngle () const |
| float | GetSunElevationAngle () const |
| const TRANS3D & | GetUnitCubeToScreen () const |
| const FPOINT3D & | GetUp () const |
| FPOINT3D | GetViewer () const |
| const TRANS3D & | GetViewToScreen () const |
| const TRANS3D & | GetViewToUnitCube () const |
| const TRANS3D & | GetWorldToScreen () const |
| const TRANS3D & | GetWorldToUnitCube () const |
| const TRANS3D & | GetWorldToView () const |
| bool | IsCalculated () const |
| bool | IsPerspective () const |
| bool | IsRectangleOverlapped (const DRECT3D &rect) const |
| bool | IsSegmentOverlapped (const FPOINT3D &pts, const FPOINT3D &pte) const |
| bool | IsSphereOverlapped (const FPOINT3D ¢er, const float radiussquared=0.0f) const |
| bool | IsStereo () const |
| bool | IsTriangleOverlapped (const FPOINT3D &pt1, const FPOINT3D &pt2, const FPOINT3D &pt3) const |
| SCENE3D & | operator= (const SCENE3D &rhs) |
| void | PrintToFile (const char *filename, const char *mode) |
| | SCENE3D (const float FieldOfViewAngle=45) |
| void | SetAzimuth (const float azimuth, const bool recalculate=true) |
| void | SetBaseElevation (const float BaseElevation) |
| void | SetElevation (const float elevation) |
| void | SetExtents (DOUBLE_ARRAY< DRECT3D > &extents) |
| void | SetFieldOfViewAngle (const float FieldOfViewAngle) |
| void | SetFrustum (const DRECT2D &frustum) |
| void | SetLookAt (const FPOINT3D &lookAt) |
| void | SetModelToWorld (const TRANS3D &ModelToWorld) |
| void | SetMonitorSeparation (const double monitor) |
| void | SetNearFarPlanes (const double nearplane, const double farplane, const bool use=false) |
| void | SetOpticalSeparation (const double optical) |
| void | SetParallelProjectionDistance (const float distance) |
| void | SetPerspective (const bool isPerspective) |
| void | SetRoll (const float roll, const bool recalculate=true) |
| void | SetStereo (const bool isStereo) |
| void | SetStereoDistance (const double distance) |
| void | SetStereoMode (const STEREOMODE mode) |
| void | SetStereoScale (const double scale) |
| void | SetStereoView (const STEREOVIEW stereoview) |
| void | SetSunAzimuthAngle (const float SunAzimuthAngle) |
| void | SetSunElevationAngle (const float SunElevationAngle) |
| void | SetViewer (const FPOINT3D &viewer) |
| void | UpdateAzimuth (const float update) |
| void | UpdateElevation (const float update) |
| void | UpdateRoll (const float update) |
| void | ViewerMoveAlongDirection (const float distance) |
| void | ViewerUpdateZ (const float distance) |
| | ~SCENE3D () |
Private Types |
| enum | INDEX { INDEX_Left = 0,
INDEX_Center = 1,
INDEX_Right = 2,
INDEX_Count = 3
} |
All angles are in degrees; All distances are in meters; All points are in orthogonal coordinate system