Package com.luciad.view.lightspeed.style
Class TLsp3DMeshStyle
java.lang.Object
com.luciad.view.lightspeed.style.ALspStyle
com.luciad.view.lightspeed.style.TLsp3DMeshStyle
- All Implemented Interfaces:
ILspEffectsHintStyle
,ILspStyler
3D Mesh style to style ILcd3DMesh
instances in 2D and 3D views.
Construction of a 3D mesh style is done through the
Builder
design pattern mechanism.
- Since:
- 2017.1
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
TLsp3DMeshStyle.Builder<B extends TLsp3DMeshStyle.Builder<B>>
Builder for 3D mesh styles.Nested classes/interfaces inherited from interface com.luciad.view.lightspeed.style.ILspEffectsHintStyle
ILspEffectsHintStyle.EffectsHint
-
Method Summary
Modifier and TypeMethodDescriptionCreates a new builder initialized with all the properties of this style.boolean
Returns the effects hints specified for this style.Gets the color that is modulated with the mesh.int
hashCode()
boolean
Determines whether this style is transparent.static TLsp3DMeshStyle.Builder
<?> Creates a new builder with the default values.Methods inherited from class com.luciad.view.lightspeed.style.ALspStyle
addStyleChangeListener, getZOrder, isCompatible, removeStyleChangeListener, style
-
Method Details
-
newBuilder
Creates a new builder with the default values.- Returns:
- the new builder.
-
getModulationColor
Gets the color that is modulated with the mesh. For example using an mesh with gray-scale colors and a red modulation color will result in a resulting painted mesh with red hues.- Returns:
- the modulation color
-
isTransparent
public boolean isTransparent()Description copied from class:ALspStyle
Determines whether this style is transparent. Shapes that are transparent can be painted in a different paint phase than shapes that are not transparent.- Specified by:
isTransparent
in classALspStyle
- Returns:
- whether or not this style is transparent
-
getEffectsHints
Description copied from interface:ILspEffectsHintStyle
Returns the effects hints specified for this style.- Specified by:
getEffectsHints
in interfaceILspEffectsHintStyle
- Returns:
- the effects hints specified for this style
-
equals
-
hashCode
public int hashCode() -
asBuilder
Description copied from class:ALspStyle
Creates a new builder initialized with all the properties of this style.
-