ComponentMapping Struct Reference

#include <c4d_baseobject.h>

Detailed Description

A structure that describes the mapping of components for a generator object. cachedObject must be written by the caller, all the other objects will be filled by the genertor.

Classes

class  PolygonMapEntry
 

Public Member Functions

Int32 TranslateEdge (Int32 edge) const
 

Public Attributes

const BaseObjectcachedObject
 
const BaseObjectorigin
 
Bool processed
 
Int32 originalPolygonCount
 
Int32 originalVertexCount
 
Int32 polygonMapSize
 
const PolygonMapEntrypolygonMap
 
Int32 vertexMapSize
 
const Int32vertexMap
 

Member Function Documentation

◆ TranslateEdge()

Int32 TranslateEdge ( Int32  edge) const

Member Data Documentation

◆ cachedObject

const BaseObject* cachedObject

Cached object for which to get the mapping.

◆ origin

const BaseObject* origin

Original object for cachedObject. Note, that this is not always the top origin.

◆ processed

Bool processed

Must be set by the generator to indicate that the message was processed.

◆ originalPolygonCount

Int32 originalPolygonCount

Original polygon count.

◆ originalVertexCount

Int32 originalVertexCount

Original vertex count.

◆ polygonMapSize

Int32 polygonMapSize

Number of entries in polygonMap.

◆ polygonMap

const PolygonMapEntry* polygonMap

Polygon map, maps from new to original object.

◆ vertexMapSize

Int32 vertexMapSize

Number of entries in the vertex map.

◆ vertexMap

const Int32* vertexMap

Vertex map, maps from new to original object.