Class Graphics3D
java.lang.Object
Graphics3D
public class Graphics3D
- extends java.lang.Object
|
Constructor Summary |
Graphics3D(int[] pixels,
int width,
int height)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Graphics3D
public Graphics3D(int[] pixels,
int width,
int height)
getColor
public java.awt.Color getColor()
getModelTransform
public Transform getModelTransform()
getViewTransform
public Transform getViewTransform()
getProjectionTransform
public Transform getProjectionTransform()
getViewFrameTransform
public Transform getViewFrameTransform()
setLighting
public LightModel setLighting()
setColor
public void setColor(java.awt.Color c)
setModelTransform
public void setModelTransform(Transform t)
setViewTransform
public void setViewTransform(Transform t)
setProjectionTransform
public void setProjectionTransform(Transform t)
setViewFrameTransform
public void setViewFrameTransform(Transform t)
setLighting
public void setLighting(LightModel l)
drawPolygon
public void drawPolygon(Point[] polygonPts,
Vector normal)