rendered3D
Class Object3D.ShadedCylinder3D
java.lang.Object
rendered3D.Object3D.Generic3D
rendered3D.Object3D.Line3D
rendered3D.Object3D.Cylinder3D
rendered3D.Object3D.ShadedCylinder3D
- All Implemented Interfaces:
- Shape3D
- Enclosing class:
- Object3D
public class Object3D.ShadedCylinder3D
- extends Object3D.Cylinder3D
Method Summary |
void |
draw(java.awt.Graphics g,
java.awt.image.BufferedImage image_buffer)
|
void |
setColor(java.awt.Color c)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Object3D.ShadedCylinder3D
public Object3D.ShadedCylinder3D(Point3D a,
Point3D b,
double r)
- Parameters:
a
- b
- r
-
Object3D.ShadedCylinder3D
public Object3D.ShadedCylinder3D(Point3D a,
Point3D b,
java.awt.Color c,
double r)
- Parameters:
a
- b
- c
- r
-
Object3D.ShadedCylinder3D
public Object3D.ShadedCylinder3D(Point3D a,
Point3D b,
int[][] rgba,
double r)
- Parameters:
a
- b
- rgba
- r
-
Object3D.ShadedCylinder3D
public Object3D.ShadedCylinder3D(java.util.StringTokenizer k,
java.util.ArrayList p)
- Parameters:
k
- p
-
setColor
public void setColor(java.awt.Color c)
- Overrides:
setColor
in class Object3D.Generic3D
- Parameters:
c
-
draw
public void draw(java.awt.Graphics g,
java.awt.image.BufferedImage image_buffer)
- Specified by:
draw
in interface Shape3D
- Overrides:
draw
in class Object3D.Cylinder3D
- Parameters:
g
- image_buffer
-