< Home

< Programming Guide

< Supported File Formats

REFERENCE MANUAL

Data Structures | Functions
Entity Base with Graphics

Creates and accesses global graphic characteristics that apply to any PRC entity in the Graphics Module. More...

Data Structures

struct  A3DRootBaseWithGraphicsData
 A structure specifying root graphics data. More...
 

Functions

A3DStatus A3DRootBaseWithGraphicsGet (const A3DRootBaseWithGraphics *pRoot, A3DRootBaseWithGraphicsData *pData)
 Populates the A3DRootBaseWithGraphicsData structure. More...
 
A3DStatus A3DRootBaseWithGraphicsSet (A3DRootBaseWithGraphics *pRoot, const A3DRootBaseWithGraphicsData *pData)
 Adds an A3DRootBaseWithGraphicsData structure to an existing A3DRootBaseWithGraphics entity. More...
 

Detailed Description

Creates and accesses global graphic characteristics that apply to any PRC entity in the Graphics Module.

Version
2.0

Entity type is kA3DTypeRootBaseWithGraphics.

Any PRC entity that bears graphics can have an A3DRootBaseWithGraphics entity.

The A3DRootBaseWithGraphics entity references graphic attributes such as line patterns, RGB colors, and textures. Those graphic attributes are used in the more specific PRC entity.

See also
Graphics

Function Documentation

A3DStatus A3DRootBaseWithGraphicsGet ( const A3DRootBaseWithGraphics pRoot,
A3DRootBaseWithGraphicsData pData 
)
A3DStatus A3DRootBaseWithGraphicsSet ( A3DRootBaseWithGraphics pRoot,
const A3DRootBaseWithGraphicsData pData 
)

Adds an A3DRootBaseWithGraphicsData structure to an existing A3DRootBaseWithGraphics entity.

Version
2.0
Returns
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_DATA_STRUCT_NULL
A3D_SUCCESS
Note
The A3DRootBaseWithGraphics entity type is an abstract class and cannot be directly created; however, any graphic entity created with a function of the form A3DGraphics_entity_nameCreate results in the creation of a PRC entity of type A3DRootBaseWithGraphics and of type A3DEntity_name. That is, a function of the form A3DGraphics_entity_nameCreate adds specific data to the base class, for example A3DRootBaseWithGraphicsData::m_pGraphics.