protected abstract static class RgbPaperType3D.RgbPaper3D extends RgbPaperType.RgbPaper
Constructor and Description |
---|
RgbPaper3D(PaperType paperType,
java.awt.Rectangle bounds)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
placePixels(int xoff,
int yoff,
double dz,
Pixer pixer,
java.awt.Color color)
Paints the pixels of a pixel iterator in a given colour at a given
3d position.
|
flush, getBounds, getPaperType, getPixelIndex, getRgbImage, placeDecal
public RgbPaper3D(PaperType paperType, java.awt.Rectangle bounds)
paperType
- paper type instance creating this paperbounds
- plot boundsprotected abstract void placePixels(int xoff, int yoff, double dz, Pixer pixer, java.awt.Color color)
RgbPaperType.RgbPaper.getPixelIndex(int, int, uk.ac.starlink.ttools.plot2.Pixer)
method
to address pixels of the RgbImage buffer.xoff
- X graphics offsetyoff
- Y graphics offsetdz
- depth coordinate, lower value means closer to viewerpixer
- clipped pixel iterator, not nullcolor
- painting colourCopyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.