Class TLcdE57ModelDescriptor
- All Implemented Interfaces:
com.luciad.internal.format.las.ILinPointCloudModelDescriptor
,ILcdDataModelDescriptor
,ILcdDataSourceModelDescriptor<ILcdDataSource>
,ILcdModelDescriptor
,Serializable
.e57
) file.
- It contains various fields available in the
.e57
header. - It implements
ILcdDataModelDescriptor
andgetPropertyRange
to see what properties are available in this model.
Data model
Although the elements in the model are not data objects
themselves, you can still use the data model to
access properties of individual points when you use it to build expressions
for use in styling.
The data model has a single type
that consists of the properties available in the source file.
Only the properties available in the source file are available in the data type, for example if a file does contain color information,
but does not contain timestamp information, the data type will have a ALcdLIDARModelDescriptor.COLOR
property, but not an TIME_STAMP
property.
You can find the names of all the possible properties as constant fields in TLcdE57ModelDescriptor
:
ALcdLIDARModelDescriptor.COLOR
, ALcdLIDARModelDescriptor.INTENSITY
, ROW_INDEX
, COLUMN_INDEX
, and so on.
You can use getPropertyRange(com.luciad.datamodel.TLcdDataProperty)
to get the extent (minimum and maximum value) of a specific property in this specific model.
- Since:
- 2018.1
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The column index property.static final String
The type name of the data source.static final String
The return count property.static final String
The return index property.static final String
The row index property.static final String
The time stamp property.Fields inherited from class com.luciad.format.lidar.ALcdLIDARModelDescriptor
COLOR, HEIGHT, INTENSITY
-
Constructor Summary
ConstructorDescriptionTLcdE57ModelDescriptor
(String aSourceName, String aDisplayName, String aGUID, long aNumberOfPoints, Instant aCreationTime, TLcdDataType aPointDataType, Map<TLcdDataProperty, TLcdInterval> aPropertyRanges) Creates a newTLcdE57ModelDescriptor
-
Method Summary
Modifier and TypeMethodDescriptionGets the time instant when the E57 file was created, if availableReturns the object that was used to decode the corresponding model.Returns the single data type that describes the individual points in the elements of this model.getGUID()
Gets the globally unique identifier of this dataset, if availableReturns a single data type that describes the individual points in the elements of this model.long
Returns the Number Of Point Records as specified in the.e57
header.getPropertyRange
(TLcdDataProperty aProperty) Returns the range of values for the given property for this model.Methods inherited from class com.luciad.format.lidar.ALcdLIDARModelDescriptor
getDataModel, getModelElementTypes
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.ILcdModelDescriptor
getDisplayName, getSourceName, getTypeName
-
Field Details
-
E57_TYPE_NAME
The type name of the data source.- See Also:
-
ROW_INDEX
The row index property. AnInteger
.- See Also:
-
COLUMN_INDEX
The column index property. AnInteger
.- See Also:
-
RETURN_INDEX
The return index property. AnInteger
.- See Also:
-
RETURN_COUNT
The return count property. AnInteger
.- See Also:
-
TIME_STAMP
The time stamp property. ADouble
.- See Also:
-
-
Constructor Details
-
TLcdE57ModelDescriptor
public TLcdE57ModelDescriptor(String aSourceName, String aDisplayName, String aGUID, long aNumberOfPoints, Instant aCreationTime, TLcdDataType aPointDataType, Map<TLcdDataProperty, TLcdInterval> aPropertyRanges) Creates a newTLcdE57ModelDescriptor
- Since:
- 2020.1
-
-
Method Details
-
getDataSource
Description copied from interface:ILcdDataSourceModelDescriptor
Returns the object that was used to decode the corresponding model.- Specified by:
getDataSource
in interfaceILcdDataSourceModelDescriptor<ILcdDataSource>
- Returns:
- an object describing the data source(s) of the corresponding model. This can be
null
, e.g. when the model was not decoded by using anILcdDataSource
. - See Also:
-
getModelTypes
Returns a single data type that describes the individual points in the elements of this model.See
class javadoc
for more details on the data model.- Specified by:
getModelTypes
in interfaceILcdDataModelDescriptor
- Returns:
- The single data type that describes the individual points in the elements of this model.
-
getPropertyRange
Description copied from class:ALcdLIDARModelDescriptor
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.- Specified by:
getPropertyRange
in classALcdLIDARModelDescriptor
- 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.
-
getDataType
Returns the single data type that describes the individual points in the elements of this model.This is the same data type as in
getModelTypes()
.See
class javadoc
for more details on the data model.- Returns:
- The single data type that describes the individual points in the elements of this model.
-
getGUID
Gets the globally unique identifier of this dataset, if available- Returns:
- the globally unique identifier of this dataset
-
getNumberOfPoints
public long getNumberOfPoints()Returns the Number Of Point Records as specified in the.e57
header. Note: the actual amount of points in the model may be different, for example because of filtering orsetting a maximum
.- Specified by:
getNumberOfPoints
in interfacecom.luciad.internal.format.las.ILinPointCloudModelDescriptor
- Returns:
- The number of points in the file.
-
getCreationTime
Gets the time instant when the E57 file was created, if available- Returns:
- the time instant when the E57 file was created
-