com.visioglobe.libVisioDevKit
Class VgIViewPoint

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

public class VgIViewPoint
extends java.lang.Object

This structure encapsulates a camera's viewpoint parameters.


Field Summary
protected  boolean swigCMemOwn
           
 
Constructor Summary
VgIViewPoint()
           
VgIViewPoint(long cPtr, boolean cMemoryOwn)
           
VgIViewPoint(VgIViewPoint pOther)
           
 
Method Summary
 void delete()
           
protected  void finalize()
           
static long getCPtr(VgIViewPoint obj)
           
 double getMHeading()
          The viewpoint heading.
 double getMPitch()
          The viewpoint pitch.
 VgPosition getMPosition()
          The viewpoint position.
 void setMHeading(double value)
          The viewpoint heading.
 void setMPitch(double value)
          The viewpoint pitch.
 void setMPosition(VgPosition value)
          The viewpoint position.
 
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

VgIViewPoint

public VgIViewPoint(long cPtr,
                    boolean cMemoryOwn)

VgIViewPoint

public VgIViewPoint()

VgIViewPoint

public VgIViewPoint(VgIViewPoint pOther)
Method Detail

getCPtr

public static long getCPtr(VgIViewPoint obj)

finalize

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

delete

public void delete()

setMPosition

public void setMPosition(VgPosition value)
The viewpoint position.

Note:
In the 2D or 2.5D maps use case, in order to provide a comfortable point of view, the mZorAltitude component is computed according to the size of the associated POI, the minimum value being 100.0., For example, the viewpoint associated to a big supermarket within a mall might have an altitude of 654.3 whereas the one associated to a small kiosk will have an altitude of 100.0.

getMPosition

public VgPosition getMPosition()
The viewpoint position.

Note:
In the 2D or 2.5D maps use case, in order to provide a comfortable point of view, the mZorAltitude component is computed according to the size of the associated POI, the minimum value being 100.0., For example, the viewpoint associated to a big supermarket within a mall might have an altitude of 654.3 whereas the one associated to a small kiosk will have an altitude of 100.0.

setMHeading

public void setMHeading(double value)
The viewpoint heading.


getMHeading

public double getMHeading()
The viewpoint heading.


setMPitch

public void setMPitch(double value)
The viewpoint pitch.

Note:
In the 2D or 2.5D maps use case, it is usually set to -90.0 degrees to define a vertical, downward view.

getMPitch

public double getMPitch()
The viewpoint pitch.

Note:
In the 2D or 2.5D maps use case, it is usually set to -90.0 degrees to define a vertical, downward view.

VisioDevKit 2.0, Visioglobe® 2013