|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttracer.ToneMapper
public class ToneMapper
Used for mapping floating point representations of colors into packed-int colors as used by Java. This implementation also supports gamma correction.
Field Summary | |
---|---|
float |
invGamma
|
Constructor Summary | |
---|---|
ToneMapper(float gamma)
|
Method Summary | |
---|---|
int |
map(float r,
float g,
float b)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public float invGamma
Constructor Detail |
---|
public ToneMapper(float gamma)
Method Detail |
---|
public int map(float r, float g, float b)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |