public class MeshWriter extends Object
| Constructor and Description |
|---|
MeshWriter(File output) |
| Modifier and Type | Method and Description |
|---|---|
static void |
exportToPly(File output,
List<Track> tracks,
int frame,
double[] offsets,
double scale)
Save all of the tracks contained in the current frame.
|
static void |
exportToStlWireframe(File output,
List<Track> tracks,
double[] offset,
double SCALE,
Integer frame) |
static void |
legacySaveMeshes(File output,
Map<Integer,DeformableMesh3D> meshes) |
void |
open() |
static void |
saveMesh(String filename,
DeformableMesh3D mesh) |
static void |
saveMeshes(File output,
List<Track> tracks) |
static void |
saveMeshes(File output,
MeshTracker tracker) |
static void |
saveStlMesh(File output,
List<Track> tracks,
double[] offset,
double SCALE,
Integer frame)
Saves the current mesh to an ascii
|
void |
write(DeformableMesh3D mesh,
Integer frame) |
static void |
writeMesh(DataOutput dos,
DeformableMesh3D mesh,
int frame) |
public MeshWriter(File output)
public void open()
public void write(DeformableMesh3D mesh, Integer frame)
public static void saveStlMesh(File output, List<Track> tracks, double[] offset, double SCALE, Integer frame) throws IOException
output - tracks - offset - SCALE - frame - IOExceptionpublic static void legacySaveMeshes(File output, Map<Integer,DeformableMesh3D> meshes)
public static void saveMesh(String filename, DeformableMesh3D mesh) throws IOException
IOExceptionpublic static void saveMeshes(File output, List<Track> tracks) throws IOException
IOExceptionpublic static void saveMeshes(File output, MeshTracker tracker) throws IOException
IOExceptionpublic static void writeMesh(DataOutput dos, DeformableMesh3D mesh, int frame) throws IOException
IOExceptionpublic static void exportToPly(File output, List<Track> tracks, int frame, double[] offsets, double scale) throws IOException
output - tracks - frame - IOExceptionpublic static void exportToStlWireframe(File output, List<Track> tracks, double[] offset, double SCALE, Integer frame) throws IOException
IOExceptionCopyright © 2013–2022 Francis Crick Institute. All rights reserved.