|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjpiv2.VecImg
public class VecImg
Pixel image representing vector data. This class provides some methods for displaying vector data as pixel images. The data needs to be organized as described in detail at @see jpiv2.PivData.
| Constructor Summary | |
|---|---|
VecImg(JPiv jpiv,
java.lang.String pathname)
Creates a new instance of VecImg |
|
| Method Summary | |
|---|---|
void |
drawIntoVectorGraphicsFile(java.lang.String filename,
java.lang.String format)
Export the vector plot in a vector based format like eps, pdf, svg etc. |
javax.media.jai.PlanarImage |
getAsPlanarImage()
Returns the data as a Planar Image |
java.lang.String |
getFilename()
Returns the name of the data file. |
PivData |
getPivData()
Get the PIV data. |
double[] |
getVectorAt(int x,
int y)
Get the vector at a point x, y. |
void |
setShapeList(java.util.ArrayList<java.awt.Shape> shapeList)
Copy a list of shapes into the VecImg. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VecImg(JPiv jpiv,
java.lang.String pathname)
jpiv - The parent component.pathname - The pathname of the UTF-8 file containing vector data.| Method Detail |
|---|
public javax.media.jai.PlanarImage getAsPlanarImage()
public void drawIntoVectorGraphicsFile(java.lang.String filename,
java.lang.String format)
filename - the filenameformat - one of the following format strings: "eps", "pdf", "svg", "emf", or "swf"public java.lang.String getFilename()
public double[] getVectorAt(int x,
int y)
x - The x coordinate in pixel (zero at upper left corner).y - The y coordinate in pixel (zero at upper left corner).
public PivData getPivData()
public void setShapeList(java.util.ArrayList<java.awt.Shape> shapeList)
shapeList - A list of shapes.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||