A3DTess3DData

struct A3DTess3DData

Structure used to create or parse an:c:type:~A3DTess3Dentity.

2.0

The:c:type:~A3DTess3Dentity includes data stored in the:c:type:~A3DTessBaseentity.

Structure containing all global information for solid representation.

The:c:member:m_bHasFaces <A3DTess3DData.m_bHasFaces>member indicates whether the:c:type:~A3DTess3Dentity is built with a concept of geometrical faces.

Point coordinates:c:member:A3DTessBaseData::m_pdCoords <A3DTessBaseData.m_pdCoords>are taken 3 by 3 to build up 3D vectors.

Normal coordinates:c:member:m_pdNormals <A3DTess3DData.m_pdNormals>are taken 3 by 3 to build up 3D vectors.

Wire indexes in the:c:member:m_puiWireIndexes <A3DTess3DData.m_puiWireIndexes>array are the point indexes describing the face’s wire contours in the array of points of:c:member:A3DTessBaseData::m_pdCoords <A3DTessBaseData.m_pdCoords>.

Triangulated indexes:c:member:m_puiTriangulatedIndexes <A3DTess3DData.m_puiTriangulatedIndexes>are the point, normal, and texture indexes describing the face triangulated representation (triangles, triangle fans, triangle strips) in the array of points, normals, and textures coordinates. The indexes are multiples of 3 for points and normals, and should be multiples of 1 to 4 for textures coordinates.

The contents of the:c:struct:~A3DTessFaceDatastructure specifies how to interpret the data in this array, as described in:ref:TessFace <group__a3d__tessface>.

The contents of the:c:struct:~A3DTessFaceDatastructure also specifies how the texture coordinates:c:member:m_pdTextureCoords <A3DTess3DData.m_pdTextureCoords>are interpreted according to the final graphics of each:c:struct:~A3DTessFaceData. This graphics is given either on the:c:struct:~A3DTessFaceDatastructure or by the representation item owning the:c:struct:~A3DTess3DData. Then, this graphics corresponds to a texture with an appropriate number of coordinates.

An:c:struct:~A3DTessFaceDatastructure corresponds to a geometrical face if there is an indication that the tessellation has face data (as denoted by:c:member:m_bHasFaces <A3DTess3DData.m_bHasFaces>). Otherwise, it is simply a large container of any tessellated data.

A3DTessBaseData::m_uiCoordSizerepresents the size of the array referenced by:c:member:A3DTessBaseData::m_pdCoords <A3DTessBaseData.m_pdCoords>. It is not the number of 3D points.

Variables

A3DUns32 A3DTess3DData.m_bHasFaces

A value of true indicates the geometrical face notion.

A3DUns32 A3DTess3DData.m_uiNormalSize

The size of:c:member:m_pdNormals <A3DTess3DData.m_pdNormals>.

A3DDouble *A3DTess3DData.m_pdNormals

Array of:c:type:~A3DDouble,**x**yzfor each normal.

A3DUns32 A3DTess3DData.m_uiWireIndexSize

The size of:c:member:m_puiWireIndexes <A3DTess3DData.m_puiWireIndexes>.

A3DUns32 *A3DTess3DData.m_puiWireIndexes

Array of indexes of points in:c:member:A3DTessBaseData::m_pdCoords <A3DTessBaseData.m_pdCoords>.

A3DUns32 A3DTess3DData.m_uiTriangulatedIndexSize

The size of:c:member:m_puiTriangulatedIndexes <A3DTess3DData.m_puiTriangulatedIndexes>.

A3DUns32 *A3DTess3DData.m_puiTriangulatedIndexes

Array of indexes of points in:c:member:A3DTessBaseData::m_pdCoords <A3DTessBaseData.m_pdCoords>, of normals in:c:member:A3DTess3DData::m_pdNormals <A3DTess3DData.m_pdNormals>and texture coordinates in m_pdTextureCoords.

A3DUns32 A3DTess3DData.m_uiFaceTessSize

The size of:c:member:m_psFaceTessData <A3DTess3DData.m_psFaceTessData>.

A3DTessFaceData *A3DTess3DData.m_psFaceTessData

Array of face tessellation definition.

A3DUns32 A3DTess3DData.m_uiTextureCoordSize

The size of:c:member:m_pdTextureCoords <A3DTess3DData.m_pdTextureCoords>.

A3DDouble *A3DTess3DData.m_pdTextureCoords

Array of:c:type:~A3DDouble, as texture coordinates.

A3DBool A3DTess3DData.m_bMustRecalculateNormals

Normals must be recalculated.

A3DUns8 A3DTess3DData.m_ucNormalsRecalculationFlags

Unused parameter.

A3DDouble A3DTess3DData.m_dCreaseAngle

Unused parameter; definition similar to VRML.