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
.e57header. - It implements
ILcdDataModelDescriptorandgetPropertyRangeto 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
FieldsModifier and TypeFieldDescriptionstatic final StringThe column index property.static final StringThe type name of the data source.static final StringThe return count property.static final StringThe return index property.static final StringThe row index property.static final StringThe time stamp property.Fields inherited from class com.luciad.format.lidar.ALcdLIDARModelDescriptor
COLOR, HEIGHT, INTENSITY -
Constructor Summary
ConstructorsConstructorDescriptionTLcdE57ModelDescriptor(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.longReturns the Number Of Point Records as specified in the.e57header.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, getModelElementTypesMethods 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.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:ILcdDataSourceModelDescriptorReturns the object that was used to decode the corresponding model.- Specified by:
getDataSourcein 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 javadocfor more details on the data model.- Specified by:
getModelTypesin interfaceILcdDataModelDescriptor- Returns:
- The single data type that describes the individual points in the elements of this model.
-
getPropertyRange
Description copied from class:ALcdLIDARModelDescriptorReturns 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.- Specified by:
getPropertyRangein classALcdLIDARModelDescriptor- 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.
-
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 javadocfor 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.e57header. Note: the actual amount of points in the model may be different, for example because of filtering orsetting a maximum.- Specified by:
getNumberOfPointsin 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
-