|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjv.objectGui.PsScanline
Utility class with rasterization algorithms on pixel images.
| Field Summary | |
float[][] |
aAnteile
float[3][>=#scanlines]. |
float[][] |
eAnteile
float[3][>=#scanlines]. |
int |
length
Number of scanlines. |
int[] |
xa
X-coordinates of scanlines. xa: head, xe: tail, both inclusive. |
int[] |
xe
X-coordinates of scanlines. xa: head, xe: tail, both inclusive. |
int |
ymin
First y-coordinate, die weiteren sind folgerichtig ymin+i fuer die i-te scanline |
| Constructor Summary | |
PsScanline()
|
|
| Method Summary | |
void |
makeScanlines(int x0,
int y0,
int x1,
int y1,
int x2,
int y2)
A triangle in pixel space is digitized in a set of horizontal scanlines. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public int[] xa
length.
public int[] xe
length.
public float[][] aAnteile
public float[][] eAnteile
public int length
public int ymin
| Constructor Detail |
public PsScanline()
| Method Detail |
public void makeScanlines(int x0,
int y0,
int x1,
int y1,
int x2,
int y2)
x0 - x-pixel coordinate of first vertex of a triangle.y0 - y-pixel coordinate of first vertex of a triangle.x1 - x-pixel coordinate of second vertex of a triangle.y1 - y-pixel coordinate of second vertex of a triangle.x2 - x-pixel coordinate of third vertex of a triangle.y2 - y-pixel coordinate of third vertex of a triangle.
|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||