PlyFormat

PlyFormat class

The PLY format. @hideconstructor

Methods

getVersion

NameDescription
getVersion()Gets file format version

Result:


getExtension

NameDescription
getExtension()Gets the extension name of this type.

Result:


getExtensions

NameDescription
getExtensions()Gets the extension names of this type.

Result:


getContentType

NameDescription
getContentType()Gets file format content type The value of the property is FileContentType integer constant.

Result:


getFileFormatType

NameDescription
getFileFormatType()Gets file format type

Result:


encode

NameDescription
encode(entity, fileName)Encode the entity and save the result into an external file.

Parameters:

NameTypeDescription
entityEntityThe entity to encode
fileNameStringThe file to write to

Result:


encode

NameDescription
encode(entity, fileName, opt)Encode the entity and save the result into an external file.

Parameters:

NameTypeDescription
entityEntityThe entity to encode
fileNameStringThe file to write to
optPlySaveOptionsSave options

Result:


decode

NameDescription
decode(fileName)Decode a point cloud or mesh from the specified stream.

Parameters:

NameTypeDescription
fileNameStringThe input stream

Result: Geometry


decode

NameDescription
decode(fileName, opt)Decode a point cloud or mesh from the specified stream.

Parameters:

NameTypeDescription
fileNameStringThe input stream
optPlyLoadOptionsThe load option of PLY format

Result: Geometry


createLoadOptions

NameDescription
createLoadOptions()Create a default load options for this file format

Result: LoadOptions


createSaveOptions

NameDescription
createSaveOptions()Create a default save options for this file format

Result: SaveOptions


toString

NameDescription
toString()Formats to string

Result: String