Public Member Functions | Public Attributes

VgEngine::VgOrientation Struct Reference

This class describes the 3 values defining a 3D orientation azimuth, pitch, roll. More...

List of all members.

Public Member Functions

 VgOrientation ()
 VgOrientation (const VgOrientation &pOther)
 VgOrientation (float pAzimuth, float pPitch, float pRoll)

Public Attributes

float mAzimuth
 Azimuth value, in degrees.
float mPitch
 Pitch value, in degrees.
float mRoll
 Roll value, in degrees.

Detailed Description

This class describes the 3 values defining a 3D orientation azimuth, pitch, roll.

Orientations with pitch over 90 (or below -90) can be specified, but when you get them back from the engine, the pitch will always be within [-90,90].

Version:
2.0

Constructor & Destructor Documentation

VgEngine::VgOrientation::VgOrientation (  ) [inline]
VgEngine::VgOrientation::VgOrientation ( const VgOrientation pOther ) [inline]
VgEngine::VgOrientation::VgOrientation ( float  pAzimuth,
float  pPitch,
float  pRoll 
) [inline]

Member Data Documentation

Azimuth value, in degrees.

Valid values are between 0 and 359, where a value of 0 indicates a North heading, 90 indicates East heading, 180 indicates South heading, and 270 indicates a West heading.

Pitch value, in degrees.

Valid values are between -90 and 90, where a value of -90 indicates facing towards the ground, 0 indicates facing towards the horizon and 90 indicates facing towards the zenith.

Roll value, in degrees.

Valid values are between -90 and 90, where a value of -90 indicates rolling towards the right hand side, 0 indicates no rolling, and 90 indicates rolling towards the left hand side.


The documentation for this struct was generated from the following file:
VisioDevKit 2.0, Visioglobe® 2013