#include <lib_sds.h>
Contains extended information for subdivided polygons of SDS objects.
Public Member Functions | |
| SDSSubdivisionMappings () | |
| SDSSubdivisionMappings (const SDSSubdivisionMappings &src) | |
| SDSSubdivisionMappings (SDSSubdivisionMappings &&src) | |
| const SDSSubdivisionMappings & | operator= (SDSSubdivisionMappings &&src) |
| const SDSSubdivisionMappings & | operator= (const SDSSubdivisionMappings &src) |
Public Attributes | |
| Bool | ngonSubdivision |
| Int32 | maskCount |
| Int32 | oldPolygonCount |
| Int32 | vertexCount |
| const SDSSubdivisionMask * | mask |
| const Int32 * | firstNewPolygon |
| const Int32 * | nextBlock |
| const Int32 * | vertexMap |
| const Int32 * | firstNewVertex |
Static Public Attributes | |
| static constexpr Int32 | INVALID_INDEX |
| SDSSubdivisionMappings | ( | const SDSSubdivisionMappings & | src | ) |
| SDSSubdivisionMappings | ( | SDSSubdivisionMappings && | src | ) |
| const SDSSubdivisionMappings& operator= | ( | SDSSubdivisionMappings && | src | ) |
| const SDSSubdivisionMappings& operator= | ( | const SDSSubdivisionMappings & | src | ) |
|
staticconstexpr |
| Int32 maskCount |
Number of entries in the mask array. This is equal to the number of polygons in the subdivided array.
| Int32 oldPolygonCount |
| Int32 vertexCount |
| const SDSSubdivisionMask* mask |
Subdivision mask. There is one entry in this mask for every new polygon.
| const Int32* firstNewPolygon |
Polygon map which maps from the original polygon to the first new polygon that was created from this polygon.
| const Int32* nextBlock |
If a polygon is split before subdivision, each entry of this block points to an index in firstNewPolygon. This acts like a linked list.
| const Int32* vertexMap |
Maps from new vertex to old vertex.
| const Int32* firstNewVertex |
Maps from old vertex to new vertex.