Package com.luciad.format.lidar
Class ALcdLIDARModelDescriptor
java.lang.Object
com.luciad.model.TLcdModelDescriptor
com.luciad.format.lidar.ALcdLIDARModelDescriptor
- All Implemented Interfaces:
ILcdDataModelDescriptor,ILcdModelDescriptor,Serializable
- Direct Known Subclasses:
TLcdE57ModelDescriptor,TLcdLASModelDescriptor
public abstract class ALcdLIDARModelDescriptor
extends TLcdModelDescriptor
implements ILcdDataModelDescriptor
This abstract class contains common properties of LIDAR point cloud formats. It can be used to indicate that a model contains point cloud data.
Apart from common property names, this class also contains a method introspect ranges for properties. Use
getPropertyRange(TLcdDataProperty) to get the range of a single property value. This lets you more easily
create filters and UI for your datasets.
- Since:
- 2018.1
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedALcdLIDARModelDescriptor(String aSourceName, String aTypeName, String aDisplayName, TLcdDataModel aDataModel) -
Method Summary
Modifier and TypeMethodDescriptionReturns the data model that describes the individual points in this model.Since the elements in the model are notILcdDataObjectthemselves, this method returnsnull.abstract ILcdIntervalgetPropertyRange(TLcdDataProperty aProperty) Returns the range of values for the given property for this model.Methods inherited from class com.luciad.model.TLcdModelDescriptor
getDisplayName, getSourceName, getTypeName, setDisplayName, setSourceName, setTypeName, sourceNameToDisplayNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.luciad.model.ILcdDataModelDescriptor
getModelTypesMethods inherited from interface com.luciad.model.ILcdModelDescriptor
getDisplayName, getSourceName, getTypeName
-
Field Details
-
HEIGHT
The height of the point; in meters above ellipsoid; aFloat.- See Also:
-
INTENSITY
The Intensity property; anInteger.- See Also:
-
COLOR
The color component properties; as aColor.- See Also:
-
-
Constructor Details
-
ALcdLIDARModelDescriptor
protected ALcdLIDARModelDescriptor(String aSourceName, String aTypeName, String aDisplayName, TLcdDataModel aDataModel)
-
-
Method Details
-
getDataModel
Returns the data model that describes the individual points in this model.See
class javadocfor more details on the data model.- Specified by:
getDataModelin interfaceILcdDataModelDescriptor- Returns:
- the data model that describes the elements of the model
-
getModelElementTypes
Since the elements in the model are notILcdDataObjectthemselves, this method returnsnull.See
class javadocfor more details on the data model.- Specified by:
getModelElementTypesin interfaceILcdDataModelDescriptor- Returns:
null, as the elements in the model are notILcdDataObjectthemselves.
-
getPropertyRange
Returns the range of values for the given property for this model. Only returns an interval for properties with numeric values, otherwise returnsnull. Also returnsnullif the property is not available in the data type of this model.- Parameters:
aProperty- the property to get the range for.- Returns:
- The range, or
nullif the property is not available in the file, or if the property does not have a range.
-