|
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.ProcessGrid
Class that controls the drawing order for a grid data set.
Field Summary | |
protected com.klg.jclass.chart3d.DrawGrid |
drawGrid
Parent DrawGrid object |
protected com.klg.jclass.chart3d.Facet |
facet
The facet processing object |
static int |
MAX_POINTS
The max number of points to be drawn at one time during a fast mesh draw |
Constructor Summary | |
ProcessGrid()
Null constructor. |
|
ProcessGrid(com.klg.jclass.chart3d.DrawGrid drawGrid)
Constructor that specifies the parent DrawGrid object. |
Method Summary | |
protected void |
drawFastMesh(Graphics gc)
Draws the mesh as fast as possible. |
protected void |
flushLines(com.klg.jclass.chart3d.ScreenPoint[] pts,
int n,
Graphics gc)
Draws the list of lines represented by the given point list. |
protected com.klg.jclass.chart3d.DrawGrid |
getDrawGrid()
Get the parent DrawGrid object |
protected com.klg.jclass.chart3d.Facet |
getFacet()
Get the facet processing object |
protected void |
processGrid(int iFirst,
int iLast,
int iDelta,
int jFirst,
int jLast,
int jDelta,
int edges)
Process the rectangular portion of the grid region defined by the first and last indices in either X major or Y major order. |
void |
processGridRegion(com.klg.jclass.chart3d.GridRegion gridRegion)
Process facets in the grid based on the order specified by gridRegion (@see GridRegion). |
protected void |
processX(int j0,
int iFirst,
int iLast,
int iDelta,
int edges)
Process an X range for a fixed Y grid value |
protected void |
processXY(int iFirst,
int iLast,
int iDelta,
int jFirst,
int jLast,
int jDelta,
int edges)
Process the grid in X major order. |
protected void |
processY(int i0,
int jFirst,
int jLast,
int jDelta,
int edges)
Process an Y range for a fixed X grid value |
protected void |
processYX(int iFirst,
int iLast,
int iDelta,
int jFirst,
int jLast,
int jDelta,
int edges)
Process the grid in Y major order. |
protected void |
setDrawGrid(com.klg.jclass.chart3d.DrawGrid drawGrid)
Set the parent DrawGrid object |
void |
setFacet(com.klg.jclass.chart3d.Facet facet)
Set the facet processing object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int MAX_POINTS
protected com.klg.jclass.chart3d.DrawGrid drawGrid
protected com.klg.jclass.chart3d.Facet facet
Constructor Detail |
public ProcessGrid()
public ProcessGrid(com.klg.jclass.chart3d.DrawGrid drawGrid)
drawGrid
- The parent DrawGrid objectMethod Detail |
protected com.klg.jclass.chart3d.DrawGrid getDrawGrid()
protected void setDrawGrid(com.klg.jclass.chart3d.DrawGrid drawGrid)
drawGrid
- The new parent DrawGrid objectprotected com.klg.jclass.chart3d.Facet getFacet()
public void setFacet(com.klg.jclass.chart3d.Facet facet)
facet
- The new facet processing objectpublic void processGridRegion(com.klg.jclass.chart3d.GridRegion gridRegion)
gridRegion
- The object which defines how the grid is split up into
drawing regions.protected void processXY(int iFirst, int iLast, int iDelta, int jFirst, int jLast, int jDelta, int edges)
iFirst
- The index of the first facet of the region in the X directioniLast
- The index of the last facet of the region in the X directioniDelta
- The X increment (could be 1 or -1)jFirst
- The index of the first facet of the region in the Y directionjLast
- The index of the last facet of the region in the Y directionjDelta
- The Y increment (could be 1 or -1)edges
- The grid region that the facet is in.protected void processYX(int iFirst, int iLast, int iDelta, int jFirst, int jLast, int jDelta, int edges)
iFirst
- The index of the first facet of the region in the X directioniLast
- The index of the last facet of the region in the X directioniDelta
- The X increment (could be 1 or -1)jFirst
- The index of the first facet of the region in the Y directionjLast
- The index of the last facet of the region in the Y directionjDelta
- The Y increment (could be 1 or -1)edges
- The grid region that the facet is in.protected void processGrid(int iFirst, int iLast, int iDelta, int jFirst, int jLast, int jDelta, int edges)
iFirst
- The index of the first facet of the region in the X directioniLast
- The index of the last facet of the region in the X directioniDelta
- The X increment (could be 1 or -1)jFirst
- The index of the first facet of the region in the Y directionjLast
- The index of the last facet of the region in the Y directionjDelta
- The Y increment (could be 1 or -1)edges
- The grid region that the facet is in.protected void processX(int j0, int iFirst, int iLast, int iDelta, int edges)
j0
- The fixed X grid valueiFirst
- The index of the first facet of the region in the X directioniLast
- The index of the last facet of the region in the X directioniDelta
- The X increment (could be 1 or -1)edges
- The grid region that the facet is in.protected void processY(int i0, int jFirst, int jLast, int jDelta, int edges)
i0
- The fixed X grid valuejFirst
- The index of the first facet of the region in the Y directionjLast
- The index of the last facet of the region in the Y directionjDelta
- The Y increment (could be 1 or -1)edges
- The grid region that the facet is in.protected void flushLines(com.klg.jclass.chart3d.ScreenPoint[] pts, int n, Graphics gc)
pts
- The list of pointsn
- The number of points within the list to drawgc
- The graphics object used to drawprotected void drawFastMesh(Graphics gc)
gc
- The graphics object used to draw
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |