Package com.jhlabs.image
Class ShadeFilter
java.lang.Object
com.jhlabs.image.AbstractBufferedImageOp
com.jhlabs.image.WholeImageFilter
com.jhlabs.image.ShadeFilter
- All Implemented Interfaces:
BufferedImageOp
,Serializable
,Cloneable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
protected static final float
Fields inherited from class com.jhlabs.image.WholeImageFilter
originalSpace, transformedSpace
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected int[]
filterPixels
(int width, int height, int[] inPixels, Rectangle transformedSpace) float
float
int
void
setBumpFunction
(Function2D bumpFunction) void
setBumpHeight
(float bumpHeight) void
setBumpSoftness
(float bumpSoftness) void
setBumpSource
(int bumpSource) void
setEnvironmentMap
(BufferedImage environmentMap) protected void
setFromRGB
(Color4f c, int argb) toString()
Methods inherited from class com.jhlabs.image.WholeImageFilter
filter, transformSpace
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
-
Field Details
-
COLORS_FROM_IMAGE
public static final int COLORS_FROM_IMAGE- See Also:
-
COLORS_CONSTANT
public static final int COLORS_CONSTANT- See Also:
-
BUMPS_FROM_IMAGE
public static final int BUMPS_FROM_IMAGE- See Also:
-
BUMPS_FROM_IMAGE_ALPHA
public static final int BUMPS_FROM_IMAGE_ALPHA- See Also:
-
BUMPS_FROM_MAP
public static final int BUMPS_FROM_MAP- See Also:
-
BUMPS_FROM_BEVEL
public static final int BUMPS_FROM_BEVEL- See Also:
-
r255
protected static final float r255- See Also:
-
-
Constructor Details
-
ShadeFilter
public ShadeFilter()
-
-
Method Details
-
setBumpFunction
-
getBumpFunction
-
setBumpHeight
public void setBumpHeight(float bumpHeight) -
getBumpHeight
public float getBumpHeight() -
setBumpSoftness
public void setBumpSoftness(float bumpSoftness) -
getBumpSoftness
public float getBumpSoftness() -
setEnvironmentMap
-
getEnvironmentMap
-
setBumpSource
public void setBumpSource(int bumpSource) -
getBumpSource
public int getBumpSource() -
setFromRGB
-
filterPixels
- Specified by:
filterPixels
in classWholeImageFilter
-
toString
-