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
FieldsModifier and TypeFieldDescriptionstatic final TLcdDataPropertyData property that maps to theAbstractGeometryObjectExtensionGroupelement.static final TLcdDataPropertyData property that maps to theAbstractGeometrySimpleExtensionGroupelement.static final TLcdDataPropertyData property that maps to thealtitudeModeGroupelement.static final TLcdDataPropertyData property that maps to theLinkelement.static final TLcdDataPropertyData property that maps to theLocationelement.static final TLcdDataPropertyData property that maps to theModelObjectExtensionGroupelement.static final TLcdDataPropertyData property that maps to theModelSimpleExtensionGroupelement.static final TLcdDataPropertyData property that maps to theOrientationelement.static final TLcdDataPropertyData property that maps to theResourceMapelement.static final TLcdDataPropertyData property that maps to theScaleelement.Fields inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY -
Constructor Summary
ConstructorsConstructorDescriptionTLcdKML223DModel(TLcdDataType aType) Creates a newTLcdKML223DModelwith a customTLcdDataType. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the property that maps to thealtitudeModeGroupelement.Returns theILcdBoundsby which the geometry of thisILcdBoundedobject is bounded.Returns the focus point of thisILcdShape.getLink()Returns the value of the property that maps to theLinkelement.Returns the value of the property that maps to theLocationelement.Returns the value of the property that maps to theResourceMapelement.getScale()Returns the value of the property that maps to theScaleelement.voidsetAltitudeMode(ELcdKML22AltitudeMode aValue) Sets the value of the property that maps to thealtitudeModeGroupelement.voidsetLink(TLcdKML22Link aValue) Sets the value of the property that maps to theLinkelement.voidsetLocation(TLcdKML22Location aValue) Sets the value of the property that maps to theLocationelement.voidsetResourceMap(TLcdKML22ResourceMap aValue) Sets the value of the property that maps to theResourceMapelement.voidsetScale(TLcdKML22Scale aValue) Sets the value of the property that maps to theScaleelement.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, translate3DMethods inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
getId, getTargetId, setId, setTargetIdMethods inherited from class com.luciad.datamodel.TLcdDataObject
clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue, toStringMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.luciad.util.ILcdCloneable
clone
-
Field Details
-
ALTITUDE_MODE_PROPERTY
Data property that maps to thealtitudeModeGroupelement. The possible values for this property are instances ofELcdKML22AltitudeMode. -
LOCATION_PROPERTY
Data property that maps to theLocationelement. The possible values for this property are instances ofTLcdKML22Location. -
ORIENTATION_KML_PROPERTY
Data property that maps to theOrientationelement. The possible values for this property are instances ofTLcdKML22Orientation. -
SCALE_PROPERTY
Data property that maps to theScaleelement. The possible values for this property are instances ofTLcdKML22Scale. -
LINK_PROPERTY
Data property that maps to theLinkelement. The possible values for this property are instances ofTLcdKML22Link. -
RESOURCE_MAP_PROPERTY
Data property that maps to theResourceMapelement. The possible values for this property are instances ofTLcdKML22ResourceMap. -
MODEL_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theModelSimpleExtensionGroupelement. The possible values for this property are instances ofList<String>. -
MODEL_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theModelObjectExtensionGroupelement. The possible values for this property are instances ofList<TLcdKML22AbstractObject>. -
ABSTRACT_GEOMETRY_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theAbstractGeometrySimpleExtensionGroupelement. The possible values for this property are instances ofList<String>. -
ABSTRACT_GEOMETRY_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theAbstractGeometryObjectExtensionGroupelement. The possible values for this property are instances ofList<TLcdKML22AbstractObject>.
-
-
Constructor Details
-
TLcdKML223DModel
Creates a newTLcdKML223DModelwith a customTLcdDataType.- Parameters:
aType- a customTLcdDataType
-
-
Method Details
-
getFocusPoint
Description copied from interface:ILcdShapeReturns the focus point of thisILcdShape.- Specified by:
getFocusPointin interfaceILcdShape- Overrides:
getFocusPointin classTLcdKML22AbstractGeometry- Returns:
- the focus point of this
ILcdShape.
-
getBounds
Description copied from interface:ILcdBoundedReturns theILcdBoundsby which the geometry of thisILcdBoundedobject 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
undefinedbounds. You can create undefined bounds using the default constructors ofTLcdLonLatBoundsorTLcdXYBounds.- Specified by:
getBoundsin interfaceILcdBounded- Overrides:
getBoundsin classTLcdKML22AbstractGeometry- Returns:
- the
ILcdBoundsby which the geometry of thisILcdBoundedobject is bounded.
-
getAltitudeMode
Returns the value of the property that maps to thealtitudeModeGroupelement.- Returns:
- the value of the
ALTITUDE_MODE_PROPERTYproperty.
-
setAltitudeMode
Sets the value of the property that maps to thealtitudeModeGroupelement.- Parameters:
aValue- the value to set for theALTITUDE_MODE_PROPERTYproperty.
-
getLocation
Returns the value of the property that maps to theLocationelement.- Returns:
- the value of the
LOCATION_PROPERTYproperty.
-
setLocation
Sets the value of the property that maps to theLocationelement.- Parameters:
aValue- the value to set for theLOCATION_PROPERTYproperty.
-
getScale
Returns the value of the property that maps to theScaleelement.- Returns:
- the value of the
SCALE_PROPERTYproperty.
-
setScale
Sets the value of the property that maps to theScaleelement.- Parameters:
aValue- the value to set for theSCALE_PROPERTYproperty.
-
getLink
Returns the value of the property that maps to theLinkelement.- Returns:
- the value of the
LINK_PROPERTYproperty.
-
setLink
Sets the value of the property that maps to theLinkelement.- Parameters:
aValue- the value to set for theLINK_PROPERTYproperty.
-
getResourceMap
Returns the value of the property that maps to theResourceMapelement.- Returns:
- the value of the
RESOURCE_MAP_PROPERTYproperty.
-
setResourceMap
Sets the value of the property that maps to theResourceMapelement.- Parameters:
aValue- the value to set for theRESOURCE_MAP_PROPERTYproperty.
-