Class PixelStackPaperType3D
java.lang.Object
uk.ac.starlink.ttools.plot2.paper.RgbPaperType
uk.ac.starlink.ttools.plot2.paper.RgbPaperType3D
uk.ac.starlink.ttools.plot2.paper.PixelStackPaperType3D
- All Implemented Interfaces:
PaperType,PaperType3D
Bitmapped 3d PaperType which can render any combination of coloured,
opaque and transparent pixels.
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.
- Since:
- 14 Feb 2013
- Author:
- Mark Taylor
-
Nested Class Summary
Nested classes/interfaces inherited from class uk.ac.starlink.ttools.plot2.paper.RgbPaperType3D
RgbPaperType3D.RgbPaper3DNested classes/interfaces inherited from class uk.ac.starlink.ttools.plot2.paper.RgbPaperType
RgbPaperType.RgbPaper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected RgbPaperType3D.RgbPaper3DcreatePaper3D(Rectangle bounds) Creates a 3D paper object for given bounds.Methods inherited from class uk.ac.starlink.ttools.plot2.paper.RgbPaperType3D
createPaper, placeGlyphMethods inherited from class uk.ac.starlink.ttools.plot2.paper.RgbPaperType
createDataIcon, isBitmap, placeDecal, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface uk.ac.starlink.ttools.plot2.paper.PaperType
createDataIcon, isBitmap, placeDecal
-
Constructor Details
-
PixelStackPaperType3D
Constructor.- Parameters:
compositor- compositing strategy for combining transparent pixelsminAlpha- the smallest alpha value that can be represented for glyphs
-
-
Method Details
-
createPaper3D
Description copied from class:RgbPaperType3DCreates a 3D paper object for given bounds.- Specified by:
createPaper3Din classRgbPaperType3D- Parameters:
bounds- plot bounds- Returns:
- new 3d paper instance
-