#include <gre/viewpoint3d.h>
Public Member Functions | |
| VIEWPOINT3D (const VIEWPOINT3D &rhs) | |
| VIEWPOINT3D (GRE::GROUP *group, GRE::VIEW *view=0) | |
| ~VIEWPOINT3D () | |
| bool | Calculate () |
| void | CalculateAutoCenter () |
| void | CalculateCenterFromViewPoint () |
| void | CalculateCenterPoint () |
| void | CalculateParameters () |
| void | CalculatePoint (const bool center) |
| void | CalculateTransVD (MAT3X3, MAT3X3) const |
| void | CalculateTransVRCToWorld (TRANS3D &trans) const |
| void | CalculateUsedRect (double aspect) |
| void | CalculateUsedRect (const DRECT2D &, const DPOINT2D &) |
| void | CalculateViewDirFromAzimAngle (double angle) |
| double | GetAutoCenterDistance () const |
| double | GetBackClipDistance () const |
| double | GetBaseElevation () const |
| const DPOINT3D & | GetCenterPoint () const |
| const DRECT2D & | GetDestRect () const |
| double | GetFrontClipDistance () const |
| GRE::GROUP * | GetGroup () const |
| double | GetHeading (bool FromNorth=true) const |
| double | GetParallelProjDistance () const |
| double | GetPitch () const |
| const GRE::SCENE3D & | GetScene3D () const |
| GRE::SCENE3D & | GetScene3D () |
| double | GetStereoDepthScale () const |
| double | GetStereoDistance0 () const |
| double | GetSunAzimuthAngle () |
| double | GetSunElevationAngle () |
| GRE::VIEW * | GetView () const |
| double | GetViewAngle () const |
| const DPOINT3D & | GetViewDirection () const |
| double | GetViewPlaneDistance () const |
| const DPOINT3D & | GetViewPosition () const |
| const DRECT2D & | GetViewRectUsed () const |
| const DPOINT3D & | GetViewUp () const |
| const double | GetZScale () const |
| void | IniRead (INIHANDLE handle, const char *inigroup) |
| void | IniWrite (INIHANDLE handle, const char *inigroup) |
| bool | IsAutoCentered () const |
| bool | IsCalculated () const |
| bool | IsClipBackPlane () const |
| bool | IsPerspective () const |
| bool | IsStereo () const |
| VIEWPOINT3D & | operator= (const VIEWPOINT3D &rhs) |
| void | SetAutoCenter (bool AutoCenter) |
| void | SetAutoCenterAzimAngle (double AzimAngle) |
| void | SetAutoCenterDistance (double Distance) |
| void | SetAutoCenterElevAngle (double ElevAngle) |
| void | SetAutoCenterPoint (const DPOINT3D &point) |
| void | SetAutoCenterPoint (const DPOINT2D &point) |
| void | SetBackClipDistance (double BackClipDist) |
| void | SetBaseElevation (double BaseElevation) |
| void | SetClipBackPlane (bool ClipBackPlane) |
| void | SetDestRect (const DRECT2D &DestRect) |
| void | SetFrontClipDistance (double FrontClipDist) |
| void | SetHeading (double Heading, bool FromNorth=true) |
| void | SetParallelProjDistance (double ParallelProjDist) |
| void | SetPerspective (bool isPerspective=true) |
| void | SetPitch (double Pitch) |
| void | SetStereo (bool isStereo) |
| void | SetStereoDepthScale (double StereoDepthScale) |
| void | SetStereoDistance0 (double StereoDistance0) |
| void | SetSunAzimuthAngle (double SunAzimAngle) |
| void | SetSunElevationAngle (double SunElevAngle) |
| void | SetViewDirection (const DPOINT3D &ViewDir) |
| void | SetViewNeedsRedraw () |
| void | SetViewPlaneDistance (double ViewPlaneDistance) |
| void | SetViewPosition (const DPOINT3D &ViewPos) |
| void | SetViewPosition (const DPOINT2D &ViewPos) |
| void | SetViewPositionZ (double z) |
| void | SetViewRectUsed (const DRECT2D &ViewRectUsed) |
| void | SetViewUp (const DPOINT3D &ViewUp) |
| void | SetZScale (double ZScale) |
Static Public Member Functions | |
| static ERRVALUE | SerializerCB (SERIALIZER &serializer, const SERIALIZERITEM *item, void *pvvp, SERIALIZERITEM::ACTION action) |
| static void | SMLClassInstall (SML::CONTEXT *context) |
| GRE::VIEWPOINT3D::VIEWPOINT3D | ( | GRE::GROUP * | group, | |
| GRE::VIEW * | view = 0 | |||
| ) | [explicit] |
Constructor.
| GRE::VIEWPOINT3D::VIEWPOINT3D | ( | const VIEWPOINT3D & | rhs | ) |
Copy constructor.
| GRE::VIEWPOINT3D::~VIEWPOINT3D | ( | ) |
Destructor.
| bool GRE::VIEWPOINT3D::Calculate | ( | ) |
| void GRE::VIEWPOINT3D::CalculateAutoCenter | ( | ) |
| void GRE::VIEWPOINT3D::CalculateCenterFromViewPoint | ( | ) |
| void GRE::VIEWPOINT3D::CalculateCenterPoint | ( | ) |
| void GRE::VIEWPOINT3D::CalculateParameters | ( | ) |
| void GRE::VIEWPOINT3D::CalculatePoint | ( | const bool | center | ) |
| center | if center is true - calculate center point, othewise - viewpoint |
| void GRE::VIEWPOINT3D::CalculateTransVRCToWorld | ( | TRANS3D & | trans | ) | const |
| void GRE::VIEWPOINT3D::CalculateUsedRect | ( | double | aspect | ) |
| aspect | Width/Height aspect |
| void GRE::VIEWPOINT3D::CalculateViewDirFromAzimAngle | ( | double | angle | ) |
| double GRE::VIEWPOINT3D::GetAutoCenterDistance | ( | ) | const |
Get distance to center of view in auto-center mode.
| double GRE::VIEWPOINT3D::GetBackClipDistance | ( | ) | const |
Retrieve background clipping distance.
| double GRE::VIEWPOINT3D::GetBaseElevation | ( | ) | const |
Retrieve base elevation.
| const DPOINT3D& GRE::VIEWPOINT3D::GetCenterPoint | ( | ) | const |
Retrieve center point.
| const DRECT2D& GRE::VIEWPOINT3D::GetDestRect | ( | ) | const |
Retrieve destination rectangle.
| double GRE::VIEWPOINT3D::GetFrontClipDistance | ( | ) | const |
Get foreground clipping distance.
| GRE::GROUP* GRE::VIEWPOINT3D::GetGroup | ( | ) | const |
Get group associated with viewpoint.
| double GRE::VIEWPOINT3D::GetHeading | ( | bool | FromNorth = true |
) | const |
Get heading relative to north or projection.
| double GRE::VIEWPOINT3D::GetParallelProjDistance | ( | ) | const |
| double GRE::VIEWPOINT3D::GetPitch | ( | ) | const |
Get pitch angle for current viewpoint.
| const GRE::SCENE3D& GRE::VIEWPOINT3D::GetScene3D | ( | ) | const |
| GRE::SCENE3D& GRE::VIEWPOINT3D::GetScene3D | ( | ) |
| double GRE::VIEWPOINT3D::GetStereoDepthScale | ( | ) | const |
Get roll angle for current viewpoint.
| double GRE::VIEWPOINT3D::GetStereoDistance0 | ( | ) | const |
| double GRE::VIEWPOINT3D::GetSunAzimuthAngle | ( | ) |
| double GRE::VIEWPOINT3D::GetSunElevationAngle | ( | ) |
| GRE::VIEW* GRE::VIEWPOINT3D::GetView | ( | ) | const |
| double GRE::VIEWPOINT3D::GetViewAngle | ( | ) | const |
| const DPOINT3D& GRE::VIEWPOINT3D::GetViewDirection | ( | ) | const |
| double GRE::VIEWPOINT3D::GetViewPlaneDistance | ( | ) | const |
| const DPOINT3D& GRE::VIEWPOINT3D::GetViewPosition | ( | ) | const |
| const DRECT2D& GRE::VIEWPOINT3D::GetViewRectUsed | ( | ) | const |
| const DPOINT3D& GRE::VIEWPOINT3D::GetViewUp | ( | ) | const |
| const double GRE::VIEWPOINT3D::GetZScale | ( | ) | const |
| void GRE::VIEWPOINT3D::IniRead | ( | INIHANDLE | handle, | |
| const char * | inigroup | |||
| ) |
| void GRE::VIEWPOINT3D::IniWrite | ( | INIHANDLE | handle, | |
| const char * | inigroup | |||
| ) |
| bool GRE::VIEWPOINT3D::IsAutoCentered | ( | ) | const |
| bool GRE::VIEWPOINT3D::IsCalculated | ( | ) | const |
| bool GRE::VIEWPOINT3D::IsClipBackPlane | ( | ) | const |
| bool GRE::VIEWPOINT3D::IsPerspective | ( | ) | const |
| bool GRE::VIEWPOINT3D::IsStereo | ( | ) | const |
| VIEWPOINT3D& GRE::VIEWPOINT3D::operator= | ( | const VIEWPOINT3D & | rhs | ) |
Assignment.
| static ERRVALUE GRE::VIEWPOINT3D::SerializerCB | ( | SERIALIZER & | serializer, | |
| const SERIALIZERITEM * | item, | |||
| void * | pvvp, | |||
| SERIALIZERITEM::ACTION | action | |||
| ) | [static] |
| void GRE::VIEWPOINT3D::SetAutoCenter | ( | bool | AutoCenter | ) |
| void GRE::VIEWPOINT3D::SetAutoCenterAzimAngle | ( | double | AzimAngle | ) |
| void GRE::VIEWPOINT3D::SetAutoCenterDistance | ( | double | Distance | ) |
| void GRE::VIEWPOINT3D::SetAutoCenterElevAngle | ( | double | ElevAngle | ) |
| void GRE::VIEWPOINT3D::SetAutoCenterPoint | ( | const DPOINT3D & | point | ) |
| void GRE::VIEWPOINT3D::SetAutoCenterPoint | ( | const DPOINT2D & | point | ) |
| void GRE::VIEWPOINT3D::SetBackClipDistance | ( | double | BackClipDist | ) |
| void GRE::VIEWPOINT3D::SetBaseElevation | ( | double | BaseElevation | ) |
| void GRE::VIEWPOINT3D::SetClipBackPlane | ( | bool | ClipBackPlane | ) |
| void GRE::VIEWPOINT3D::SetDestRect | ( | const DRECT2D & | DestRect | ) |
| void GRE::VIEWPOINT3D::SetFrontClipDistance | ( | double | FrontClipDist | ) |
| void GRE::VIEWPOINT3D::SetHeading | ( | double | Heading, | |
| bool | FromNorth = true | |||
| ) |
| void GRE::VIEWPOINT3D::SetParallelProjDistance | ( | double | ParallelProjDist | ) |
| void GRE::VIEWPOINT3D::SetPerspective | ( | bool | isPerspective = true |
) |
| void GRE::VIEWPOINT3D::SetPitch | ( | double | Pitch | ) |
| void GRE::VIEWPOINT3D::SetStereo | ( | bool | isStereo | ) |
| void GRE::VIEWPOINT3D::SetStereoDepthScale | ( | double | StereoDepthScale | ) |
| void GRE::VIEWPOINT3D::SetStereoDistance0 | ( | double | StereoDistance0 | ) |
| void GRE::VIEWPOINT3D::SetSunAzimuthAngle | ( | double | SunAzimAngle | ) |
| void GRE::VIEWPOINT3D::SetSunElevationAngle | ( | double | SunElevAngle | ) |
| void GRE::VIEWPOINT3D::SetViewDirection | ( | const DPOINT3D & | ViewDir | ) |
| void GRE::VIEWPOINT3D::SetViewNeedsRedraw | ( | ) |
| void GRE::VIEWPOINT3D::SetViewPlaneDistance | ( | double | ViewPlaneDistance | ) |
| void GRE::VIEWPOINT3D::SetViewPosition | ( | const DPOINT3D & | ViewPos | ) |
| void GRE::VIEWPOINT3D::SetViewPosition | ( | const DPOINT2D & | ViewPos | ) |
| void GRE::VIEWPOINT3D::SetViewPositionZ | ( | double | z | ) |
| void GRE::VIEWPOINT3D::SetViewRectUsed | ( | const DRECT2D & | ViewRectUsed | ) |
| void GRE::VIEWPOINT3D::SetViewUp | ( | const DPOINT3D & | ViewUp | ) |
| void GRE::VIEWPOINT3D::SetZScale | ( | double | ZScale | ) |
| static void GRE::VIEWPOINT3D::SMLClassInstall | ( | SML::CONTEXT * | context | ) | [static] |
1.6.1