Class Graphics3D

java.lang.Object
  extended by Graphics3D

public class Graphics3D
extends java.lang.Object


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

Constructor Detail

Graphics3D

public Graphics3D(int[] pixels,
                  int width,
                  int height)
Method Detail

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)