PlyFormat

Inheritance: java.lang.Object, com.aspose.threed.FileFormat

public class PlyFormat extends FileFormat

The PLY format.

Fields

FieldDescription
AMFAdditive manufacturing file format
ASE3D Studio Max’s ASCII Scene Exporter format.
ASPOSE3D_WEBAspose.3D Web format.
COLLADACollada file format
DISCREET3DS3D Studio’s file format
DRACOGoogle Draco Mesh
DXFAutoCAD DXF
FBX6100ASCIIASCII FBX file format, with 6.1.0 version
FBX6100_BINARYBinary FBX file format, with 6.1.0 version
FBX7200ASCIIASCII FBX file format, with 7.2.0 version
FBX7200_BINARYBinary FBX file format, with 7.2.0 version
FBX7300ASCIIASCII FBX file format, with 7.3.0 version
FBX7300_BINARYBinary FBX file format, with 7.3.0 version
FBX7400ASCIIASCII FBX file format, with 7.4.0 version
FBX7400_BINARYBinary FBX file format, with 7.4.0 version
FBX7500ASCIIASCII FBX file format, with 7.5.0 version
FBX7500_BINARYBinary FBX file format, with 7.5.0 version
FBX7600ASCIIASCII FBX file format, with 7.6.0 version
FBX7600_BINARYBinary FBX file format, with 7.6.0 version
FBX7700ASCIIASCII FBX file format, with 7.7.0 version
FBX7700_BINARYBinary FBX file format, with 7.7.0 version
GLTFKhronos Group’s glTF
GLTF2Khronos Group’s glTF version 2.0
GLTF2_BINARYKhronos Group’s glTF version 2.0
GLTF_BINARYKhronos Group’s glTF in Binary format
HTML5HTML5 File
MAYAASCIIAutodesk Maya in ASCII format
MAYA_BINARYAutodesk Maya in Binary format
MICROSOFT3MFMicrosoft 3D Manufacturing Format
PCDPCL Point Cloud Data file in ASCII mode
PCD_BINARYPCL Point Cloud Data file in Binary mode
PDFAdobe’s Portable Document Format
PLYPolygon File Format or Stanford Triangle Format
RVM_BINARYAVEVA Plant Design Management System Model in binary format
RVM_TEXTAVEVA Plant Design Management System Model in text format
SIEMENSJT8Siemens JT File Version 8
SIEMENSJT9Siemens JT File Version 9
STLASCIIASCII STL file format
STL_BINARYBinary STL file format
UNIVERSAL3DUniversal3D file format
USDUniversal Scene Description
USDZCompressed Universal Scene Description
VRMLThe Virtual Reality Modeling Language
WAVEFRONTOBJWavefront’s Obj file format
XYZXyz point cloud file
X_BINARYDirectX X File in binary format
X_TEXTDirectX X File in binary format
ZIPZip archive that contains other 3d file format.

Methods

MethodDescription
createLoadOptions()Create a default load options for this file format
createSaveOptions()Create a default save options for this file format
decode(Stream stream)Decode a point cloud or mesh from the specified stream.
decode(Stream stream, PlyLoadOptions opt)Decode a point cloud or mesh from the specified stream.
decode(String fileName)Decode a point cloud or mesh from the specified stream.
decode(String fileName, PlyLoadOptions opt)Decode a point cloud or mesh from the specified stream.
detect(Stream stream, String fileName)Detect the file format from data stream, file name is optional for guessing types that has no magic header.
detect(String fileName)Detect the file format from file name, file must be readable so Aspose.3D can detect the file format through file header.
encode(Entity entity, Stream stream)Encode the entity and save the result into the stream.
encode(Entity entity, Stream stream, PlySaveOptions opt)Encode the entity and save the result into the stream.
encode(Entity entity, String fileName)Encode the entity and save the result into an external file.
encode(Entity entity, String fileName, PlySaveOptions opt)Encode the entity and save the result into an external file.
equals(Object arg0)
getCanExport()Gets whether Aspose.3D supports export scene to current file format.
getCanImport()Gets whether Aspose.3D supports import scene from current file format.
getClass()
getContentType()Gets file format content type
getExtension()Gets the extension name of this type.
getExtensions()Gets the extension names of this type.
getFileFormatType()Gets file format type
getFormatByExtension(String extensionName)Gets the preferred file format from the file extension name The extension name should starts with a dot(’.’).
getVersion()Gets file format version
hashCode()
notify()
notifyAll()
toString()Formats to string
wait()
wait(long arg0)
wait(long arg0, int arg1)

AMF

public static final FileFormat AMF

Additive manufacturing file format

