logo


rendered3D
Class Object3D.Generic3D

java.lang.Object
  extended by rendered3D.Object3D.Generic3D
Direct Known Subclasses:
Object3D.Circle3D, Object3D.ColoredPoint3D, Object3D.Image3D, Object3D.Line3D, Object3D.Outline3D, Object3D.RotateableText3D, Object3D.StationaryImage3D
Enclosing class:
Object3D

public class Object3D.Generic3D
extends java.lang.Object


Constructor Summary
Object3D.Generic3D()
 
Method Summary
 void applyColor(java.awt.Graphics G)
 int depth()
 java.awt.Color getColor()
 int getComponentRGBA()
 int[] getRGBA()
 int getUnshadedRGBA()
 void setColor(java.awt.Color c)
 void setColor(int r, int g, int b, int a)
 int setDepth(int d)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Object3D.Generic3D

public Object3D.Generic3D()
Method Detail

setDepth

public int setDepth(int d)
Parameters:
d -
Returns:

depth

public int depth()
Returns:

setColor

public void setColor(java.awt.Color c)
Parameters:
c -

setColor

public void setColor(int r,
                     int g,
                     int b,
                     int a)
Parameters:
r -
g -
b -
a -

getColor

public java.awt.Color getColor()
Returns:

getRGBA

public int[] getRGBA()
Returns:

getComponentRGBA

public int getComponentRGBA()
Returns:

getUnshadedRGBA

public int getUnshadedRGBA()
Returns:

applyColor

public void applyColor(java.awt.Graphics G)
Parameters:
G -