public class Orientation extends AbstractObject implements 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 List<AbstractObject> |
orientationObjectExtension
|
protected List<Object> |
orientationSimpleExtension |
protected double |
roll
|
protected double |
tilt
|
id, objectSimpleExtension, targetId| Constructor and Description |
|---|
Orientation() |
| Modifier and Type | Method and Description |
|---|---|
Orientation |
addToObjectSimpleExtension(Object objectSimpleExtension)
add a value to the objectSimpleExtension property collection
|
Orientation |
addToOrientationObjectExtension(AbstractObject orientationObjectExtension)
add a value to the orientationObjectExtension property collection
|
Orientation |
addToOrientationSimpleExtension(Object orientationSimpleExtension)
add a value to the orientationSimpleExtension property collection
|
Orientation |
clone() |
boolean |
equals(Object obj) |
double |
getHeading() |
List<AbstractObject> |
getOrientationObjectExtension() |
List<Object> |
getOrientationSimpleExtension() |
double |
getRoll() |
double |
getTilt() |
int |
hashCode() |
void |
setHeading(double value) |
void |
setObjectSimpleExtension(List<Object> objectSimpleExtension) |
void |
setOrientationObjectExtension(List<AbstractObject> orientationObjectExtension) |
void |
setOrientationSimpleExtension(List<Object> orientationSimpleExtension) |
void |
setRoll(double value) |
void |
setTilt(double value) |
Orientation |
withHeading(double heading)
fluent setter
|
Orientation |
withId(String id)
fluent setter
|
Orientation |
withObjectSimpleExtension(List<Object> objectSimpleExtension)
fluent setter
|
Orientation |
withOrientationObjectExtension(List<AbstractObject> orientationObjectExtension)
fluent setter
|
Orientation |
withOrientationSimpleExtension(List<Object> orientationSimpleExtension)
fluent setter
|
Orientation |
withRoll(double roll)
fluent setter
|
Orientation |
withTargetId(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 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 List<Object> getOrientationSimpleExtension()
orientationSimpleExtensionpublic List<AbstractObject> getOrientationObjectExtension()
orientationObjectExtensionpublic int hashCode()
hashCode in class AbstractObjectpublic boolean equals(Object obj)
equals in class AbstractObjectpublic void setOrientationSimpleExtension(List<Object> orientationSimpleExtension)
orientationSimpleExtension - orientationSimpleExtensionpublic Orientation addToOrientationSimpleExtension(Object orientationSimpleExtension)
orientationSimpleExtension - Objects of the following type are allowed in the list: Objectpublic void setOrientationObjectExtension(List<AbstractObject> orientationObjectExtension)
orientationObjectExtension - orientationObjectExtensionpublic Orientation addToOrientationObjectExtension(AbstractObject orientationObjectExtension)
orientationObjectExtension - Objects of the following type are allowed in the list: AbstractObjectpublic void setObjectSimpleExtension(List<Object> objectSimpleExtension)
setObjectSimpleExtension in class AbstractObjectobjectSimpleExtensionpublic Orientation addToObjectSimpleExtension(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(List<Object> orientationSimpleExtension)
orientationSimpleExtension - required parameter#setOrientationSimpleExtension(Listpublic Orientation withOrientationObjectExtension(List<AbstractObject> orientationObjectExtension)
orientationObjectExtension - required parameter#setOrientationObjectExtension(List) public Orientation withObjectSimpleExtension(List<Object> objectSimpleExtension)
AbstractObjectwithObjectSimpleExtension in class AbstractObjectobjectSimpleExtension - required parameter#setObjectSimpleExtension(Listpublic Orientation withId(String id)
AbstractObjectwithId in class AbstractObjectid - required parameterAbstractObject.setId(String)public Orientation withTargetId(String targetId)
AbstractObjectwithTargetId in class AbstractObjecttargetId - required parameterAbstractObject.setTargetId(String)public Orientation clone()
clone in class AbstractObjectCopyright © 2014 Micromata GmbH. All rights reserved.