com.visioglobe.libVisioDevKit
Class VgOrientation

java.lang.Object
  extended by com.visioglobe.libVisioDevKit.VgOrientation

public class VgOrientation
extends java.lang.Object

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].


Field Summary
protected  boolean swigCMemOwn
           
 
Constructor Summary
VgOrientation()
           
VgOrientation(float pAzimuth, float pPitch, float pRoll)
           
VgOrientation(long cPtr, boolean cMemoryOwn)
           
VgOrientation(VgOrientation pOther)
           
 
Method Summary
 void delete()
           
protected  void finalize()
           
static long getCPtr(VgOrientation obj)
           
 float getMAzimuth()
          Azimuth value, in degrees.
 float getMPitch()
          Pitch value, in degrees.
 float getMRoll()
          Roll value, in degrees.
 void setMAzimuth(float value)
          Azimuth value, in degrees.
 void setMPitch(float value)
          Pitch value, in degrees.
 void setMRoll(float value)
          Roll value, in degrees.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

swigCMemOwn

protected boolean swigCMemOwn
Constructor Detail

VgOrientation

public VgOrientation(long cPtr,
                     boolean cMemoryOwn)

VgOrientation

public VgOrientation()

VgOrientation

public VgOrientation(VgOrientation pOther)

VgOrientation

public VgOrientation(float pAzimuth,
                     float pPitch,
                     float pRoll)
Method Detail

getCPtr

public static long getCPtr(VgOrientation obj)

finalize

protected void finalize()
Overrides:
finalize in class java.lang.Object

delete

public void delete()

setMAzimuth

public void setMAzimuth(float value)
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.


getMAzimuth

public float getMAzimuth()
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.


setMPitch

public void setMPitch(float value)
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.


getMPitch

public float getMPitch()
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.


setMRoll

public void setMRoll(float value)
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.


getMRoll

public float getMRoll()
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.


VisioDevKit 2.0, Visioglobe® 2013