SDSSubdivisionMappings Struct Reference

#include <lib_sds.h>

Detailed Description

Contains extended information for subdivided polygons of SDS objects.

Public Member Functions

 SDSSubdivisionMappings ()
 
 SDSSubdivisionMappings (const SDSSubdivisionMappings &src)
 
 SDSSubdivisionMappings (SDSSubdivisionMappings &&src)
 
const SDSSubdivisionMappingsoperator= (SDSSubdivisionMappings &&src)
 
const SDSSubdivisionMappingsoperator= (const SDSSubdivisionMappings &src)
 

Public Attributes

Bool ngonSubdivision
 
Int32 maskCount
 
Int32 oldPolygonCount
 
Int32 vertexCount
 
const SDSSubdivisionMaskmask
 
const Int32firstNewPolygon
 
const Int32nextBlock
 
const Int32vertexMap
 
const Int32firstNewVertex
 

Static Public Attributes

static constexpr Int32 INVALID_INDEX
 

Constructor & Destructor Documentation

◆ SDSSubdivisionMappings() [1/3]

◆ SDSSubdivisionMappings() [2/3]

◆ SDSSubdivisionMappings() [3/3]

Member Function Documentation

◆ operator=() [1/2]

const SDSSubdivisionMappings& operator= ( SDSSubdivisionMappings &&  src)

◆ operator=() [2/2]

const SDSSubdivisionMappings& operator= ( const SDSSubdivisionMappings src)

Member Data Documentation

◆ INVALID_INDEX

constexpr Int32 INVALID_INDEX
staticconstexpr

◆ ngonSubdivision

Bool ngonSubdivision

Specifies if Ngon subdivision was active.

◆ maskCount

Int32 maskCount

Number of entries in the mask array. This is equal to the number of polygons in the subdivided array.

◆ oldPolygonCount

Int32 oldPolygonCount

◆ vertexCount

Int32 vertexCount

◆ mask

const SDSSubdivisionMask* mask

Subdivision mask. There is one entry in this mask for every new polygon.

◆ firstNewPolygon

const Int32* firstNewPolygon

Polygon map which maps from the original polygon to the first new polygon that was created from this polygon.

◆ nextBlock

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.

◆ vertexMap

const Int32* vertexMap

Maps from new vertex to old vertex.

◆ firstNewVertex

const Int32* firstNewVertex

Maps from old vertex to new vertex.