| Modifier and Type | Method and Description |
|---|---|
static int[] |
getNVerticesFaces(String source)
Returns the number of vertices and faces declared in this file.
|
static BufferMesh |
open(InputStream plyIS) |
static BufferMesh |
open(String source) |
static void |
read(File plyFile,
Mesh mesh) |
static void |
read(InputStream plyIS,
Mesh mesh) |
static void |
save(Mesh data,
String destination) |
static byte[] |
writeAscii(Mesh mesh) |
static byte[] |
writeBinary(Mesh mesh) |
public static final BufferMesh open(String source) throws IOException
IOExceptionpublic static final void save(Mesh data, String destination) throws IOException
IOExceptionpublic static final void read(File plyFile, Mesh mesh) throws IOException
IOExceptionpublic static final void read(InputStream plyIS, Mesh mesh) throws IOException
IOExceptionpublic static final BufferMesh open(InputStream plyIS) throws IOException
IOExceptionpublic static final byte[] writeBinary(Mesh mesh)
public static final byte[] writeAscii(Mesh mesh) throws IOException
IOExceptionpublic static final int[] getNVerticesFaces(String source) throws IOException
source - the path to the file.int[] array with 2 elements:
IOExceptionCopyright © 2016–2023 ImgLib2. All rights reserved.