Class BufferedImageMapper
- java.lang.Object
-
- org.jzy3d.plot3d.builder.Mapper
-
- org.jzy3d.plot3d.builder.concrete.BufferedImageMapper
-
public class BufferedImageMapper extends Mapper
Mapper which reads height information from the grayscale values of a BufferedImage, normalized to range [0..1].- Author:
- Nils Hoffmann
-
-
Constructor Summary
Constructors Constructor Description BufferedImageMapper(BufferedImage bi)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
f(double x, double y)
Rectangle
getClippedViewport(Rectangle roi)
Returns the intersection of this BufferedImage's dimensions with those passed in in Rectangle roi, if there is one.-
Methods inherited from class org.jzy3d.plot3d.builder.Mapper
f, f, fAsFloat, fAsFloat, fAsFloat, fAsFloat, remap, remapDrawable, remapPolygon
-
-
-
-
Constructor Detail
-
BufferedImageMapper
public BufferedImageMapper(BufferedImage bi)
-
-