A3DGlobalData

Fields

A3DUns32 m_uiColorsSize
A3DUns32 m_uiPicturesSize
A3DUns32 m_uiTextureDefinitionsSize
A3DUns32 m_uiMaterialsSize
A3DUns32 m_uiLinePatternsSize
A3DUns32 m_uiStylesSize
A3DUns32 m_uiFillPatternsSize
A3DUns32 m_uiUnitsSize

Detailed Description

struct A3DGlobalData

Global data structure.

This structure holds the sizes of stored graphical parameters for the current A3DAsmModelFile entity. Graphical parameters are stored as arrays of following data:

  • RGB colors: the size is m_uiColorsSize; to access the content data, use A3DGlobalGetGraphRgbColorData; to create, use A3DGlobalInsertGraphRgbColor;
  • Pictures: the size is m_uiPicturesSize; to access the content data, use A3DGlobalGetGraphPictureData; to create, use A3DGlobalInsertGraphPicture
  • Texture Definitions: the size is m_uiTextureDefinitionsSize; To access the content data, use A3DGlobalGetGraphTextureDefinitionData; to create, use A3DGlobalInsertGraphTextureDefinition
  • Materials: material is a generic type for two kind of data: A3DGraphMaterialData and A3DGraphTextureApplicationData. The size of the array is m_uiMaterialsSize. To get the type of the data, use A3DGlobalIsMaterialTexture. To access the content data, use A3DGlobalGetGraphMaterialData or A3DGlobalGetGraphTextureApplicationData; to create, use A3DGlobalInsertGraphMaterial or A3DGlobalInsertGraphTextureApplication
  • Line Patterns: the size is m_uiLinePatternsSize; To access the content data, use A3DGlobalGetGraphLinePatternData; to create, use A3DGlobalInsertGraphLinePattern
  • Display Styles: The size is m_uiStylesSize; To access the content data, use A3DGlobalGetGraphStyleData; to create, use A3DGlobalInsertGraphStyle
  • Fill Patterns: This is a generic type for several kind of data. The size of the array is m_uiFillPatternsSize

    .

    To determine the type of the data, use the

    A3DGlobalGetFillPatternType

    function.

    To access the content data, use the dedicated function for the pattern. The form for such functions is

    A3DGlobalGetGraphPatternData, where

    is replaced with type of pattern.

    To set the content data, use the dedicated function for the pattern. The form for such functions is

    A3DGlobalInsertGraphPattern.

See also

a3d_graphics

Version
2.0

Note

Call the A3DGlobalGetData function with default index to free the data structure.

Warning

The access functions A3DGlobalGetGraphData and A3DGlobalInsertGraph are used with indexes instead of pointers.

Public Members

A3DUns32 m_uiColorsSize

Number of RGB colors.

A3DUns32 m_uiPicturesSize

Number of Pictures.

A3DUns32 m_uiTextureDefinitionsSize

Number of Texture definitions.

A3DUns32 m_uiMaterialsSize

Number of Materials.

A3DUns32 m_uiLinePatternsSize

Number of LinePatterns.

A3DUns32 m_uiStylesSize

Number of Styles.

A3DUns32 m_uiFillPatternsSize

Number of FillPatterns.

A3DUns32 m_uiUnitsSize

Number of Units.

Version
12.1