Gorilla.PLY.Loader
Unit Gorilla.PLY.Loader.pasClasses
- TPLYCache = class ( TVertexCache )
- TGorillaLoaderPLY = class ( TGorillaLoader )
Records
- record TPLYElementProperty
- record TPLYElement
- record TPLYHeader
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
TPLYCache
Ancestors
Members
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
Fields
Methods
- protected function ReadHeader ( const AStream : TStream; const ACache : TPLYCache ) : Int64 ;
- protected procedure LoadPLYText ( const AStream : TStream; const ACache : TPLYCache; AByteOfs : Integer ) ; class;
- protected procedure LoadPLYBinary ( const AStream : TStream; const ACache : TPLYCache; AByteOfs : Integer ) ; class;
- public function LoadModelDefFromStream ( const AStream : TStream; const AOptions : TGorillaLoadOptions ) : TModelDef ; overload override;
- class private procedure Create@ ( ) ; class constructor noself;
- class private procedure Destroy@ ( ) ; class destructor noself;