public class Orientation extends AbstractObject implements java.lang.Cloneable
Describes rotation of a 3D model's coordinate system to position the object in Google
Earth. See diagram below.
| Modifier and Type | Field and Description |
|---|---|
protected double |
heading
|
protected java.util.List<AbstractObject> |
orientationObjectExtension
|
protected java.util.List<java.lang.Object> |
orientationSimpleExtension |
protected double |
roll
|
protected double |
tilt
|
id, objectSimpleExtension, targetId| Constructor and Description |
|---|
Orientation() |
| Modifier and Type | Method and Description |
|---|---|
Orientation |
addToObjectSimpleExtension(java.lang.Object objectSimpleExtension)
add a value to the objectSimpleExtension property collection
|
Orientation |
addToOrientationObjectExtension(AbstractObject orientationObjectExtension)
add a value to the orientationObjectExtension property collection
|
Orientation |
addToOrientationSimpleExtension(java.lang.Object orientationSimpleExtension)
add a value to the orientationSimpleExtension property collection
|
Orientation |
clone() |
boolean |
equals(java.lang.Object obj) |
double |
getHeading() |
java.util.List<AbstractObject> |
getOrientationObjectExtension() |
java.util.List<java.lang.Object> |
getOrientationSimpleExtension() |
double |
getRoll() |
double |
getTilt() |
int |
hashCode() |
void |
setHeading(double value) |
void |
setObjectSimpleExtension(java.util.List<java.lang.Object> objectSimpleExtension) |
void |
setOrientationObjectExtension(java.util.List<AbstractObject> orientationObjectExtension) |
void |
setOrientationSimpleExtension(java.util.List<java.lang.Object> orientationSimpleExtension) |
void |
setRoll(double value) |
void |
setTilt(double value) |
Orientation |
withHeading(double heading)
fluent setter
|
Orientation |
withId(java.lang.String id)
fluent setter
|
Orientation |
withObjectSimpleExtension(java.util.List<java.lang.Object> objectSimpleExtension)
fluent setter
|
Orientation |
withOrientationObjectExtension(java.util.List<AbstractObject> orientationObjectExtension)
fluent setter
|
Orientation |
withOrientationSimpleExtension(java.util.List<java.lang.Object> orientationSimpleExtension)
fluent setter
|
Orientation |
withRoll(double roll)
fluent setter
|
Orientation |
withTargetId(java.lang.String targetId)
fluent setter
|
Orientation |
withTilt(double tilt)
fluent setter
|
getId, getObjectSimpleExtension, getTargetId, setId, setTargetIdprotected double heading
Direction (azimuth) of the camera, in degrees. Default=0 (true North). (See diagram.) Values range from 0 to 360 degrees.
Direction (that is, North, South, East, West), in degrees. Default=0 (North). (See diagram below.) Values range from 0 to 360 degrees.
Direction (that is, North, South, East, West), in degrees. Default=0 (North). (See diagram.) Values range from 0 to 360 degrees.
Rotation about the z axis (normal to the Earth's surface). A value of 0 (the default) equals North. A positive rotation is clockwise around the z axis and specified in degrees from 0 to 360.
protected double tilt
Angle between the direction of the LookAt position and the normal to the surface
of the earth. (See diagram below.) Values range from 0 to 90 degrees. Values for
Rotation about the x axis. A positive rotation is clockwise around the x axis and specified in degrees from 0 to 360.
Rotation, in degrees, of the camera around the X axis. A value of 0 indicates that
the view is aimed straight down toward the earth (the most common case). A value
for 90 for
protected double roll
Rotation about the y axis. A positive rotation is clockwise around the y axis and specified in degrees from 0 to 360.
Rotation, in degrees, of the camera around the Z axis. Values range from −180 to +180 degrees.
This diagram illustrates the typical orientation of a model's axes:
protected java.util.List<java.lang.Object> orientationSimpleExtension
protected java.util.List<AbstractObject> orientationObjectExtension
public double getHeading()
Doubleheadingpublic void setHeading(double value)
value - allowed object is
Doubleheadingpublic double getTilt()
Doubletiltpublic void setTilt(double value)
value - allowed object is
Doubletiltpublic double getRoll()
Doublerollpublic void setRoll(double value)
value - allowed object is
Doublerollpublic java.util.List<java.lang.Object> getOrientationSimpleExtension()
orientationSimpleExtensionpublic java.util.List<AbstractObject> getOrientationObjectExtension()
orientationObjectExtensionpublic int hashCode()
hashCode in class AbstractObjectpublic boolean equals(java.lang.Object obj)
equals in class AbstractObjectpublic void setOrientationSimpleExtension(java.util.List<java.lang.Object> orientationSimpleExtension)
orientationSimpleExtension - orientationSimpleExtensionpublic Orientation addToOrientationSimpleExtension(java.lang.Object orientationSimpleExtension)
orientationSimpleExtension - Objects of the following type are allowed in the list: Objectpublic void setOrientationObjectExtension(java.util.List<AbstractObject> orientationObjectExtension)
orientationObjectExtension - orientationObjectExtensionpublic Orientation addToOrientationObjectExtension(AbstractObject orientationObjectExtension)
orientationObjectExtension - Objects of the following type are allowed in the list: AbstractObjectpublic void setObjectSimpleExtension(java.util.List<java.lang.Object> objectSimpleExtension)
setObjectSimpleExtension in class AbstractObjectobjectSimpleExtensionpublic Orientation addToObjectSimpleExtension(java.lang.Object objectSimpleExtension)
AbstractObjectaddToObjectSimpleExtension in class AbstractObjectobjectSimpleExtension - Objects of the following type are allowed in the list: Objectpublic Orientation withHeading(double heading)
heading - required parametersetHeading(double)public Orientation withTilt(double tilt)
tilt - required parametersetTilt(double)public Orientation withRoll(double roll)
roll - required parametersetRoll(double)public Orientation withOrientationSimpleExtension(java.util.List<java.lang.Object> orientationSimpleExtension)
orientationSimpleExtension - required parameter#setOrientationSimpleExtension(Listpublic Orientation withOrientationObjectExtension(java.util.List<AbstractObject> orientationObjectExtension)
orientationObjectExtension - required parameter#setOrientationObjectExtension(List) public Orientation withObjectSimpleExtension(java.util.List<java.lang.Object> objectSimpleExtension)
AbstractObjectwithObjectSimpleExtension in class AbstractObjectobjectSimpleExtension - required parameter#setObjectSimpleExtension(Listpublic Orientation withId(java.lang.String id)
AbstractObjectwithId in class AbstractObjectid - required parameterAbstractObject.setId(String)public Orientation withTargetId(java.lang.String targetId)
AbstractObjectwithTargetId in class AbstractObjecttargetId - required parameterAbstractObject.setTargetId(String)public Orientation clone()
clone in class AbstractObjectCopyright © 2014 Micromata GmbH. All Rights Reserved.