|
Data Structures
|
struct |
RtGCondGeometryList
|
struct |
RtGCondParameters
|
struct |
RtGCondPolygon
|
struct |
RtGCondUserdataCallBacks
|
struct |
RtGCondVertex
|
Typedefs
|
typedef RwBool(* |
RtGCondDestroyVertexUserdataCallBack
)(void **pUserdata) |
typedef RwBool(* |
RtGCondCloneVertexUserdataCallBack
)(void **pUserdataDst, void **pUserdataSrc) |
typedef RwBool(* |
RtGCondInterpVertexUserdataCallBack
)(void **pUserdataDst, void **pUserdata1, void **pUserdata2,
RwReal
delta) |
typedef RwBool(* |
RtGCondDestroyPolygonUserdataCallBack
)(void **pUserdata) |
typedef RwBool(* |
RtGCondSplitPolygonUserdataCallBack
)(void **pUserdataDst, void **pUserdataSrc) |
Enumerations
|
enum |
RtGCondFlag { rtGCONDNORMALS = 0x01, rtGCONDTEXTURES = 0x02,
rtGCONDPRELIT =
0x04, rtGCONDFLAGFORCEENUMSIZEINT = RWFORCEENUMSIZEINT
} |
Functions
|
void |
RtGCondNormalize (RwV3d *vec) |
RwReal |
RtGCondLength (RwV3d *vec) |
RwBool |
RtGCondVectorsEqual (RwV3d *v1, RwV3d *v2, RwReal tol) |
RwBool |
RtGCondColinearVertices (RwV3d *v1, RwV3d *v2, RwV3d *v3, RwBool strictOrder) |
void |
RtGCondSnapPipelineNode (RtGCondGeometryList
*geometryList, RwReal weldThreshold) |
void |
RtGCondSnapUVsPipelineNode (RtGCondGeometryList
*geometryList, RwReal weldThreshold) |
RwReal |
RtGCondAreaOfPolygon (RtGCondGeometryList
*geometryList, RtGCondPolygon *polygon) |
void |
RtGCondCullZeroAreaPolygonsPipelineNode
(RtGCondGeometryList
*geometryList, RwReal areaThreshold) |
void |
RtGCondLimitUVsPipelineNode
(RtGCondGeometryList
*geometryList, RwReal limitUVMin, RwReal limitUVMax) |
void |
RtGCondRemapVerticesPipelineNode
(RtGCondGeometryList
*geometryList) |
void |
RtGCondSortVerticesOnMaterialPipelineNode
(RtGCondGeometryList
*geometryList) |
void |
RtGCondUnshareVerticesOnMaterialBoundariesPipelineNode
(RtGCondGeometryList
*geometryList) |
void |
RtGCondUnshareVerticesPipelineNode
(RtGCondGeometryList
*geometryList) |
RwInt32 * |
RtGCondWeldVerticesPipelineNode
(RtGCondGeometryList
*geometryList, RwReal weldThreshold, RwReal normalWeldThreshold,
RwReal
uvThreshold, RwReal preLitThreshold, RwBool ignoreTextures,
RwBool remap,
RwBool
implicit, RwBool averageAttributes) |
void |
RtGCondRemoveIdenticalPolygonsPipelineNode
(RtGCondGeometryList
*geometryList) |
void |
RtGCondRemoveSliversPipelineNode
(RtGCondGeometryList
*geometryList) |
void |
RtGCondFixAndFilterGeometryPipeline
(RtGCondGeometryList
*geometryList) |
void |
RtGCondDecimateAndWeldGeometryPipeline
(RtGCondGeometryList
*geometryList) |
void |
RtGCondSetGeometryConditioningPipeline
(RtGCondGeometryConditioningPipeline pipeline) |
RtGCondGeometryConditioningPipeline |
RtGCondGetGeometryConditioningPipeline
(void) |
void |
RtGCondApplyGeometryConditioningPipeline
(RtGCondGeometryList
*geometryList) |
void |
RtGCondFreeVertices (RtGCondGeometryList
*geometryList) |
void |
RtGCondAllocateVertices (RtGCondGeometryList
*geometryList, RwInt32 num) |
void |
RtGCondFreePolygons (RtGCondGeometryList
*geometryList) |
void |
RtGCondAllocatePolygons (RtGCondGeometryList
*geometryList, RwInt32 num) |
void |
RtGCondFreeIndices (RtGCondPolygon *polygon) |
void |
RtGCondAllocateIndices (RtGCondPolygon *polygon,
RwInt32
num) |
void |
RtGCondReallocateIndices (RtGCondPolygon *polygon,
RwInt32
num) |
void |
RtGCondReallocateVertices (RtGCondGeometryList
*geometryList, RwInt32 num) |
void |
RtGCondReallocatePolygons (RtGCondGeometryList
*geometryList, RwInt32 num) |
void |
RtGCondParametersSet (RtGCondParameters
*gcParams) |
RtGCondParameters * |
RtGCondParametersGet (void) |
void |
RtGCondParametersInit (RtGCondParameters
*gcParams) |
void |
RtGCondSetUserdataCallBacks
(RtGCondCloneVertexUserdataCallBack
cloneVertexUserdataCB, RtGCondInterpVertexUserdataCallBack
interpVertexUserdataCB, RtGCondSplitPolygonUserdataCallBack
splitPolygonUserdataCB, RtGCondDestroyVertexUserdataCallBack
destroyVertexUserdataCB, RtGCondDestroyPolygonUserdataCallBack
destroyPolygonUserdataCB) |
The functions in this toolkit allow geometric (vertex and
polygon) and attribute (uvs, prelights, etc.) operations in a
simple and independent manner. Some of the functions make heavy use
of the winged/half-edge edge data structure (RtWing Toolkit Overview)
for the sake of efficiency.