ASE

public static final FileFormat ASE

3D Studio Max’s ASCII Scene Exporter format.

ASPOSE3D_WEB

public static final FileFormat ASPOSE3D_WEB

Aspose.3D Web format.

COLLADA

public static final FileFormat COLLADA

Collada file format

DISCREET3DS

public static final FileFormat DISCREET3DS

3D Studio’s file format

DRACO

public static final DracoFormat DRACO

Google Draco Mesh

DXF

public static final FileFormat DXF

AutoCAD DXF

FBX6100ASCII

public static final FileFormat FBX6100ASCII

ASCII FBX file format, with 6.1.0 version

FBX6100_BINARY

public static final FileFormat FBX6100_BINARY

Binary FBX file format, with 6.1.0 version

FBX7200ASCII

public static final FileFormat FBX7200ASCII

ASCII FBX file format, with 7.2.0 version

FBX7200_BINARY

public static final FileFormat FBX7200_BINARY

Binary FBX file format, with 7.2.0 version

FBX7300ASCII

public static final FileFormat FBX7300ASCII

ASCII FBX file format, with 7.3.0 version

FBX7300_BINARY

public static final FileFormat FBX7300_BINARY

Binary FBX file format, with 7.3.0 version

FBX7400ASCII

public static final FileFormat FBX7400ASCII

ASCII FBX file format, with 7.4.0 version

FBX7400_BINARY

public static final FileFormat FBX7400_BINARY

Binary FBX file format, with 7.4.0 version

FBX7500ASCII

public static final FileFormat FBX7500ASCII

ASCII FBX file format, with 7.5.0 version

FBX7500_BINARY

public static final FileFormat FBX7500_BINARY

Binary FBX file format, with 7.5.0 version

FBX7600ASCII

public static final FileFormat FBX7600ASCII

ASCII FBX file format, with 7.6.0 version

FBX7600_BINARY

public static final FileFormat FBX7600_BINARY

Binary FBX file format, with 7.6.0 version

FBX7700ASCII

public static final FileFormat FBX7700ASCII

ASCII FBX file format, with 7.7.0 version

FBX7700_BINARY

public static final FileFormat FBX7700_BINARY

Binary FBX file format, with 7.7.0 version

GLTF

public static final FileFormat GLTF

Khronos Group’s glTF

GLTF2

public static final FileFormat GLTF2

Khronos Group’s glTF version 2.0

GLTF2_BINARY

public static final FileFormat GLTF2_BINARY

Khronos Group’s glTF version 2.0

GLTF_BINARY

public static final FileFormat GLTF_BINARY

Khronos Group’s glTF in Binary format

HTML5

public static final FileFormat HTML5

HTML5 File

MAYAASCII

public static final FileFormat MAYAASCII

Autodesk Maya in ASCII format

MAYA_BINARY

public static final FileFormat MAYA_BINARY

Autodesk Maya in Binary format

MICROSOFT3MF

public static final FileFormat MICROSOFT3MF

Microsoft 3D Manufacturing Format

PCD

public static final FileFormat PCD

PCL Point Cloud Data file in ASCII mode

PCD_BINARY

public static final FileFormat PCD_BINARY

PCL Point Cloud Data file in Binary mode

PDF

public static final PdfFormat PDF

Adobe’s Portable Document Format

PLY

public static final PlyFormat PLY

Polygon File Format or Stanford Triangle Format

RVM_BINARY

public static final RvmFormat RVM_BINARY

AVEVA Plant Design Management System Model in binary format

RVM_TEXT

public static final RvmFormat RVM_TEXT

AVEVA Plant Design Management System Model in text format

SIEMENSJT8

public static final FileFormat SIEMENSJT8

Siemens JT File Version 8

SIEMENSJT9

public static final FileFormat SIEMENSJT9

Siemens JT File Version 9

STLASCII

public static final FileFormat STLASCII

ASCII STL file format

STL_BINARY

public static final FileFormat STL_BINARY

Binary STL file format

UNIVERSAL3D

public static final FileFormat UNIVERSAL3D

Universal3D file format

USD

public static final FileFormat USD

Universal Scene Description

USDZ

public static final FileFormat USDZ

Compressed Universal Scene Description

VRML

public static final FileFormat VRML

The Virtual Reality Modeling Language

WAVEFRONTOBJ

public static final FileFormat WAVEFRONTOBJ

Wavefront’s Obj file format

XYZ

public static final FileFormat XYZ

Xyz point cloud file

X_BINARY

public static final FileFormat X_BINARY

DirectX X File in binary format

X_TEXT

public static final FileFormat X_TEXT

DirectX X File in binary format

ZIP

public static final FileFormat ZIP

Zip archive that contains other 3d file format.

createLoadOptions()

public LoadOptions createLoadOptions()

Create a default load options for this file format

Returns: LoadOptions

createSaveOptions()

public SaveOptions createSaveOptions()

Create a default save options for this file format

Returns: SaveOptions

decode(Stream stream)

public Geometry decode(Stream stream)

Decode a point cloud or mesh from the specified stream.

Parameters:

ParameterTypeDescription
streamcom.aspose.csporter.helpers.StreamThe input stream

Returns: Geometry - A Mesh or PointCloud instance

decode(Stream stream, PlyLoadOptions opt)

public Geometry decode(Stream stream, PlyLoadOptions opt)

Decode a point cloud or mesh from the specified stream.

Parameters:

ParameterTypeDescription
streamcom.aspose.csporter.helpers.StreamThe input stream
optPlyLoadOptionsThe load option of PLY format

Returns: Geometry - A Mesh or PointCloud instance

decode(String fileName)

public Geometry decode(String fileName)

Decode a point cloud or mesh from the specified stream.

Parameters:

ParameterTypeDescription
fileNamejava.lang.StringThe input stream

Returns: Geometry - A Mesh or PointCloud instance

decode(String fileName, PlyLoadOptions opt)

public Geometry decode(String fileName, PlyLoadOptions opt)

Decode a point cloud or mesh from the specified stream.

Parameters:

ParameterTypeDescription
fileNamejava.lang.StringThe input stream
optPlyLoadOptionsThe load option of PLY format

Returns: Geometry - A Mesh or PointCloud instance

detect(Stream stream, String fileName)

public static FileFormat detect(Stream stream, String fileName)

Detect the file format from data stream, file name is optional for guessing types that has no magic header.

Parameters:

ParameterTypeDescription
streamcom.aspose.csporter.helpers.Stream
fileNamejava.lang.String

Returns: FileFormat

detect(String fileName)

public static FileFormat detect(String fileName)

Detect the file format from file name, file must be readable so Aspose.3D can detect the file format through file header.

Parameters:

ParameterTypeDescription
fileNamejava.lang.String

Returns: FileFormat

encode(Entity entity, Stream stream)

public void encode(Entity entity, Stream stream)

Encode the entity and save the result into the stream.

Parameters:

ParameterTypeDescription
entityEntityThe entity to encode
streamcom.aspose.csporter.helpers.StreamThe stream to write to, this method will not close this stream

encode(Entity entity, Stream stream, PlySaveOptions opt)

public void encode(Entity entity, Stream stream, PlySaveOptions opt)

Encode the entity and save the result into the stream.

Parameters:

ParameterTypeDescription
entityEntityThe entity to encode
streamcom.aspose.csporter.helpers.StreamThe stream to write to, this method will not close this stream
optPlySaveOptionsSave options

encode(Entity entity, String fileName)

public void encode(Entity entity, String fileName)

Encode the entity and save the result into an external file.

Parameters:

ParameterTypeDescription
entityEntityThe entity to encode
fileNamejava.lang.StringThe file to write to

encode(Entity entity, String fileName, PlySaveOptions opt)

public void encode(Entity entity, String fileName, PlySaveOptions opt)

Encode the entity and save the result into an external file.

Parameters:

ParameterTypeDescription
entityEntityThe entity to encode
fileNamejava.lang.StringThe file to write to
optPlySaveOptionsSave options

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getCanExport()

public boolean getCanExport()

Gets whether Aspose.3D supports export scene to current file format.

Returns: boolean

getCanImport()

public boolean getCanImport()

Gets whether Aspose.3D supports import scene from current file format.

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getContentType()

public FileContentType getContentType()

Gets file format content type

Returns: FileContentType

getExtension()

public String getExtension()

Gets the extension name of this type.

Returns: java.lang.String

getExtensions()

public String[] getExtensions()

Gets the extension names of this type.

Returns: java.lang.String[]

getFileFormatType()

public FileFormatType getFileFormatType()

Gets file format type

Returns: FileFormatType

getFormatByExtension(String extensionName)

public static FileFormat getFormatByExtension(String extensionName)

Gets the preferred file format from the file extension name The extension name should starts with a dot(’.’).

Parameters:

ParameterTypeDescription
extensionNamejava.lang.String

Returns: FileFormat - Instance of FileFormat, otherwise null returned.

getVersion()

public Version getVersion()

Gets file format version

Returns: com.aspose.csporter.helpers.Version

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Formats to string

Returns: java.lang.String - Object string

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int