|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gwoptics.graphics.colourmap.RGBColourmap
org.gwoptics.graphics.colourmap.presets.GrayScaleColourmap
public final class GrayScaleColourmap
GrayScaleColourmap extends RGBColourmap and is a gradient of black at 0.0 to white at 1.0. This map must be generated using generateColourmap() before use.
RGBColourmap.generateColourmap()| Constructor Summary | |
|---|---|
GrayScaleColourmap(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.RGBColourmap |
|---|
addNode, generateColourmap, getColourAtLocation, getIntAtLocation, getNode, getNodeCount, isCentreAtZero, isGenerated, removeNode, setCentreAtZero, setNode |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GrayScaleColourmap(boolean generateMapNow)
SurfaceGraph3D.addSurfaceTrace(new IGraph3DCallback(){
public float computePoint(float X, float Z) {
return -(X*X + Z*Z);
}}, 100, 100, new GrayScaleColourmap(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 | ||||||||