Package | Description |
---|---|
com.luciad.view.lightspeed |
Provides support for OpenGL-based 2D and 3D visualization of data.
|
Modifier and Type | Method and Description |
---|---|
TLspViewBuilder |
TLspViewBuilder.addAtmosphere(boolean aAddAtmosphere)
Determines whether an "atmosphere" should be painted in the view.
|
TLspViewBuilder |
TLspViewBuilder.background(Color aColor)
Sets the background color of the view.
|
TLspViewBuilder |
TLspViewBuilder.capabilities(ILcdGLCapabilities aGLCapabilities)
Sets the OpenGL capabilities with which to initialize the view.
|
TLspViewBuilder |
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 |
TLspViewBuilder.disableAutomaticContextSharing()
A static method to disable automatic context sharing.
|
TLspViewBuilder |
TLspViewBuilder.executorThreadCount(int aCount)
Sets the number of threads used by the view's task executor.
|
TLspViewBuilder |
TLspViewBuilder.glResourceCacheMaxEntries(int aCount)
Sets the maximal number of entries that can be stored in the OpenGL resource cache.
|
TLspViewBuilder |
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 |
TLspViewBuilder.graphicsDevice(GraphicsDevice aGraphicsDevice)
Creates a view for a specific, given
GraphicsDevice . |
static TLspViewBuilder |
TLspViewBuilder.newBuilder()
Creates a new view builder with default settings.
|
TLspViewBuilder |
TLspViewBuilder.overlayComponents(boolean aOverlayComponents)
Determines whether other GUI components will need to be overlaid on top
of the
ILspView after it has been created. |
TLspViewBuilder |
TLspViewBuilder.paintExceptionHandler(ILcdPaintExceptionHandler aPaintExceptionHandler)
Sets a paint exception handler for the view.
|
TLspViewBuilder |
TLspViewBuilder.paintingHints(TLspViewPaintingHints aPaintingHints)
Sets the painting hints to be used by created views.
|
TLspViewBuilder |
TLspViewBuilder.resolutionScale(double aResolutionScale)
Allows rendering a view at a lower resolution than the view's host component.
|
TLspViewBuilder |
TLspViewBuilder.shareGLContext(ILcdGLDrawable aGLDrawable)
Sets an
ILcdGLDrawable with which new views should share an OpenGL context. |
TLspViewBuilder |
TLspViewBuilder.size(int aWidth,
int aHeight)
Sets the initial size of the view.
|
TLspViewBuilder |
TLspViewBuilder.viewType(ILspView.ViewType aViewType)
Determines whether views will be initialized to 2D or 3D.
|
TLspViewBuilder |
TLspViewBuilder.worldReference(ILcdXYZWorldReference aWorldReference)
Sets the initial world reference to be assigned to the view.
|