Package com.aspose.threed
Class PlyFormat
- java.lang.Object
-
- com.aspose.threed.FileFormat
-
- com.aspose.threed.PlyFormat
-
public class PlyFormat extends FileFormat
The PLY format.
-
-
Field Summary
-
Fields inherited from class com.aspose.threed.FileFormat
AMF, ASE, COLLADA, DISCREET3DS, DRACO, DXF, FBX7200_BINARY, FBX7200ASCII, FBX7300_BINARY, FBX7300ASCII, FBX7400_BINARY, FBX7400ASCII, FBX7500_BINARY, FBX7500ASCII, GLTF, GLTF__BINARY, GLTF2, GLTF2__BINARY, MICROSOFT3MF, PLY, RVM_BINARY, RVM_TEXT, SIEMENSJT8, SIEMENSJT9, STL_BINARY, STLASCII, UNIVERSAL3D, VRML, WAVEFRONTOBJ, X_BINARY, X_TEXT
-
-
Method Summary
Modifier and Type Method Description void
encodeMesh(IMeshConvertible mesh, com.aspose.csporter.helpers.Stream stream)
Encode the mesh and save the result into the stream.void
encodeMesh(IMeshConvertible mesh, com.aspose.csporter.helpers.Stream stream, PlySaveOptions opt)
Encode the mesh and save the result into the stream.void
encodeMesh(IMeshConvertible mesh, java.lang.String fileName)
Encode the mesh and save the result into an external file.void
encodeMesh(IMeshConvertible mesh, java.lang.String fileName, PlySaveOptions opt)
Encode the mesh and save the result into an external file.-
Methods inherited from class com.aspose.threed.FileFormat
createLoadOptions, createSaveOptions, detect, detect, getContentType, getExtension, getFileFormatType, getVersion, toString
-
-
-
-
Method Detail
-
encodeMesh
public void encodeMesh(IMeshConvertible mesh, com.aspose.csporter.helpers.Stream stream, PlySaveOptions opt) throws java.io.IOException
Encode the mesh and save the result into the stream.- Parameters:
mesh
- The mesh to encodestream
- The stream to write to, this method will not close this streamopt
- Save options- Throws:
java.io.IOException
-
encodeMesh
public void encodeMesh(IMeshConvertible mesh, com.aspose.csporter.helpers.Stream stream) throws java.io.IOException
Encode the mesh and save the result into the stream.- Parameters:
mesh
- The mesh to encodestream
- The stream to write to, this method will not close this stream- Throws:
java.io.IOException
-
encodeMesh
public void encodeMesh(IMeshConvertible mesh, java.lang.String fileName, PlySaveOptions opt) throws java.io.IOException
Encode the mesh and save the result into an external file.- Parameters:
mesh
- The mesh to encodefileName
- The file to write toopt
- Save options- Throws:
java.io.IOException
-
encodeMesh
public void encodeMesh(IMeshConvertible mesh, java.lang.String fileName) throws java.io.IOException
Encode the mesh and save the result into an external file.- Parameters:
mesh
- The mesh to encodefileName
- The file to write to- Throws:
java.io.IOException
-
-