Interface SpecularLightingRable

    • Method Detail

      • getSource

        Filter getSource()
        Returns the source to be filtered
      • setSource

        void setSource​(Filter src)
        Sets the source to be filtered
      • getLight

        Light getLight()
        Returns:
        Light object used for the diffuse lighting
      • setLight

        void setLight​(Light light)
        Parameters:
        light - New Light object
      • getSurfaceScale

        double getSurfaceScale()
        Returns:
        surfaceScale
      • setSurfaceScale

        void setSurfaceScale​(double surfaceScale)
        Sets the surface scale
      • getKs

        double getKs()
        Returns:
        specular constant, or ks.
      • setKs

        void setKs​(double ks)
        Sets the specular constant, or ks
      • getSpecularExponent

        double getSpecularExponent()
        Returns:
        specular exponent, or kd
      • setSpecularExponent

        void setSpecularExponent​(double specularExponent)
        Sets the specular exponent
      • getLitRegion

        java.awt.geom.Rectangle2D getLitRegion()
        Returns:
        the litRegion for this filter
      • setLitRegion

        void setLitRegion​(java.awt.geom.Rectangle2D litRegion)
        Sets the litRegion for this filter
      • getKernelUnitLength

        double[] getKernelUnitLength()
        Returns the min [dx,dy] distance in user space for evalutation of the sobel gradient.
      • setKernelUnitLength

        void setKernelUnitLength​(double[] kernelUnitLength)
        Sets the min [dx,dy] distance in user space for evaluation of the sobel gradient. If set to zero or null then device space will be used.