|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.swri.swiftvis.plot.styles.RectangleGridSurface
public final class RectangleGridSurface
This class is a faster method of doing surface plots when the plot points are on a rectangular grid. It also has an advantage over the AveragedSurface that it will plot all of the data points as values and center them at the point locations. This is because each data point gets its own rectangle and doesn't serve as the corner for a region.
Constructor Summary | |
---|---|
RectangleGridSurface(PlotArea2D pa)
|
|
RectangleGridSurface(RectangleGridSurface c,
PlotArea2D pa)
|
Method Summary | |
---|---|
RectangleGridSurface |
copy(PlotArea2D pa)
|
void |
drawToGraphics(java.awt.Graphics2D g,
PlotTransform trans)
This draws the plot into the specified Graphics object. |
double[][] |
getBounds()
Returns the min and max values for each dimension that this style supports. |
PlotLegend |
getLegendInformation()
This method should return the legend information for this plot style. |
javax.swing.JComponent |
getPropertiesPanel()
|
static java.lang.String |
getTypeDescription()
|
void |
redoBounds()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RectangleGridSurface(PlotArea2D pa)
public RectangleGridSurface(RectangleGridSurface c, PlotArea2D pa)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public static java.lang.String getTypeDescription()
public void redoBounds()
redoBounds
in interface DataPlotStyle
public void drawToGraphics(java.awt.Graphics2D g, PlotTransform trans)
drawToGraphics
in interface DataPlotStyle
public double[][] getBounds()
getBounds
in interface Bounded
public PlotLegend getLegendInformation()
DataPlotStyle
getLegendInformation
in interface DataPlotStyle
public javax.swing.JComponent getPropertiesPanel()
getPropertiesPanel
in interface DataPlotStyle
public RectangleGridSurface copy(PlotArea2D pa)
copy
in interface DataPlotStyle
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |