Query and manipulate scene and rendering informations. More...
Modules | |
Bit Field for Behavior on Graphics | |
Display Style | |
Textures | |
Functions | |
A3DStatus | A3DMiscCascadedAttributesPushTessFace (A3DMiscCascadedAttributes *pAttr, const A3DRiRepresentationItem *pRepItem, const A3DTessBase *pTessBase, const A3DTessFaceData *psTessFaceData, A3DUns32 uiFaceIndex, const A3DMiscCascadedAttributes *pFather) |
Push a A3DMiscCascadedAttributesData for a A3DTessFaceData. More... | |
Detailed Description
Query and manipulate scene and rendering informations.
The graphics group provides the essential set of tools for describing a rendering scene, such as texturing, lighting or view information. The following entities are presents in this modules, along with their public data and access functions:
A3DGraphAmbientLightData
A3DGraphCameraData
A3DGraphDirectionalLightData
A3DGraphHatchingPatternLineData
A3DGraphicsData
A3DGraphPointLightData
A3DGraphSceneDisplayParametersData
A3DGraphSpotLightData
A3DMiscCascadedAttributesData
The module also provides a set of indexed data:
A3DGraphDottingPatternData
A3DGraphHatchingPatternData
A3DGraphLinePatternData
A3DGraphMaterialData
A3DGraphPictureData
A3DGraphRgbColorData
A3DGraphSolidPatternData
A3DGraphStyleData
A3DGraphVPicturePatternData
- General Structure
- An entity of type
A3DRootBaseWithGraphics
embeds anA3DGraphics
entity. This structure mainly provides two informations:- A layer which allows grouping entities with a common identifier.
- A style index which references an
A3DGraphStyleData
.A3DGraphStyleData
lists all graphics properties theA3DRootBaseWithGraphics
is assigned to, such as drawing patterns, materials or textures.
Any entity of the given type can be used as an A3DRootBaseWithGraphics
.
- Indexed data
- Indexed data are plain structures which are globally shared among a potentially important amount of entities within a model file. For example, the same color description can be used for all the graphics entities of a scene.
HOOPS Exchange provides a global container (A3DGlobalData
) which references each of these data using indexed lists. Thus, structures such as A3DGraphRgbColorData
are obtained using an non-typed numerical index.
Yet, these data act as front-end for internal entities which are still referenced to by handles. The purpose of obtaining the underlying entity of an indexed data depends on the context and is generally an uncommon operation. As an example, the full PBR (Physically-Based Rendering) features is provided as an extension of A3DGraphMaterialData
throughout its underlying entity. To retrieve the underlying entity of an indexed data, see A3DMiscPointerFromIndexGet
.
Function Documentation
◆ A3DMiscCascadedAttributesPushTessFace()
A3DStatus A3DMiscCascadedAttributesPushTessFace | ( | A3DMiscCascadedAttributes * | pAttr, |
const A3DRiRepresentationItem * | pRepItem, | ||
const A3DTessBase * | pTessBase, | ||
const A3DTessFaceData * | psTessFaceData, | ||
A3DUns32 | uiFaceIndex, | ||
const A3DMiscCascadedAttributes * | pFather | ||
) |