public class TLcdE57ModelDescriptor extends ALcdLIDARModelDescriptor implements ILcdDataSourceModelDescriptor<ILcdDataSource>, com.luciad.internal.format.las.ILinPointCloudModelDescriptor
.e57
) file.
.e57
header.ILcdDataModelDescriptor
and getPropertyRange
to see what properties are available in this 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.
Modifier and Type | Field and Description |
---|---|
static String |
COLUMN_INDEX
The column index property.
|
static String |
E57_TYPE_NAME
The type name of the data source.
|
static String |
RETURN_COUNT
The return count property.
|
static String |
RETURN_INDEX
The return index property.
|
static String |
ROW_INDEX
The row index property.
|
static String |
TIME_STAMP
The time stamp property.
|
COLOR, HEIGHT, INTENSITY
Constructor and Description |
---|
TLcdE57ModelDescriptor(String aSourceName,
String aDisplayName,
String aGUID,
long aNumberOfPoints,
Instant aCreationTime,
TLcdDataType aPointDataType,
Map<TLcdDataProperty,TLcdInterval> aPropertyRanges)
Creates a new
TLcdE57ModelDescriptor |
Modifier and Type | Method and Description |
---|---|
Instant |
getCreationTime()
Gets the time instant when the E57 file was created, if available
|
ILcdDataSource |
getDataSource()
Returns the object that was used to decode the corresponding model.
|
TLcdDataType |
getDataType()
Returns the single data type that describes the individual points in the elements of this model.
|
String |
getGUID()
Gets the globally unique identifier of this dataset, if available
|
Set<TLcdDataType> |
getModelTypes()
Returns a single data type that describes the individual points in the elements of this model.
|
long |
getNumberOfPoints()
Returns the Number Of Point Records as specified in the
.e57 header. |
ILcdInterval |
getPropertyRange(TLcdDataProperty aProperty)
Returns the range of values for the given property for this model.
|
getDataModel, getModelElementTypes
getDisplayName, getSourceName, getTypeName, setDisplayName, setSourceName, setTypeName, sourceNameToDisplayName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDisplayName, getSourceName, getTypeName
public static final String E57_TYPE_NAME
public static final String ROW_INDEX
Integer
.public static final String COLUMN_INDEX
Integer
.public static final String RETURN_INDEX
Integer
.public static final String RETURN_COUNT
Integer
.public static final String TIME_STAMP
Double
.public TLcdE57ModelDescriptor(String aSourceName, String aDisplayName, String aGUID, long aNumberOfPoints, Instant aCreationTime, TLcdDataType aPointDataType, Map<TLcdDataProperty,TLcdInterval> aPropertyRanges)
TLcdE57ModelDescriptor
public ILcdDataSource getDataSource()
ILcdDataSourceModelDescriptor
getDataSource
in interface ILcdDataSourceModelDescriptor<ILcdDataSource>
null
, e.g. when the model
was not decoded by using an ILcdDataSource
.ILcdModelDecoder
public Set<TLcdDataType> getModelTypes()
See class javadoc
for more details on the data model.
getModelTypes
in interface ILcdDataModelDescriptor
public ILcdInterval getPropertyRange(TLcdDataProperty aProperty)
ALcdLIDARModelDescriptor
null
.
Also returns null
if the property is not available in the data type of this model.getPropertyRange
in class ALcdLIDARModelDescriptor
aProperty
- the property to get the range for.null
if the property is not available in the file, or if the property does not have a range.public TLcdDataType getDataType()
This is the same data type as in getModelTypes()
.
See class javadoc
for more details on the data model.
public String getGUID()
public long getNumberOfPoints()
.e57
header.
Note: the actual amount of points in the model may be different, for example because of filtering or
setting a maximum
.getNumberOfPoints
in interface com.luciad.internal.format.las.ILinPointCloudModelDescriptor
public Instant getCreationTime()