public final class STLMeshIO extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
COUNT_BYTES |
static int |
FACET_BYTES |
static int |
FACET_START |
static String |
HEADER |
static int |
HEADER_BYTES |
| Modifier and Type | Method and Description |
|---|---|
static Mesh |
open(String source) |
static void |
read(Mesh mesh,
byte[] data) |
static void |
read(Mesh mesh,
File stlFile) |
static void |
save(Mesh data,
String destination) |
static byte[] |
write(Mesh mesh)
Writes the facets into a byte[] that can then be saved into a file
|
public static final int HEADER_BYTES
public static final String HEADER
public static final int COUNT_BYTES
public static final int FACET_START
public static final int FACET_BYTES
public static final void read(Mesh mesh, byte[] data)
public static final byte[] write(Mesh mesh)
public static final void read(Mesh mesh, File stlFile) throws IOException
IOExceptionpublic static final Mesh open(String source) throws IOException
IOExceptionpublic static final void save(Mesh data, String destination) throws IOException
IOExceptionCopyright © 2016–2023 ImgLib2. All rights reserved.