Class TLcdKML223DModel
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.format.kml22.model.TLcdKML22AbstractObject
com.luciad.format.kml22.model.geometry.TLcdKML22AbstractGeometry
com.luciad.format.kml22.model.geometry.TLcdKML223DModel
- All Implemented Interfaces:
ILcdDataObject
,ILcdBounded
,ILcdShape
,ILcd2DEditableShape
,ILcd3DEditableShape
,ILcdCache
,ILcdCloneable
,ILcdDeepCloneable
,Serializable
,Cloneable
Domain class modeling the KML ModelType type.
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.
- Since:
- 10.0
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TLcdDataProperty
Data property that maps to theAbstractGeometryObjectExtensionGroup
element.static final TLcdDataProperty
Data property that maps to theAbstractGeometrySimpleExtensionGroup
element.static final TLcdDataProperty
Data property that maps to thealtitudeModeGroup
element.static final TLcdDataProperty
Data property that maps to theLink
element.static final TLcdDataProperty
Data property that maps to theLocation
element.static final TLcdDataProperty
Data property that maps to theModelObjectExtensionGroup
element.static final TLcdDataProperty
Data property that maps to theModelSimpleExtensionGroup
element.static final TLcdDataProperty
Data property that maps to theOrientation
element.static final TLcdDataProperty
Data property that maps to theResourceMap
element.static final TLcdDataProperty
Data property that maps to theScale
element.Fields inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY
-
Constructor Summary
ConstructorDescriptionTLcdKML223DModel
(TLcdDataType aType) Creates a newTLcdKML223DModel
with a customTLcdDataType
. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the property that maps to thealtitudeModeGroup
element.Returns theILcdBounds
by which the geometry of thisILcdBounded
object is bounded.Returns the focus point of thisILcdShape
.getLink()
Returns the value of the property that maps to theLink
element.Returns the value of the property that maps to theLocation
element.Returns the value of the property that maps to theResourceMap
element.getScale()
Returns the value of the property that maps to theScale
element.void
setAltitudeMode
(ELcdKML22AltitudeMode aValue) Sets the value of the property that maps to thealtitudeModeGroup
element.void
setLink
(TLcdKML22Link aValue) Sets the value of the property that maps to theLink
element.void
setLocation
(TLcdKML22Location aValue) Sets the value of the property that maps to theLocation
element.void
setResourceMap
(TLcdKML22ResourceMap aValue) Sets the value of the property that maps to theResourceMap
element.void
setScale
(TLcdKML22Scale aValue) Sets the value of the property that maps to theScale
element.Methods inherited from class com.luciad.format.kml22.model.geometry.TLcdKML22AbstractGeometry
clearCache, clone, contains2D, contains2D, contains3D, contains3D, getCachedObject, insertIntoCache, move2D, move2D, move3D, move3D, removeCachedObject, translate2D, translate3D
Methods inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
getId, getTargetId, setId, setTargetId
Methods inherited from class com.luciad.datamodel.TLcdDataObject
clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue, toString
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.luciad.util.ILcdCloneable
clone
-
Field Details
-
ALTITUDE_MODE_PROPERTY
Data property that maps to thealtitudeModeGroup
element. The possible values for this property are instances ofELcdKML22AltitudeMode
. -
LOCATION_PROPERTY
Data property that maps to theLocation
element. The possible values for this property are instances ofTLcdKML22Location
. -
ORIENTATION_KML_PROPERTY
Data property that maps to theOrientation
element. The possible values for this property are instances ofTLcdKML22Orientation
. -
SCALE_PROPERTY
Data property that maps to theScale
element. The possible values for this property are instances ofTLcdKML22Scale
. -
LINK_PROPERTY
Data property that maps to theLink
element. The possible values for this property are instances ofTLcdKML22Link
. -
RESOURCE_MAP_PROPERTY
Data property that maps to theResourceMap
element. The possible values for this property are instances ofTLcdKML22ResourceMap
. -
MODEL_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theModelSimpleExtensionGroup
element. The possible values for this property are instances ofList<String>
. -
MODEL_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theModelObjectExtensionGroup
element. The possible values for this property are instances ofList<TLcdKML22AbstractObject>
. -
ABSTRACT_GEOMETRY_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theAbstractGeometrySimpleExtensionGroup
element. The possible values for this property are instances ofList<String>
. -
ABSTRACT_GEOMETRY_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theAbstractGeometryObjectExtensionGroup
element. The possible values for this property are instances ofList<TLcdKML22AbstractObject>
.
-
-
Constructor Details
-
TLcdKML223DModel
Creates a newTLcdKML223DModel
with a customTLcdDataType
.- Parameters:
aType
- a customTLcdDataType
-
-
Method Details
-
getFocusPoint
Description copied from interface:ILcdShape
Returns the focus point of thisILcdShape
.- Specified by:
getFocusPoint
in interfaceILcdShape
- Overrides:
getFocusPoint
in classTLcdKML22AbstractGeometry
- Returns:
- the focus point of this
ILcdShape
.
-
getBounds
Description copied from interface:ILcdBounded
Returns theILcdBounds
by which the geometry of thisILcdBounded
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 ofTLcdLonLatBounds
orTLcdXYBounds
.- Specified by:
getBounds
in interfaceILcdBounded
- Overrides:
getBounds
in classTLcdKML22AbstractGeometry
- Returns:
- the
ILcdBounds
by which the geometry of thisILcdBounded
object is bounded.
-
getAltitudeMode
Returns the value of the property that maps to thealtitudeModeGroup
element.- Returns:
- the value of the
ALTITUDE_MODE_PROPERTY
property.
-
setAltitudeMode
Sets the value of the property that maps to thealtitudeModeGroup
element.- Parameters:
aValue
- the value to set for theALTITUDE_MODE_PROPERTY
property.
-
getLocation
Returns the value of the property that maps to theLocation
element.- Returns:
- the value of the
LOCATION_PROPERTY
property.
-
setLocation
Sets the value of the property that maps to theLocation
element.- Parameters:
aValue
- the value to set for theLOCATION_PROPERTY
property.
-
getScale
Returns the value of the property that maps to theScale
element.- Returns:
- the value of the
SCALE_PROPERTY
property.
-
setScale
Sets the value of the property that maps to theScale
element.- Parameters:
aValue
- the value to set for theSCALE_PROPERTY
property.
-
getLink
Returns the value of the property that maps to theLink
element.- Returns:
- the value of the
LINK_PROPERTY
property.
-
setLink
Sets the value of the property that maps to theLink
element.- Parameters:
aValue
- the value to set for theLINK_PROPERTY
property.
-
getResourceMap
Returns the value of the property that maps to theResourceMap
element.- Returns:
- the value of the
RESOURCE_MAP_PROPERTY
property.
-
setResourceMap
Sets the value of the property that maps to theResourceMap
element.- Parameters:
aValue
- the value to set for theRESOURCE_MAP_PROPERTY
property.
-