Module gpuFlux

Class ChannelSPD

java.lang.Object
de.grogra.persistence.ShareableBase
de.grogra.gpuflux.imp3d.shading.ChannelSPD
All Implemented Interfaces:
Icon, IconSource, ChannelMap, ColorMap, Manageable, Shareable, RenderedIcon

public class ChannelSPD extends ShareableBase implements ColorMap, IconSource, Icon, RenderedIcon
  • Field Details

    • $TYPE

      public static final ChannelSPD.Type $TYPE
    • spectraldistribution$FIELD

      public static final SCOType.Field spectraldistribution$FIELD
    • BLACK

      public static final ChannelSPD BLACK
      Spectrally black — zero radiance at all wavelengths.
    • WHITE

      public static final ChannelSPD WHITE
      Spectrally white — uniform unit reflectance across 380–720 nm.
    • GRAY

      public static final ChannelSPD GRAY
      Mid grey — 50 % reflectance across 380–720 nm.
    • DARK_GRAY

      public static final ChannelSPD DARK_GRAY
      Dark grey — 25 % reflectance across 380–720 nm.
    • LIGHT_GRAY

      public static final ChannelSPD LIGHT_GRAY
      Light grey — 75 % reflectance across 380–720 nm.
    • RED

      public static final ChannelSPD RED
      Spectrally red (Smits RGB→SPD basis, R=1 G=0 B=0).
    • GREEN

      public static final ChannelSPD GREEN
      Spectrally green (Smits RGB→SPD basis, R=0 G=1 B=0).
    • BLUE

      public static final ChannelSPD BLUE
      Spectrally blue (Smits RGB→SPD basis, R=0 G=0 B=1).
    • CYAN

      public static final ChannelSPD CYAN
      Spectrally cyan (R=0 G=1 B=1).
    • MAGENTA

      public static final ChannelSPD MAGENTA
      Spectrally magenta (R=1 G=0 B=1).
    • YELLOW

      public static final ChannelSPD YELLOW
      Spectrally yellow (R=1 G=1 B=0).
    • ORANGE

      public static final ChannelSPD ORANGE
      Spectrally orange (R=1 G=0.647 B=0).
    • PLAIN_BLACK

      public static final Phong PLAIN_BLACK
    • PLAIN_WHITE

      public static final Phong PLAIN_WHITE
    • PLAIN_GRAY

      public static final Phong PLAIN_GRAY
    • PLAIN_DARK_GRAY

      public static final Phong PLAIN_DARK_GRAY
    • PLAIN_LIGHT_GRAY

      public static final Phong PLAIN_LIGHT_GRAY
    • PLAIN_RED

      public static final Phong PLAIN_RED
    • PLAIN_GREEN

      public static final Phong PLAIN_GREEN
    • PLAIN_BLUE

      public static final Phong PLAIN_BLUE
    • PLAIN_CYAN

      public static final Phong PLAIN_CYAN
    • PLAIN_MAGENTA

      public static final Phong PLAIN_MAGENTA
    • PLAIN_YELLOW

      public static final Phong PLAIN_YELLOW
    • PLAIN_ORANGE

      public static final Phong PLAIN_ORANGE
  • Constructor Details

    • ChannelSPD

      public ChannelSPD(SpectralCurve curve)
      Constructor, creates a spectral channel with specified spectral curve
      Parameters:
      curve - spectral curve
    • ChannelSPD

      public ChannelSPD()
      Constructor, creates a spectral channel
  • Method Details