|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.chart2D.series.ContourStrategy<ChartProjector>
public class ContourStrategy<ChartProjector extends Projector> extends java.lang.Object implements java.io.Serializable
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ContourStrategy.Line2D
|
| Modifier and Type | Field and Description |
|---|---|
protected int |
columns
|
protected java.util.ArrayList<Point3D> |
dataPoints
|
protected MetaDataModel |
metaModel
|
protected java.util.Map<DataColumnType,MinMaxValues> |
minMaxValues
|
protected Point3D[][] |
points
|
protected int |
rows
|
protected java.util.ArrayList<lt.monarch.chart.chart2D.series.ContourStrategy.Triangle> |
triangles
|
protected AxisMapper |
xMapper
|
protected AxisMapper |
yMapper
|
protected AxisMapper |
zMapper
|
| Constructor and Description |
|---|
ContourStrategy()
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
circumcircle(double xp,
double yp,
double x1,
double y1,
double x2,
double y2,
double x3,
double y3)
Return TRUE if a point (xp,yp) is inside the circumcircle made up of the points (x1,y1), (x2,y2), (x3,y3) The circumcircle center is returned in (xc,yc) and the radius r NOTE: A point on the edge is inside the circumcircle |
LegendEntry[] |
createLegendEntries(ContourSeries series,
int entriesCount)
Creates an array of legend entries with symbols corresponding the palette. |
LegendEntry[] |
createLegendEntries(ContourSeries series,
int entriesCount,
int legendEntriesCount)
Creates an array of legend entries with symbols corresponding the palette. |
LegendEntry[] |
createLegendEntries(ContourSeries series,
int entriesCount,
int legendEntriesCount,
java.lang.String pattern)
Creates an array of legend entries with symbols corresponding the palette. |
LegendEntry[] |
createLegendEntries(ContourSeries series,
int entriesCount,
java.lang.String pattern)
Creates an array of legend entries with symbols corresponding the palette. |
void |
dispose()
|
void |
draw(AbstractGraphics g,
Projector projector,
PlaneMapper mapper,
HotSpotMap hotMap,
Style style,
ContourSeries series)
|
java.util.Locale |
getLocale()
Return locale of charts |
double |
getMax()
Gets maximum value |
double |
getMin()
Gets minimum value |
protected java.util.Map<DataColumnType,MinMaxValues> |
getMinMaxValues()
Gets the minMaxValues value |
double |
getRxmax()
|
double |
getRxmin()
|
double |
getRymax()
|
double |
getRymin()
|
void |
preprocesing(MatrixDataModel model,
AxisMapper zMapper)
|
void |
setLocale(java.util.Locale locale)
Set locale of chart |
void |
setRxmax(double rxmax)
|
void |
setRxmin(double rxmin)
|
void |
setRymax(double rymax)
|
void |
setRymin(double rymin)
|
protected void |
updateLegendStyle(ContourSeries series)
Update legend style |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected MetaDataModel metaModel
protected AxisMapper xMapper
protected AxisMapper yMapper
protected AxisMapper zMapper
protected Point3D[][] points
protected java.util.ArrayList<Point3D> dataPoints
protected java.util.ArrayList<lt.monarch.chart.chart2D.series.ContourStrategy.Triangle> triangles
protected java.util.Map<DataColumnType,MinMaxValues> minMaxValues
protected int rows
protected int columns
| Constructor Detail |
|---|
public ContourStrategy()
| Method Detail |
|---|
public void preprocesing(MatrixDataModel model,
AxisMapper zMapper)
public void draw(AbstractGraphics g,
Projector projector,
PlaneMapper mapper,
HotSpotMap hotMap,
Style style,
ContourSeries series)
protected boolean circumcircle(double xp,
double yp,
double x1,
double y1,
double x2,
double y2,
double x3,
double y3)
public void dispose()
public LegendEntry[] createLegendEntries(ContourSeries series,
int entriesCount,
int legendEntriesCount)
legendEntriesCount - number of legend entries
public LegendEntry[] createLegendEntries(ContourSeries series,
int entriesCount,
int legendEntriesCount,
java.lang.String pattern)
legendEntriesCount - number of legend entriespattern - The number format pattern
public LegendEntry[] createLegendEntries(ContourSeries series,
int entriesCount,
java.lang.String pattern)
pattern - The number format patternprotected void updateLegendStyle(ContourSeries series)
public LegendEntry[] createLegendEntries(ContourSeries series,
int entriesCount)
public java.util.Locale getLocale()
public void setLocale(java.util.Locale locale)
locale - the locale to setpublic double getMin()
public double getMax()
protected java.util.Map<DataColumnType,MinMaxValues> getMinMaxValues()
public double getRxmax()
public void setRxmax(double rxmax)
rxmax - the rxmax to setpublic double getRymax()
public void setRymax(double rymax)
rymax - the rymax to setpublic double getRxmin()
public void setRxmin(double rxmin)
rxmin - the rxmin to setpublic double getRymin()
public void setRymin(double rymin)
rymin - the rymin to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||