public abstract class Ilv3DPaint extends Object implements Paint
Modifier and Type | Field and Description |
---|---|
protected ColorModel |
LinearARGBColorModel |
BITMASK, OPAQUE, TRANSLUCENT
Constructor and Description |
---|
Ilv3DPaint() |
Modifier and Type | Method and Description |
---|---|
protected PaintContext |
createContext(ColorModel cm,
Rectangle deviceBounds,
Rectangle2D userBounds,
AffineTransform transform,
ilog.views.chart.view3d.Ilv3DTransform transform3D,
ilog.views.chart.view3d.Ilv3DVector planeNormal,
double planeConstant,
RenderingHints hints)
Creates and return a
PaintContext used to generate the color
pattern for a piece of the scene that lies on a given plane. |
Paint |
createPlaneRestrictedPaint(ilog.views.chart.view3d.Ilv3DTransform transform3D,
ilog.views.chart.view3d.Ilv3DVector planeNormal,
double planeConstant)
Creates and returns a
Paint that can be used to generate the color
pattern for a piece of the scene that lies on a given plane. |
abstract int |
getPixelARGB(int xd,
int yd,
double xu,
double yu,
double zu,
double x3d,
double y3d,
double z3d)
Returns the color, as an ARGB-encoded integer, of the given pixel.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createContext
getTransparency
protected final ColorModel LinearARGBColorModel
public abstract int getPixelARGB(int xd, int yd, double xu, double yu, double zu, double x3d, double y3d, double z3d)
protected PaintContext createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform transform, ilog.views.chart.view3d.Ilv3DTransform transform3D, ilog.views.chart.view3d.Ilv3DVector planeNormal, double planeConstant, RenderingHints hints)
PaintContext
used to generate the color
pattern for a piece of the scene that lies on a given plane.cm
- The ColorModel
that receives the data. This is only a
hint.deviceBounds
- The bounding box in device space.userBounds
- The bounding box in user space.transform
- The AffineTransform
that maps user space
coordinates to device space coordinates.transform3D
- The 3D transformation of the view.planeNormal
- The normal vector of the given plane.planeConstant
- The constant part of the plane's equation.hints
- The set of hints in use for rendering.Paint.createContext(java.awt.image.ColorModel, java.awt.Rectangle, java.awt.geom.Rectangle2D, java.awt.geom.AffineTransform, java.awt.RenderingHints)
,
PaintContext
public Paint createPlaneRestrictedPaint(ilog.views.chart.view3d.Ilv3DTransform transform3D, ilog.views.chart.view3d.Ilv3DVector planeNormal, double planeConstant)
Paint
that can be used to generate the color
pattern for a piece of the scene that lies on a given plane.transform3D
- The 3D transformation of the view.planeNormal
- The normal vector of the given plane.planeConstant
- The constant part of the plane's equation.Paint
object that can be used for the points in the
given plane.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.