|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.klg.jclass.chart3d.FacetAbstract
|
+--com.klg.jclass.chart3d.SurfaceFacet
Draws facets for charts of type surface.
| Field Summary | |
protected com.klg.jclass.chart3d.DrawFacet |
drawFacet
|
static int |
FP_0_CODE
|
static int |
FP_1_CODE
|
static int |
FP_2_CODE
|
static int |
FP_3_CODE
|
static int |
FP_A_CODE
|
static int |
FP_B_CODE
|
static int |
FP_C_CODE
|
static int |
FP_D_CODE
|
static int |
FP_H_CODE
|
static int |
FP_S_CODE
|
| Fields inherited from class com.klg.jclass.chart3d.FacetAbstract |
data, drawGrid, xPoints, yPoints |
| Constructor Summary | |
SurfaceFacet(com.klg.jclass.chart3d.DrawGrid drawGrid,
com.klg.jclass.chart3d.DrawFacet drawFacet)
Constructor that stores the parent DrawGrid object and sets the
drawFacet. |
|
| Method Summary | |
protected void |
drawBottomOfSkirt(int xBegin,
int xEnd,
int yBegin,
int yEnd)
Draws the portion of the skirt that is on the bottom of the cube (i.e. |
protected void |
drawCornerRegionFacet(com.klg.jclass.chart3d.ScreenPoint[] spts,
int i,
int j,
int k,
int l,
int holeCode,
int x,
int y)
Draws a facet that is in one of the four corner regions. |
protected void |
drawEdgeRegionFacet(com.klg.jclass.chart3d.ScreenPoint[] spts,
int i,
int j,
int k,
int l,
int holeCode,
int x,
int y)
Draws facets that are part of the four edge regions. |
protected void |
drawFacetFromScreenPoints(com.klg.jclass.chart3d.ScreenPoint[] spts,
int holeCode,
int x,
int y)
Setup integer arrays for drawing from a ScreenPoint array |
protected void |
drawSolid(com.klg.jclass.chart3d.GridRegion gridRegion)
Draws the solid portion of the graph (if specified) by drawing the appropriate x and y skirt and finally the bottom of the skirt. |
protected void |
drawXSkirt(int y,
int yp,
int xBegin,
int xEnd)
Draws a skirt along the X axis. |
protected void |
drawYSkirt(int x,
int xp,
int yBegin,
int yEnd)
Draws a skirt along the Y axis. |
protected void |
dropSkirt(int x1,
int y1,
int x2,
int y2)
Draws interior skirt between (x1,y1) and (x2,y2) |
protected int |
isOdd(int i)
Is the passed in parameter odd? |
protected com.klg.jclass.chart3d.ScreenPoint |
makeZMinPoint(int x,
int y)
Makes a point that is at the current gric point but has a z value that is at the z axis min. |
protected int |
neighbourTest(int fCode,
int x,
int y)
Tests the neighbouring cells for holes which might affect the sides of this cell. |
void |
processFacet(int x,
int y,
int edges)
Draws the facet for (x, y) based on the region passed in thru "edges". |
protected com.klg.jclass.chart3d.ScreenPoint |
quadCenter(int x,
int y)
Returns the screen point of the center point of the quad. |
protected boolean |
testSelfOcclude(long x1,
long y1,
long x2,
long y2,
long x3,
long y3,
long x4,
long y4)
Does this facet occlude itself? |
| Methods inherited from class com.klg.jclass.chart3d.FacetAbstract |
fillPointArrays, getDrawGrid, getScreenPoint, setDrawGrid |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int FP_0_CODE
public static final int FP_1_CODE
public static final int FP_2_CODE
public static final int FP_3_CODE
public static final int FP_H_CODE
public static final int FP_A_CODE
public static final int FP_B_CODE
public static final int FP_C_CODE
public static final int FP_D_CODE
public static final int FP_S_CODE
protected com.klg.jclass.chart3d.DrawFacet drawFacet
| Constructor Detail |
public SurfaceFacet(com.klg.jclass.chart3d.DrawGrid drawGrid,
com.klg.jclass.chart3d.DrawFacet drawFacet)
DrawGrid object and sets the
drawFacet.
drawGrid - The parent DrawGrid objectdrawFacet - | Method Detail |
protected void drawFacetFromScreenPoints(com.klg.jclass.chart3d.ScreenPoint[] spts,
int holeCode,
int x,
int y)
ScreenPoint array
spts - holeCode - x - y -
public void processFacet(int x,
int y,
int edges)
processFacet in interface FacetprocessFacet in class FacetAbstractx - y - edges - protected int isOdd(int i)
i -
protected void drawEdgeRegionFacet(com.klg.jclass.chart3d.ScreenPoint[] spts,
int i,
int j,
int k,
int l,
int holeCode,
int x,
int y)
spts - i - j - k - l - holeCode - x - y -
protected void drawCornerRegionFacet(com.klg.jclass.chart3d.ScreenPoint[] spts,
int i,
int j,
int k,
int l,
int holeCode,
int x,
int y)
spts - i - j - k - l - holeCode - x - y -
protected com.klg.jclass.chart3d.ScreenPoint quadCenter(int x,
int y)
x - y -
protected com.klg.jclass.chart3d.ScreenPoint makeZMinPoint(int x,
int y)
x - y -
protected boolean testSelfOcclude(long x1,
long y1,
long x2,
long y2,
long x3,
long y3,
long x4,
long y4)
x1 - y1 - x2 - y2 - x3 - y3 - x4 - y4 -
protected int neighbourTest(int fCode,
int x,
int y)
fCode - x - y -
protected void dropSkirt(int x1,
int y1,
int x2,
int y2)
x1 - y1 - x2 - y2 -
protected void drawXSkirt(int y,
int yp,
int xBegin,
int xEnd)
y - yp - xBegin - xEnd -
protected void drawYSkirt(int x,
int xp,
int yBegin,
int yEnd)
x - xp - yBegin - yEnd -
protected void drawBottomOfSkirt(int xBegin,
int xEnd,
int yBegin,
int yEnd)
xBegin - xEnd - yBegin - yEnd - protected void drawSolid(com.klg.jclass.chart3d.GridRegion gridRegion)
gridRegion -
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||