| 
    uvgVPCCenc 1.1.0
    
   uvgVPCCenc is an open-source real-time V-PCC encoder library written in C++ from scratch. 
   | 
 
The example application for uvgVPCCenc uses the external library miniply to parse the .ply files. More...
Classes | |
| struct | PLYElement | 
| struct | PLYProperty | 
| class | PLYReader | 
| struct | PLYTypeAlias | 
| struct | Vec2 | 
| struct | Vec3 | 
Enumerations | |
| enum class | PLYFileType { ASCII , Binary , BinaryBigEndian } | 
| enum class | PLYPropertyType {  Char , UChar , Short , UShort , Int , UInt , Float , Double , None }  | 
Functions | |
| uint32_t | triangulate_polygon (uint32_t n, const float pos[], uint32_t numVerts, const int indices[], int dst[]) | 
Variables | |
| const char * | kPLYVertexElement = "vertex" | 
| const char * | kPLYFaceElement = "face" | 
The example application for uvgVPCCenc uses the external library miniply to parse the .ply files.
For details about the PLY format see:
      
  | 
  strong | 
      
  | 
  strong | 
| uint32_t miniply::triangulate_polygon | ( | uint32_t | n, | 
| const float | pos[], | ||
| uint32_t | numVerts, | ||
| const int | indices[], | ||
| int | dst[] | ||
| ) | 
Given a polygon with n vertices, where n > 3, triangulate it and store the indices for the resulting triangles in dst. The pos parameter is the array of all vertex positions for the mesh; indices is the list of n indices for the polygon we're triangulating; and dst is where we write the new indices to.
The triangulation will always produce n - 2 triangles, so dst must have enough space for 3 * (n - 2) indices.
If n == 3, we simply copy the input indices to dst. If n < 3, nothing gets written to dst.
The return value is the number of triangles.
| const char * miniply::kPLYFaceElement = "face" | 
| const char * miniply::kPLYVertexElement = "vertex" |