org.keridwen.modelling.mesh.inspector.io
Class FileMeshLoader
java.lang.Object
org.keridwen.modelling.mesh.inspector.io.FileMeshLoader
public class FileMeshLoader
- extends Object
Constructor Summary |
FileMeshLoader(com.artenum.penelope.mesh.interfaces.Mesh mesh)
load a mesh from a file (Gmsh format only for now). |
Method Summary |
com.artenum.penelope.mesh.interfaces.Mesh |
getMesh()
|
void |
load(File fileIn)
|
void |
setFileIn(File fileIn)
|
void |
setMesh(com.artenum.penelope.mesh.interfaces.Mesh mesh)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileMeshLoader
public FileMeshLoader(com.artenum.penelope.mesh.interfaces.Mesh mesh)
- load a mesh from a file (Gmsh format only for now). Usage: FileMeshLoader loader = new FileMeshLoader(mesh);
loader.load(fileIn); Mesh mesh = loader.getMesh()
- Parameters:
mesh
-
setFileIn
public void setFileIn(File fileIn)
load
public void load(File fileIn)
getMesh
public com.artenum.penelope.mesh.interfaces.Mesh getMesh()
setMesh
public void setMesh(com.artenum.penelope.mesh.interfaces.Mesh mesh)
Copyright © 2013 Artenum. All Rights Reserved.