uk.ac.starlink.ttools.plot2.paper
Interface PaperType3D

All Superinterfaces:
PaperType
All Known Implementing Classes:
MonoPaperType, PixelStackPaperType3D, RgbPaperType3D, SortedPaperType3D, ZBufferPaperType3D

public interface PaperType3D
extends PaperType

PaperType sub-interface for making 3-dimensional plots.

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.

Since:
14 Feb 2013
Author:
Mark Taylor

Method Summary
 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.
 
Methods inherited from interface uk.ac.starlink.ttools.plot2.paper.PaperType
createDataIcon, isBitmap, placeDecal
 

Method Detail

placeGlyph

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.

Parameters:
paper - graphics destination specific to this PaperType
gx - graphics X coordinate
gy - graphics Y coordinate
dz - Z-buffer coordinate; lower values are closer to the viewer
glyph - graphics shape
color - colour for glyph


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.