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
-
Constructor Summary
ModifierConstructorDescriptionprotected
ALcdLIDARModelDescriptor
(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 notILcdDataObject
themselves, this method returnsnull
.abstract ILcdInterval
getPropertyRange
(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, sourceNameToDisplayName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.luciad.model.ILcdDataModelDescriptor
getModelTypes
Methods 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 javadoc
for more details on the data model.- Specified by:
getDataModel
in interfaceILcdDataModelDescriptor
- Returns:
- the data model that describes the elements of the model
-
getModelElementTypes
Since the elements in the model are notILcdDataObject
themselves, this method returnsnull
.See
class javadoc
for more details on the data model.- Specified by:
getModelElementTypes
in interfaceILcdDataModelDescriptor
- Returns:
null
, as the elements in the model are notILcdDataObject
themselves.
-
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 returnsnull
if 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
null
if the property is not available in the file, or if the property does not have a range.
-