public class TLcdKML223DModel extends TLcdKML22AbstractGeometry
OGC KML Specification description:
This element can be used wherever the following element is referenced: -kml:AbstractGeometryGroup Specifies the location and orientation of a textured 3D object resource. The structure and appearance of the textured 3D object are not defined in this specification. A local earth-fixed frame (X-Y-Z) is defined as follows. The Z'-axis is defined by the local surface normal (local to the tangent plane at the location point), the Y'-axis is defined by the intersection of the meridian plane defined by the longitude of the location point, and the tangent plane, and the X'-axis is chosen so that X'-Y'- Z' form a right handed orthogonal frame. A model-fixed frame (X-Y-Z) is defined as follows. The Y-axis is +ve through the front of the model. The Z-axis is +ve through the top of the model and the X-axis is chosen so that X-Y-Z forms a right handed orthogonal frame. The orientation of the model is then defined by the orientation of the model-fixed frame (X- Y-Z) relative to the local earth-fixed frame (X-Y-Z) as follows: Roll - rotation about the model Y-axis Tilt - rotation about the model X-axis Heading - Rotation about the model Z-axis kml:Model: - shall contain kml:Link and kml:Location elements; - shall contain a kml:ResourceMap element that has a kml:Alias element for each texture file, if the target resource has texture files; outside of an update context, that is when not a descendant of kml:Update.
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
ABSTRACT_GEOMETRY_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to the
AbstractGeometryObjectExtensionGroup element. |
static TLcdDataProperty |
ABSTRACT_GEOMETRY_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to the
AbstractGeometrySimpleExtensionGroup element. |
static TLcdDataProperty |
ALTITUDE_MODE_PROPERTY
Data property that maps to the
altitudeModeGroup element. |
static TLcdDataProperty |
LINK_PROPERTY
Data property that maps to the
Link element. |
static TLcdDataProperty |
LOCATION_PROPERTY
Data property that maps to the
Location element. |
static TLcdDataProperty |
MODEL_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to the
ModelObjectExtensionGroup element. |
static TLcdDataProperty |
MODEL_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to the
ModelSimpleExtensionGroup element. |
static TLcdDataProperty |
ORIENTATION_KML_PROPERTY
Data property that maps to the
Orientation element. |
static TLcdDataProperty |
RESOURCE_MAP_PROPERTY
Data property that maps to the
ResourceMap element. |
static TLcdDataProperty |
SCALE_PROPERTY
Data property that maps to the
Scale element. |
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY
Constructor and Description |
---|
TLcdKML223DModel(TLcdDataType aType)
Creates a new
TLcdKML223DModel with a custom TLcdDataType . |
Modifier and Type | Method and Description |
---|---|
ELcdKML22AltitudeMode |
getAltitudeMode()
Returns the value of the property that maps to the
altitudeModeGroup element. |
ILcdBounds |
getBounds()
Returns the
ILcdBounds by which the geometry of this ILcdBounded object
is bounded. |
ILcdPoint |
getFocusPoint()
Returns the focus point of this
ILcdShape . |
TLcdKML22Link |
getLink()
Returns the value of the property that maps to the
Link element. |
TLcdKML22Location |
getLocation()
Returns the value of the property that maps to the
Location element. |
TLcdKML22ResourceMap |
getResourceMap()
Returns the value of the property that maps to the
ResourceMap element. |
TLcdKML22Scale |
getScale()
Returns the value of the property that maps to the
Scale element. |
void |
setAltitudeMode(ELcdKML22AltitudeMode aValue)
Sets the value of the property that maps to the
altitudeModeGroup element. |
void |
setLink(TLcdKML22Link aValue)
Sets the value of the property that maps to the
Link element. |
void |
setLocation(TLcdKML22Location aValue)
Sets the value of the property that maps to the
Location element. |
void |
setResourceMap(TLcdKML22ResourceMap aValue)
Sets the value of the property that maps to the
ResourceMap element. |
void |
setScale(TLcdKML22Scale aValue)
Sets the value of the property that maps to the
Scale element. |
clearCache, clone, contains2D, contains2D, contains3D, contains3D, getCachedObject, insertIntoCache, move2D, move2D, move3D, move3D, removeCachedObject, translate2D, translate3D
getId, getTargetId, setId, setTargetId
clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone
public static final TLcdDataProperty ALTITUDE_MODE_PROPERTY
altitudeModeGroup
element.
The possible values for this property are instances of ELcdKML22AltitudeMode
.public static final TLcdDataProperty LOCATION_PROPERTY
Location
element.
The possible values for this property are instances of TLcdKML22Location
.public static final TLcdDataProperty ORIENTATION_KML_PROPERTY
Orientation
element.
The possible values for this property are instances of TLcdKML22Orientation
.public static final TLcdDataProperty SCALE_PROPERTY
Scale
element.
The possible values for this property are instances of TLcdKML22Scale
.public static final TLcdDataProperty LINK_PROPERTY
Link
element.
The possible values for this property are instances of TLcdKML22Link
.public static final TLcdDataProperty RESOURCE_MAP_PROPERTY
ResourceMap
element.
The possible values for this property are instances of TLcdKML22ResourceMap
.public static final TLcdDataProperty MODEL_SIMPLE_EXTENSION_GROUP_PROPERTY
ModelSimpleExtensionGroup
element.
The possible values for this property are instances of List<String>
.public static final TLcdDataProperty MODEL_OBJECT_EXTENSION_GROUP_PROPERTY
ModelObjectExtensionGroup
element.
The possible values for this property are instances of List<TLcdKML22AbstractObject>
.public static final TLcdDataProperty ABSTRACT_GEOMETRY_SIMPLE_EXTENSION_GROUP_PROPERTY
AbstractGeometrySimpleExtensionGroup
element.
The possible values for this property are instances of List<String>
.public static final TLcdDataProperty ABSTRACT_GEOMETRY_OBJECT_EXTENSION_GROUP_PROPERTY
AbstractGeometryObjectExtensionGroup
element.
The possible values for this property are instances of List<TLcdKML22AbstractObject>
.public TLcdKML223DModel(TLcdDataType aType)
TLcdKML223DModel
with a custom TLcdDataType
.aType
- a custom TLcdDataType
public ILcdPoint getFocusPoint()
ILcdShape
ILcdShape
.getFocusPoint
in interface ILcdShape
getFocusPoint
in class TLcdKML22AbstractGeometry
ILcdShape
.public ILcdBounds getBounds()
ILcdBounded
ILcdBounds
by which the geometry of this ILcdBounded
object
is bounded.
If the geometry does not allow retrieving valid bounds (for example a polyline with 0 points)
the return value is unspecified.
It is highly recommended to return an undefined
bounds.
You can create undefined bounds using the default constructors
of TLcdLonLatBounds
or TLcdXYBounds
.
getBounds
in interface ILcdBounded
getBounds
in class TLcdKML22AbstractGeometry
ILcdBounds
by which the geometry of this ILcdBounded
object
is bounded.public ELcdKML22AltitudeMode getAltitudeMode()
altitudeModeGroup
element.ALTITUDE_MODE_PROPERTY
property.public void setAltitudeMode(ELcdKML22AltitudeMode aValue)
altitudeModeGroup
element.aValue
- the value to set for the ALTITUDE_MODE_PROPERTY
property.public TLcdKML22Location getLocation()
Location
element.LOCATION_PROPERTY
property.public void setLocation(TLcdKML22Location aValue)
Location
element.aValue
- the value to set for the LOCATION_PROPERTY
property.public TLcdKML22Scale getScale()
Scale
element.SCALE_PROPERTY
property.public void setScale(TLcdKML22Scale aValue)
Scale
element.aValue
- the value to set for the SCALE_PROPERTY
property.public TLcdKML22Link getLink()
Link
element.LINK_PROPERTY
property.public void setLink(TLcdKML22Link aValue)
Link
element.aValue
- the value to set for the LINK_PROPERTY
property.public TLcdKML22ResourceMap getResourceMap()
ResourceMap
element.RESOURCE_MAP_PROPERTY
property.public void setResourceMap(TLcdKML22ResourceMap aValue)
ResourceMap
element.aValue
- the value to set for the RESOURCE_MAP_PROPERTY
property.