public class PixelStackPaperType3D extends RgbPaperType3D
At each XY position it stores a list of pixels which have been plotted there. Each element in the list contains Z-coordinate, RGB and alpha values, packed efficiently. When all the glyphs have been painted, the list at each XY position is examined, the pixels in that list are sorted by Z-coordinate, and compositing takes place from front to back.
RgbPaperType3D.RgbPaper3D
RgbPaperType.RgbPaper
Constructor and Description |
---|
PixelStackPaperType3D(Compositor compositor,
float minAlpha)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected RgbPaperType3D.RgbPaper3D |
createPaper3D(Rectangle bounds)
Creates a 3D paper object for given bounds.
|
createPaper, placeGlyph
createDataIcon, isBitmap, placeDecal, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createDataIcon, isBitmap, placeDecal
public PixelStackPaperType3D(Compositor compositor, float minAlpha)
compositor
- compositing strategy for combining
transparent pixelsminAlpha
- the smallest alpha value that can be represented
for glyphsprotected RgbPaperType3D.RgbPaper3D createPaper3D(Rectangle bounds)
RgbPaperType3D
createPaper3D
in class RgbPaperType3D
bounds
- plot boundsCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.