rendered3D
Class Object3D
java.lang.Object
rendered3D.Object3D
- Direct Known Subclasses:
- Tree3D1
public class Object3D
- extends java.lang.Object
|
Constructor Summary |
Object3D(java.io.BufferedReader b)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
radix_percision_constant
public static final double radix_percision_constant
- See Also:
- Constant Field Values
Object3D
public Object3D(java.io.BufferedReader b)
- Parameters:
b -
parseColor
public java.awt.Color parseColor(java.util.StringTokenizer k)
- Parameters:
k -
- Returns:
smooth
public Object3D smooth()
- Returns:
draw
public void draw(java.awt.Graphics g,
java.awt.image.BufferedImage image_buffer,
int x_offset,
int y_offset,
int z_offset)
- Parameters:
g - image_buffer - x_offset - y_offset - z_offset -
rotatex
public void rotatex(double t)
- Parameters:
t -
rotatey
public void rotatey(double t)
- Parameters:
t -
rotatez
public void rotatez(double t)
- Parameters:
t -
shiftx
public void shiftx(double dx)
- Parameters:
dx -
shifty
public void shifty(double dy)
- Parameters:
dy -
shiftz
public void shiftz(double dz)
- Parameters:
dz -
scalex
public void scalex(double dx)
- Parameters:
dx -
scaley
public void scaley(double dy)
- Parameters:
dy -
scalez
public void scalez(double dz)
- Parameters:
dz -
scale
public void scale(double a)
- Parameters:
a -
getPoints
public Point3D[] getPoints()
- Returns:
getMasterRotateablePoints
public Object3D.RotateablePoint3D[] getMasterRotateablePoints()
- Returns:
getMasterInterpolatedPoints
public Object3D.InterpolatedPoint3D[] getMasterInterpolatedPoints()
- Returns:
getShapes
public Shape3D[] getShapes()
- Returns:
recenter
public void recenter(int i)
- Parameters:
i -
nearest
public void nearest(double thresh)
- Parameters:
thresh -
convexHull
public Object3D convexHull()
- Returns:
hilightpoints
public Object3D hilightpoints(int color)
- Parameters:
color -
- Returns:
merge
public Object3D merge(Object3D o)
- Parameters:
o -
- Returns: