public class PlyFormat extends FileFormat
AMF, ASE, ASPOSE3D_WEB, COLLADA, DISCREET3DS, DRACO, DXF, FBX6100_BINARY, FBX6100ASCII, FBX7200_BINARY, FBX7200ASCII, FBX7300_BINARY, FBX7300ASCII, FBX7400_BINARY, FBX7400ASCII, FBX7500_BINARY, FBX7500ASCII, FBX7600_BINARY, FBX7600ASCII, FBX7700_BINARY, FBX7700ASCII, GLTF, GLTF__BINARY, GLTF2, GLTF2__BINARY, HTML5, MICROSOFT3MF, PLY, RVM_BINARY, RVM_TEXT, SIEMENSJT8, SIEMENSJT9, STL_BINARY, STLASCII, UNIVERSAL3D, USD, USDZ, VRML, WAVEFRONTOBJ, X_BINARY, X_TEXT, ZIP
Modifier and Type | Method and Description |
---|---|
Geometry |
decode(com.aspose.threed.Stream stream)
Decode a point cloud or mesh from the specified stream.
|
Geometry |
decode(com.aspose.threed.Stream stream,
PlyLoadOptions opt)
Decode a point cloud or mesh from the specified stream.
|
Geometry |
decode(java.lang.String fileName)
Decode a point cloud or mesh from the specified stream.
|
Geometry |
decode(java.lang.String fileName,
PlyLoadOptions opt)
Decode a point cloud or mesh from the specified stream.
|
void |
encode(Entity entity,
com.aspose.threed.Stream stream)
Encode the entity and save the result into the stream.
|
void |
encode(Entity entity,
com.aspose.threed.Stream stream,
PlySaveOptions opt)
Encode the entity and save the result into the stream.
|
void |
encode(Entity entity,
java.lang.String fileName)
Encode the entity and save the result into an external file.
|
void |
encode(Entity entity,
java.lang.String fileName,
PlySaveOptions opt)
Encode the entity and save the result into an external file.
|
createLoadOptions, createSaveOptions, detect, detect, getContentType, getExtension, getExtensions, getFileFormatType, getVersion, toString
public void encode(Entity entity, com.aspose.threed.Stream stream, PlySaveOptions opt) throws java.io.IOException
entity
- The entity to encodestream
- The stream to write to, this method will not close this streamopt
- Save optionsjava.io.IOException
public void encode(Entity entity, com.aspose.threed.Stream stream) throws java.io.IOException
entity
- The entity to encodestream
- The stream to write to, this method will not close this streamjava.io.IOException
public void encode(Entity entity, java.lang.String fileName, PlySaveOptions opt) throws java.io.IOException
entity
- The entity to encodefileName
- The file to write toopt
- Save optionsjava.io.IOException
public void encode(Entity entity, java.lang.String fileName) throws java.io.IOException
entity
- The entity to encodefileName
- The file to write tojava.io.IOException
public Geometry decode(java.lang.String fileName, PlyLoadOptions opt) throws java.io.IOException
fileName
- The input streamopt
- The load option of PLY formatMesh
or PointCloud
instancejava.io.IOException
public Geometry decode(java.lang.String fileName) throws java.io.IOException
fileName
- The input streamMesh
or PointCloud
instancejava.io.IOException
public Geometry decode(com.aspose.threed.Stream stream, PlyLoadOptions opt) throws java.io.IOException
stream
- The input streamopt
- The load option of PLY formatMesh
or PointCloud
instancejava.io.IOException
public Geometry decode(com.aspose.threed.Stream stream) throws java.io.IOException
stream
- The input streamMesh
or PointCloud
instancejava.io.IOException