Class PreviewSettings


  • public class PreviewSettings
    extends java.lang.Object
    This class holds preview settings for displaying an image.
    Author:
    Fabrizio Giudici
    • Constructor Summary

      Constructors 
      Constructor Description
      PreviewSettings()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.image.ShortLookupTable getLookupTable16bit()  
      java.awt.image.ByteLookupTable getLookupTable8bit()  
      void setLookupTable​(short[] redCurve, short[] greenCurve, short[] blueCurve, short[] alphaCurve)
      TODO: it would be event better to pass abstract curves and leave to this class the responsibility of sampling them.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PreviewSettings

        public PreviewSettings()
    • Method Detail

      • setLookupTable

        public void setLookupTable​(short[] redCurve,
                                   short[] greenCurve,
                                   short[] blueCurve,
                                   short[] alphaCurve)
        TODO: it would be event better to pass abstract curves and leave to this class the responsibility of sampling them. Check out performances.
      • getLookupTable16bit

        public java.awt.image.ShortLookupTable getLookupTable16bit()
      • getLookupTable8bit

        public java.awt.image.ByteLookupTable getLookupTable8bit()