Class TLcdBIMDataSource

java.lang.Object
com.luciad.format.bim.TLcdBIMDataSource
All Implemented Interfaces:
ILcdDataSource

public final class TLcdBIMDataSource extends Object implements ILcdDataSource
A data source for BIM data. It can be passed to several model decoders supporting BIM data, like for instance the TLcdBinzModelDecoder, the TLcdIFCModelDecoder or the TLcdRevitModelDecoder.

A BIM dataset can be typically decoded into 2 different kind of models:

  • The geometry model: this model contains the geometry
  • The features model: this model contains the properties of the elements (like doors, walls, etc.)

With a TLcdBIMDataSource it's possible to specify the target model type to which a dataset needs to be decoded.

Since:
2024.0
  • Constructor Details

    • TLcdBIMDataSource

      public TLcdBIMDataSource(String aSourceName, TLcdBIMDataSource.Type aType)
      Creates a new data source with the given source name and model type.
      Parameters:
      aSourceName - the source name
      aType - the model type
  • Method Details

    • getSourceName

      public String getSourceName()
      Returns the source name of the data file.
      Returns:
      the source name of the data file, never null
    • getType

      public TLcdBIMDataSource.Type getType()
      Returns the model type of the data file.
      Returns:
      the model type of the data file, never null
    • getDescription

      public String getDescription()
      Description copied from interface: ILcdDataSource
      Returns a string description of the data source. This will typically be used in a GUI, or in error and warning messages.
      Specified by:
      getDescription in interface ILcdDataSource
      Returns:
      a String describing the data source.
    • equals

      public boolean equals(Object aObject)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object