|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IColorMap
ColorMap interface.
This interface defines the set of methods that any concrete colormap should define in order to be used by an object implementing the ColorMappable interface. The ColorMappable interface impose to an object to provide a Z-scaling, that is, a minimum and maximum value on the Z axis. These values are used by concrete colormaps in order to set an interval for the possible colors.
Method Summary | |
---|---|
Color |
getColor(IColorMappable colorable,
float v)
|
Color |
getColor(IColorMappable colorable,
float x,
float y,
float z)
|
boolean |
getDirection()
|
void |
setDirection(boolean isStandard)
Indicates if the colormap use the standard or reverted color direction |
Method Detail |
---|
Color getColor(IColorMappable colorable, float x, float y, float z)
colorable
- A @link ColorMappable object.x
- y
- z
-
Color getColor(IColorMappable colorable, float v)
colorable
- A @link ColorMappable object.v
- the variable that is Color-dependent, and can be independent of the coordinates.
void setDirection(boolean isStandard)
isStandard
- boolean getDirection()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |