Package com.luciad.view.lightspeed.style
package com.luciad.view.lightspeed.style
Provides a generic model for styles. The goal of this package is to
describe style in a way that is independent of particular painter
implementations. In other words, it is up to the painter to determine which
OpenGL state needs to be set in order to apply a particular style.
Style is modeled by ALspStyle
and its descendants:
TLspIconStyle,TLspParameterizedIconStyle,TLspVerticalLineStyleandTLsp3DIconStylefor use with point-based domain objects.TLspLineStyle,TLspParameterizedLineStyle,TLspComplexStrokedLineStyleandTLspWorldSizedLineStylefor use with line-based domain objects (e.g. polylines, arcs, circles),TLspFillStylefor use with area-based domain objects (e.g. polygons, circles, extruded geometry),TLspRasterStylefor use with raster-based domain objects,TLspTextStylefor use with textual representations of domain objects.TLspLabelBoxStyleto define labels for a given object.
This styler subpackage provides the interface ILspStyler
to associate styles with domain objects. For convenience, the above
styles also implement the ILspStyler interface by always returning
themselves.
Stylers use an event mechanism which allows them to notify a painter explicitly when the style of a particular object (or of all objects) has changed. This enables the painter to perform more efficient rendering and caching, e.g. by grouping objects with the same style and rendering them in a single batch.
- Since:
- 2012.0
-
ClassDescriptionA style which describes density plots.ALspDensityStyle.Builder<B extends ALspDensityStyle.Builder<B>>Builder used to create density styles.An
ALspDensityStylewhich allows variable width (in pixels or world reference size) and hardness.ALspSoftDensityStyle.Builder<B extends ALspSoftDensityStyle.Builder<B>>Builder used to create soft density styles.Base class for style objects, containing common properties that are applicable to all domain objects.ALspStyle.Builder<B extends ALspStyle.Builder<B>>Builder for styles.Interface for styles that include hints regarding the use of ALspGraphicsEffect.Interface for builders ofILspEffectsHintStyle.Defines hints regarding the application of graphics effects to certain objects.Defines a style which includes a texture map.Builder for textured styles.Mode that indicates how the texture should be mapped on the object being styled.Interface for styles that paint objects in world coordinates at a specific elevation.A builder interface for style builders that support elevation modes.The elevationMode property is a styling property that determines how objects should be positioned relative to the terrain.3D Icon style for styling points with 3D icons in 2D and 3D views.TLsp3DIconStyle.Builder<B extends TLsp3DIconStyle.Builder<B>>Builder for 3D icon styles.Mode that indicates how the icon size is determined.3D Mesh style to styleILcd3DMeshinstances in 2D and 3D views.TLsp3DMeshStyle.Builder<B extends TLsp3DMeshStyle.Builder<B>>Builder for 3D mesh styles.Style that can be used to apply complex strokes to a shape's outline.Builder that can createTLspComplexStrokedLineStyleinstances.The orientation of the area that is used to render the complex stroke on for 3D lines.The scaling mode defines how lengths, widths and heights of stroke patterns are interpreted.A style which describes density plots painted as polygons.TLspDensityFillStyle.Builder<B extends TLspDensityFillStyle.Builder<B>>A style which describes density plots painted as lines.TLspDensityLineStyle.Builder<B extends TLspDensityLineStyle.Builder<B>>A style which describes density plots painted as points.TLspDensityPointStyle.Builder<B extends TLspDensityPointStyle.Builder<B>>This settings class presents a set of properties for handling eye-dome lighting.Builder used to create eye-dome lighting settings.Style that defines a shape's fill.TLspFillStyle.Builder<B extends TLspFillStyle.Builder<B>>Builder used to create fill styles.Represents a 2D stipple pattern, which is specified by a 32x32 grid of bits.A builder for stipple patterns.Style used to style a point as a flat icon (also known as a point sprite).TLspIconStyle.Builder<B extends TLspIconStyle.Builder<B>>Builder for icon styles.The different scaling modes for icons.Index color model style.Builder for index color model styles.Style used to draw a box around labels: frame and background color.TLspLabelBoxStyle.Builder<B extends TLspLabelBoxStyle.Builder<B>>Builder for label box styles.Style that can be used to modify the opacity and modulation color of a label.TLspLabelOpacityStyle.Builder<B extends TLspLabelOpacityStyle.Builder<B>>Builder for label opacity styles.Style that defines a shape's outline as a line with a width in pixels (i.e., the line appears equally wide at a large or small scale).An enumeration that defines how lines with the same style will be blended.TLspLineStyle.Builder<B extends TLspLineStyle.Builder<B>>Builder for line styles.Dash pattern for line styles.Style used to styleILcdPolygon.Builder for parameterized fill styles.Style used to style points as a flat icon (also known as a point sprite).Builder used to create parameterized icon styles.Style used to styleILcdPolyline.Builder for parametrized line styles.Style used to visualize multi-dimensional (parameterized) raster data as a flat icon (also known as a point sprite).Builder for parameterized icon styles.Style that defines a pin from an object's anchor point to its label.TLspPinLineStyle.Builder<B extends TLspPinLineStyle.Builder<B>>Builder for pin line styles.Possible positions for the end of the pin: the position where the pin connects to the label.This style represents a set of properties for point objects that can be controlled throughexpressions.TLspPlotStyle.Builder<B extends TLspPlotStyle.Builder<B>>Builder used to create plot styles.This style presents a set of properties for the visualization of point cloud data.TLspPointCloudStyle.Builder<B extends TLspPointCloudStyle.Builder<B>>Builder used to create point cloud styles.Describes the different icon types available to visualize a point cloud.Describes the methods that are available for determining point sizes.Style for rasters.TLspRasterStyle.Builder<B extends TLspRasterStyle.Builder<B>>Builder for raster styles.Styler that switches between multiple stylers depending on the map scale.Builder to create a styler that supports Level-of-Detail styling.Builds anstylerwrapper that adds or changes selection specific style elements from the wrapped styler: Lines: Line selection color replaces the original line color Areas: Line and fill selection color replaces the original color Icons: A rectangle is added around the icon (bounding box for 3D icons) Text: Text selection color replaces the original color and a default black halo is added Complex strokes: A halo is addedDeprecated.TLspStrokedLineStyle.Builder<B extends TLspStrokedLineStyle.Builder<B>>Builder for stroked line styles.Represents a single glyph in aTLspStrokedLineStyle.Text style used to style text, labels, etc.Defines the text alignment of labels spanning several lines.TLspTextStyle.Builder<B extends TLspTextStyle.Builder<B>>Builder for text styles.Style that defines a line perpendicular to the earth surface, to a point.TLspVerticalLineStyle.Builder<B extends TLspVerticalLineStyle.Builder<B>>Builder for vertical line styles.This style describes by how much an element may be displaced from its natural position.Builder forTLspViewDisplacementStyleStyle that defines a shape's outline as a line with a width in meters.Builder for world sized line styles.
TLspComplexStrokedLineStyleoffers more flexibility when defining stroked line patterns, as well as improved performance.