Gorilla.PLY.Loader

Unit Gorilla.PLY.Loader.pas

Classes

Records

Enumerations

  • enum  TPLYFormat  = ( PLY_ascii, PLY_binary_big_endian, PLY_binary_little_endian ) ;
  • enum  TPLYListType  = ( plyAtom, plyList ) ;
  • enum  TPLYDataType  = ( plyChar, plyUChar, plyShort, plyUShort, plyInt, plyUInt, plyFloat, plyDouble, plyInt8, plyUInt8, plyInt16, plyUInt16, plyInt32, plyUInt32, plyFloat32, plyFloat64 ) ;
  • enum  TPLYElementType  = ( plyVertex, plyFace, plyEdge, plyMaterial, plyCustom ) ;
  • enum  TPLYElementPropertyKind  = ( plyPosX, plyPosY, plyPosZ, plyConfidence, plyCRed, plyCGreen, plyCBlue, plyEdgeVertex1, plyEdgeVertex2, plyVertexIndex, plyTexCoord, plyRGB ) ;
  • enum  TPLYUnit  = ( plyMillimeter, plyCentimeter, plyMeter, plyInch ) ;

Constants

  • const PLY_STREAM_BUFFER_SIZE : Integer = $1000;
  • const PLY_COLOR_EMPTY : TAlphaColorF = ;
  • const PLY_COLOR_DEFAULT : TAlphaColorF = ;

Mics. types

  • type PPLYElement = pointer to TPLYElement;

TPLYDataType

enum TPLYDataType = ( plyChar, plyUChar, plyShort, plyUShort, plyInt, plyUInt, plyFloat, plyDouble, plyInt8, plyUInt8, plyInt16, plyUInt16, plyInt32, plyUInt32, plyFloat32, plyFloat64 ) ; char, uchar, short, ushort, int, uint, float, double int8, uint8, int16, uint16, int32, uint32, float32, float64

TGorillaLoaderPLY

Loader class for PLY file format. PLY is a computer file format known as the Polygon File Format or the Stanford Triangle Format. It was principally designed to store three-dimensional data from 3D scanners. The data storage format supports a relatively simple description of a single object as a list of nominally flat polygons. A variety of properties can be stored, including: color and transparency, surface normals, texture coordinates and data confidence values. The format permits one to have different properties for the front and back of a polygon. There are two versions of the file format, one in ASCII, the other in binary.

Remarks

For further information: https://en.wikipedia.org/wiki/PLY_(file_format)

Demo-Files can be found at: https://people.sc.fsu.edu/~jburkardt/data/ply/ply.html

Ancestors

Members