Package com.luciad.view.lightspeed
Class TLspPaintPass
java.lang.Object
com.luciad.view.lightspeed.TLspPaintPass
Combination of a
paint phase
and
paint representation state
that describes which object representation to paint during a given paint pass.
As an example, an
TLspPaintPass
could state that only
selected bodies should be painted that are transparent and draped on terrain.
Painters should only paint what is requested by the provided paint pass.- Since:
- 2012.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic TLspPaintPass
getInstance
(TLspPaintPhase aPaintPhase, TLspPaintRepresentationState aPaintRepresentationState) Retrieves a paint pass that combines the given paint phase and paint representation state.Gets the paint phase.Convenience method that gets the paint representation.Gets the paint representation state.Convenience method that gets the paint state that defines whether selected, edited or all other objects should be painted.toString()
-
Method Details
-
getInstance
public static TLspPaintPass getInstance(TLspPaintPhase aPaintPhase, TLspPaintRepresentationState aPaintRepresentationState) Retrieves a paint pass that combines the given paint phase and paint representation state.- Parameters:
aPaintPhase
- the paint phaseaPaintRepresentationState
- the paint representation state- Returns:
- the corresponding paint pass
-
getPaintPhase
Gets the paint phase.- Returns:
- the paint phase
-
getPaintRepresentationState
Gets the paint representation state.- Returns:
- the paint representation state
-
getPaintRepresentation
Convenience method that gets the paint representation.- Returns:
- the paint representation
-
getPaintOpacity
-
getPaintDraping
-
getPaintState
Convenience method that gets the paint state that defines whether selected, edited or all other objects should be painted.- Returns:
- the paint state that defines whether selected, edited or all other objects should be painted
-
toString
-