A3DTess3DData

struct A3DTess3DData

Structure used to create or parse an A3DTess3Dentity.

2.0

The A3DTess3Dentity includes data stored in the A3DTessBaseentity.

Structure containing all global information for solid representation.

The m_bHasFacesmember indicates whether the A3DTess3Dentity is built with a concept of geometrical faces.

Point coordinates A3DTessBaseData::m_pdCoordsare taken 3 by 3 to build up 3D vectors.

Normal coordinates m_pdNormalsare taken 3 by 3 to build up 3D vectors.

Wire indexes in the m_puiWireIndexesarray are the point indexes describing the face’s wire contours in the array of points of A3DTessBaseData::m_pdCoords.

Triangulated indexes m_puiTriangulatedIndexesare 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 A3DTessFaceDatastructure specifies how to interpret the data in this array, as described in TessFace.

The contents of the A3DTessFaceDatastructure also specifies how the texture coordinates m_pdTextureCoordsare interpreted according to the final graphics of each A3DTessFaceData. This graphics is given either on the A3DTessFaceDatastructure or by the representation item owning the A3DTess3DData. Then, this graphics corresponds to a texture with an appropriate number of coordinates.

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

A3DTessBaseData::m_uiCoordSizerepresents the size of the array referenced by 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 m_pdNormals.

A3DDouble *A3DTess3DData.m_pdNormals

Array of A3DDouble, x y zfor each normal.

A3DUns32 A3DTess3DData.m_uiWireIndexSize

The size of m_puiWireIndexes.

A3DUns32 *A3DTess3DData.m_puiWireIndexes

Array of indexes of points in A3DTessBaseData::m_pdCoords.

A3DUns32 A3DTess3DData.m_uiTriangulatedIndexSize

The size of m_puiTriangulatedIndexes.

A3DUns32 *A3DTess3DData.m_puiTriangulatedIndexes

Array of indexes of points in A3DTessBaseData::m_pdCoords, of normals in A3DTess3DData::m_pdNormalsand texture coordinates in m_pdTextureCoords.

A3DUns32 A3DTess3DData.m_uiFaceTessSize

The size of m_psFaceTessData.

A3DTessFaceData *A3DTess3DData.m_psFaceTessData

Array of face tessellation definition.

A3DUns32 A3DTess3DData.m_uiTextureCoordSize

The size of m_pdTextureCoords.

A3DDouble *A3DTess3DData.m_pdTextureCoords

Array of 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.