Class RgbPaperType3D.RgbPaper3D
java.lang.Object
uk.ac.starlink.ttools.plot2.paper.RgbPaperType.RgbPaper
uk.ac.starlink.ttools.plot2.paper.RgbPaperType3D.RgbPaper3D
- All Implemented Interfaces:
Paper
- Enclosing class:
RgbPaperType3D
Paper for use by this type.
- Since:
- 14 Feb 2013
- Author:
- Mark Taylor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidplacePixels(int xoff, int yoff, double dz, Pixer pixer, Color color) Paints the pixels of a pixel iterator in a given colour at a given 3d position.Methods inherited from class RgbPaperType.RgbPaper
flush, getBounds, getPaperType, getPixelIndex, getRgbImage, placeDecalMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Paper
canMerge, createSheet, mergeSheet
-
Constructor Details
-
RgbPaper3D
-
-
Method Details
-
placePixels
Paints the pixels of a pixel iterator in a given colour at a given 3d position. Subclasses implement this method to perform the actual pixel compositing. The supplied pixer will already have been clipped, so implementations don't need to worry about checking the positions are within the bounds of this paper. Implementations can (and usually should) use theRgbPaperType.RgbPaper.getPixelIndex(int, int, Pixer)method to address pixels of the RgbImage buffer.- Parameters:
xoff- X graphics offsetyoff- Y graphics offsetdz- depth coordinate, lower value means closer to viewerpixer- clipped pixel iterator, not nullcolor- painting colour
-