Uses of Class
com.luciad.view.lightspeed.TLspViewBuilder
Package
Description
Contains a broad range of classes related to the visual representation of a map.
Provides support for OpenGL-based 2D and 3D visualization of data.
-
Uses of TLspViewBuilder in com.luciad.lucy.map.lightspeed
Modifier and TypeMethodDescriptionprotected TLspViewBuilder
TLcyLspMapComponentFactory.createViewBuilder
(ALcyProperties aProperties) This method is called by the default implementation ofTLcyLspMapComponentFactory.createView(ALcyProperties)
and is responsible for creating theTLspViewBuilder
which will be used in thecreateView
method to create the Lightspeed view. -
Uses of TLspViewBuilder in com.luciad.view.lightspeed
Modifier and TypeMethodDescriptionTLspViewBuilder.addAtmosphere
(boolean aAddAtmosphere) Determines whether an "atmosphere" should be painted in the view.TLspViewBuilder.background
(Color aColor) Sets the background color of the view.TLspViewBuilder.capabilities
(ILcdGLCapabilities aGLCapabilities) Sets the OpenGL capabilities with which to initialize the view.TLspViewBuilder.defaultEffects()
Adds a set of default graphics effects to the view consisting of a sky/atmosphere background, fog, ambient light and a headlight.TLspViewBuilder.disableAutomaticContextSharing()
A static method to disable automatic context sharing.TLspViewBuilder.executorThreadCount
(int aCount) Sets the number of threads used by the view's task executor.TLspViewBuilder.glResourceCacheMaxEntries
(int aCount) Sets the maximal number of entries that can be stored in the OpenGL resource cache.TLspViewBuilder.glResourceCacheSize
(long aSize) Sets the size (in bytes) used by the OpenGL resource cache.
The default value is -1, which will trigger an automatic behavior that is suited for most uses.TLspViewBuilder.graphicsDevice
(GraphicsDevice aGraphicsDevice) Creates a view for a specific, givenGraphicsDevice
.static TLspViewBuilder
TLspViewBuilder.newBuilder()
Creates a new view builder with default settings.TLspViewBuilder.overlayComponents
(boolean aOverlayComponents) Determines whether other GUI components will need to be overlaid on top of theILspView
after it has been created.TLspViewBuilder.paintExceptionHandler
(ILcdPaintExceptionHandler aPaintExceptionHandler) Sets a paint exception handler for the view.TLspViewBuilder.paintingHints
(TLspViewPaintingHints aPaintingHints) Sets the painting hints to be used by created views.TLspViewBuilder.resolutionScale
(double aResolutionScale) Allows rendering a view at a lower resolution than the view's host component.TLspViewBuilder.shareGLContext
(ILcdGLDrawable aGLDrawable) Sets anILcdGLDrawable
with which new views should share an OpenGL context.TLspViewBuilder.size
(int aWidth, int aHeight) Sets the initial size of the view.TLspViewBuilder.viewType
(ILspView.ViewType aViewType) Determines whether views will be initialized to 2D or 3D.TLspViewBuilder.worldReference
(ILcdXYZWorldReference aWorldReference) Sets the initial world reference to be assigned to the view.