|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sunflow.core.filter.TriangleFilter
public class TriangleFilter
Constructor Summary | |
---|---|
TriangleFilter()
|
Method Summary | |
---|---|
float |
get(float x,
float y)
Get value of the filter at offset (x, y). |
float |
getSize()
Width in pixels of the filter extents. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TriangleFilter()
Method Detail |
---|
public float getSize()
Filter
+/- getSize() / 2
around
the center of the pixel.
getSize
in interface Filter
public float get(float x, float y)
Filter
get
in interface Filter
x
- x offset in pixelsy
- y offset in pixels
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |