public interface PaperType3D extends PaperType
Any decals placed by PaperType.placeDecal(uk.ac.starlink.ttools.plot2.paper.Paper, uk.ac.starlink.ttools.plot2.Decal)
will be painted in the
background first, then any glyphs added by placeGlyph(uk.ac.starlink.ttools.plot2.paper.Paper, double, double, double, uk.ac.starlink.ttools.plot2.Glyph, java.awt.Color)
will be added to the 3D scene, then 3D rendering will be done
obscuring any background decals.
Note this is not really 3D for the decals; bear that in mind when
writing 3D plotters.
Modifier and Type | Method and Description |
---|---|
void |
placeGlyph(Paper paper,
double gx,
double gy,
double dz,
Glyph glyph,
Color color)
Places a glyph at a 3-d position in the space.
|
createDataIcon, isBitmap, placeDecal
void placeGlyph(Paper paper, double gx, double gy, double dz, Glyph glyph, Color color)
paper
- graphics destination specific to this PaperTypegx
- graphics X coordinategy
- graphics Y coordinatedz
- Z-buffer coordinate; lower values are closer to the viewerglyph
- graphics shapecolor
- colour for glyphCopyright © 2023 Central Laboratory of the Research Councils. All Rights Reserved.