|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gwoptics.graphics.colourmap.EquationColourmap org.gwoptics.graphics.colourmap.presets.FlipColourmap
public final class FlipColourmap
FlipColourmap extends RGBColourmap and is a custom made map with black in the center and bright for smaller and a larger values. This map must be generated using generateColourmap() before use.
History
Version 0.2.4 sees the addition of EquationColourmap class, FlipColourmap is changed to extend this class and provide the static IColourmapEquation FlipEquation to generate the colourmap.
EquationColourmap.generateColourmap()
Constructor Summary | |
---|---|
FlipColourmap(boolean generateMapNow)
If you require the colourmap to be generated now rather than later by calling generateColourmap() manually set generateMapNow to true. |
Method Summary |
---|
Methods inherited from class org.gwoptics.graphics.colourmap.EquationColourmap |
---|
generateColourmap, getColourAtLocation, getIntAtLocation, isCentreAtZero, isGenerated, setCentreAtZero |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FlipColourmap(boolean generateMapNow)
SurfaceGraph3D.addSurfaceTrace(new IGraph3DCallback(){
public float computePoint(float X, float Z) {
return -(X*X + Z*Z);
}}, 100, 100, new FlipColourmap(true));
generateMapNow
- Boolean value stating whether to generate map now or not.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |