STEREOSHIFT Class Reference
Container for stereo "shift" factors.
More...
#include <mi32/stereoshift.h>
List of all members.
Detailed Description
Container for stereo "shift" factors.
Constructor & Destructor Documentation
| STEREOSHIFT::STEREOSHIFT |
( |
|
) |
[inline] |
Member Function Documentation
Calculate left and right points from non-displaced.
- Parameters:
-
| ptBase | Base point in "device" coordinates |
| ptLeft | Left point in device coordinates returned |
| ptRight | Right point in device coordinates returned |
| void STEREOSHIFT::CalcPointLeft |
( |
const DPOINT3D & |
ptBase, |
|
|
DPOINT2D & |
ptDisplaced | |
|
) |
| | const [inline] |
Calculate left view displaced point from non-displaced.
- Parameters:
-
| ptBase | Base point in "device" coordinates |
| ptDisplaced | Displaced point in device coordinates returned |
| void STEREOSHIFT::CalcPointRight |
( |
const DPOINT3D & |
ptBase, |
|
|
DPOINT2D & |
ptDisplaced | |
|
) |
| | const [inline] |
Calculate right view displaced point from non-displaced.
- Parameters:
-
| ptBase | Base point in "device" coordinates |
| ptDisplaced | Displaced point in device coordinates returned |
Calculate left and right polylines from non-displaced.
- Parameters:
-
| plBase | Base polyline in "device" coordinates with appropriate Z value(s) |
| plLeft | Left polyline returned |
| plRight | Right polyline returned |
| void STEREOSHIFT::CalcPolylineSingle |
( |
const POLYLINE & |
plBase, |
|
|
POLYLINE & |
plDisplaced | |
|
) |
| | const |
Calculate single-view displaced polyline from non-displaced for overhead stereo view.
- Parameters:
-
| plBase | Base polyline in "device" coordinates with appropriate Z value(s) |
| plDisplaced | Displaced polyline returned |
| double STEREOSHIFT::CalcShift |
( |
double |
z |
) |
const [inline] |
Calculate shift for specified Z value.
Must multiply result by -1 for left view shift.
| double STEREOSHIFT::GetScale |
( |
|
) |
const [inline] |
Get absolute scaling value.
| STEREOVIEW STEREOSHIFT::GetView |
( |
|
) |
const [inline] |
| double STEREOSHIFT::GetZeroValue |
( |
|
) |
const [inline] |
| void STEREOSHIFT::Invalidate |
( |
|
) |
[inline] |
Invalidate shift factors.
| bool STEREOSHIFT::IsValid |
( |
|
) |
const [inline] |
Determine if shift settings are valid.
| void STEREOSHIFT::Set |
( |
STEREOVIEW |
View, |
|
|
double |
Scale, |
|
|
double |
ZeroValue | |
|
) |
| | |
Set view(s) to shift and scale/zero values.
- Parameters:
-
| View | Which view(s) to shift |
| Scale | Shift scale |
| ZeroValue | Zero-shift value |
The documentation for this class was generated from the following file: