Class TLcyOGC3DTilesAddOn
This add-on provides support for OGC 3D tiles data sets, like for example Cesium tilesets.
Note: this add-on only adds support for decoding OGC 3D tiles data sets, not for visualization.
Visualization is only supported in a Lightspeed view and additionally requires the
TLcyLsp3DTilesFormatAddOn
add-on.
By default, this add-on does not install an ILcdInputStreamFactory
on the 3D Tiles decoder. The decoder then uses its built-in high-performance HTTP client, and HTTP
authentication is picked up automatically from ILcdPasswordProvider
implementations registered as services (see LcdService). Set the
configuration option TLcyOGC3DTilesAddOn.useInputStreamFactory=true in
TLcyOGC3DTilesAddOn.cfg to route all 3D Tiles I/O through the input stream factories
registered in the Lucy back-end instead. Enable this only when you need a non-HTTP transport such
as S3: once set, the factory is used for every source, which bypasses the built-in client and is
slower for HTTP.
- Since:
- 2018.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ALcyFormatReturns a new data format for this add-on.protected final ALcyFormatcreateFormatWrapper(ALcyFormat aBaseFormat) Returns a new data format wrapper for this add-on.voidplugInto(ILcyLucyEnv aLucyEnv) Creates and plugs in the add-on's format.Methods inherited from class com.luciad.lucy.addons.ALcyFormatAddOn
createFormatTool, getFormat, unplugFromMethods inherited from class com.luciad.lucy.addons.ALcyPreferencesAddOn
createPreferencesTool, getLongPrefix, getLucyEnv, getPreferences, getPreferencesTool, getShortPrefixMethods inherited from class com.luciad.lucy.addons.ALcyAddOn
getConfigSourceName, getDisplayName, setConfigSourceName, setDisplayName
-
Constructor Details
-
TLcyOGC3DTilesAddOn
public TLcyOGC3DTilesAddOn()Default constructor
-
-
Method Details
-
plugInto
Description copied from class:ALcyFormatAddOnCreates and plugs in the add-on's format.
- Overrides:
plugIntoin classALcyFormatAddOn- Parameters:
aLucyEnv- the Lucy environment to plug into- See Also:
-
createBaseFormat
Description copied from class:ALcyFormatAddOnReturns a new data format for this add-on. Override this method to extend the default format with new functionality.
For example, to alter the icon of the layers of this format, you can decorate the layer factory created in the format:
@Override protected ALcyFormat createBaseFormat() { return new ALcyFormatWrapper(super.createBaseFormat()){ @Override protected ILcdGXYLayerFactory createGXYLayerFactory(){ final ILcdGXYLayerFactory delegate = super.createGXYLayerFactory(); return new ILcdGXYLayerFactory(){ @Override public ILcdGXYLayer createGXYLayer(ILcdModel aModel){ ILcdGXYLayer layer = delegate.createGXYLayer(aModel); if (layer != null){ ILcdIcon icon = ...; layer.setIcon(icon); } return layer; } } } } }- Specified by:
createBaseFormatin classALcyFormatAddOn- Returns:
- a new format for this add-on
-
createFormatWrapper
Description copied from class:ALcyFormatAddOnReturns a new data format wrapper for this add-on. A format wrapper extends the base format with aspects such as asynchronous painting, mutable file behavior, safe guarding, etc.
Overriding this method of an existing add-on should be done with extreme care as add-ons typically rely on the wrappers that should be present (e.g. a safe guard).
- Specified by:
createFormatWrapperin classALcyFormatAddOn- Parameters:
aBaseFormat- the base format to wrap- Returns:
- a new format for this add-on
- See Also:
-