rendered3D
Class Object3D.Image3D
java.lang.Object
rendered3D.Object3D.Generic3D
rendered3D.Object3D.Image3D
- All Implemented Interfaces:
- Shape3D
- Enclosing class:
- Object3D
public class Object3D.Image3D
- extends Object3D.Generic3D
- implements Shape3D
Method Summary |
Shape3D |
cloneto(Point3D[] oldpoints,
java.util.ArrayList newpoints)
|
void |
draw(java.awt.Graphics g,
java.awt.image.BufferedImage image_buffer)
|
void |
initRGB(java.awt.image.BufferedImage image)
|
int |
setDepth()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Object3D.Image3D
public Object3D.Image3D(Point3D[] p,
java.awt.image.BufferedImage b)
- Parameters:
p
- b
-
Object3D.Image3D
public Object3D.Image3D(Point3D[] p,
java.lang.String b)
- Parameters:
p
- b
-
Object3D.Image3D
public Object3D.Image3D(Point3D p0,
Point3D p1,
Point3D p2,
Point3D p3,
int[][] newrgb)
- Parameters:
p0
- p1
- p2
- p3
- newrgb
-
Object3D.Image3D
public Object3D.Image3D(java.util.StringTokenizer k,
java.util.ArrayList p)
- Parameters:
k
- p
-
initRGB
public void initRGB(java.awt.image.BufferedImage image)
- Parameters:
image
-
setDepth
public int setDepth()
- Specified by:
setDepth
in interface Shape3D
- Returns:
cloneto
public Shape3D cloneto(Point3D[] oldpoints,
java.util.ArrayList newpoints)
- Specified by:
cloneto
in interface Shape3D
- Parameters:
oldpoints
- newpoints
-
- Returns:
draw
public void draw(java.awt.Graphics g,
java.awt.image.BufferedImage image_buffer)
- Specified by:
draw
in interface Shape3D
- Parameters:
g
- image_buffer
-