public abstract class VTKVectorField
extends java.lang.Object
Constructor and Description |
---|
VTKVectorField() |
Modifier and Type | Method and Description |
---|---|
static float[] |
readFromFile3D(java.lang.String filename)
Reads a file and interprets it as a VTK vector field.
|
static void |
writeToFile3D(java.lang.String filename,
float[] motionfield)
Writes a 3D/3D vector field that is stored as a float[] into the file denoted by filename
|
public static void writeToFile3D(java.lang.String filename, float[] motionfield) throws java.io.IOException
filename
- the filenamemotionfield
- the vector fieldjava.io.IOException
- happens if file cannot be read.public static float[] readFromFile3D(java.lang.String filename) throws java.io.IOException
filename
- the filenamejava.io.IOException
- may occur during reading