public class PLYMeshIO extends AbstractIOPlugin<Mesh> implements MeshIOPlugin
Constructor and Description |
---|
PLYMeshIO() |
Modifier and Type | Method and Description |
---|---|
Mesh |
open(String source) |
void |
read(File plyFile,
Mesh mesh) |
void |
save(Mesh data,
String destination) |
boolean |
supportsOpen(String source) |
boolean |
supportsSave(String source) |
byte[] |
writeAscii(Mesh mesh) |
byte[] |
writeBinary(Mesh mesh) |
supports
getInfo, getPriority, setInfo, setPriority, toString
context, getContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDataType
getType, open, save, supports, supportsOpen, supportsSave, supportsSave, supportsSave
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
public void read(File plyFile, Mesh mesh) throws IOException
IOException
public byte[] writeBinary(Mesh mesh)
public byte[] writeAscii(Mesh mesh) throws IOException
IOException
public boolean supportsOpen(String source)
supportsOpen
in interface IOPlugin<Mesh>
supportsOpen
in class AbstractIOPlugin<Mesh>
public boolean supportsSave(String source)
supportsSave
in interface IOPlugin<Mesh>
supportsSave
in class AbstractIOPlugin<Mesh>
public Mesh open(String source) throws IOException
open
in interface IOPlugin<Mesh>
open
in class AbstractIOPlugin<Mesh>
IOException
public void save(Mesh data, String destination) throws IOException
save
in interface IOPlugin<Mesh>
save
in class AbstractIOPlugin<Mesh>
IOException
Copyright © 2014–2022 ImageJ. All rights reserved.