Overview

Programming Guide

API Reference

Representation Item Base

Data Structures

struct  A3DRiRepresentationItemData
 Representation Item Structure. More...
 

Functions

A3DStatus A3DRiRepresentationItemGet (const A3DRiRepresentationItem *pRi, A3DRiRepresentationItemData *pData)
 Populates the A3DRiRepresentationItemData structure. More...
 
A3DStatus A3DRiRepresentationItemSet (A3DRiRepresentationItem *pRi, const A3DRiRepresentationItemData *pData)
 Sets a previously created A3DRiRepresentationItem with an A3DRiRepresentationItemData structure. More...
 
A3DStatus A3DRiRepresentationItemGetTessellation (A3DRiRepresentationItem *pRi, const A3DRWParamsTessellationData *pTessellationParametersData)
 Calculates the tessellation of a previously created A3DRiRepresentationItem with an A3DRWParamsTessellationData parameters. More...
 
A3DStatus A3DRiReleaseTesselation (A3DRiRepresentationItem *pRepresentationItem)
 Function to release the tessellation stored on the representation item. More...
 

Detailed Description

Function Documentation

A3DStatus A3DRiRepresentationItemSet ( A3DRiRepresentationItem pRi,
const A3DRiRepresentationItemData pData 
)

Sets a previously created A3DRiRepresentationItem with an A3DRiRepresentationItemData structure.

Version
2.0
Returns
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_DATA_STRUCT_NULL
A3D_SET_INCONSISTENT_EMPTY
A3D_SUCCESS
Note
The A3DRiRepresentationItem entity is an abstract class. You cannot directly create this entity. Instead, use the appropriate derived function (such as A3DRiSetCreate or A3DRiPointSetCreate) to create a specific representation item entity. Then use this function to specify values in that entity base class. For example, this function specifies a value for the A3DRiRepresentationItemData::m_pCoordinateSystem member.
A3DStatus A3DRiRepresentationItemGetTessellation ( A3DRiRepresentationItem pRi,
const A3DRWParamsTessellationData pTessellationParametersData 
)

Calculates the tessellation of a previously created A3DRiRepresentationItem with an A3DRWParamsTessellationData parameters.

Version
4.0
Returns
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_DATA_STRUCT_NULL
A3D_SET_INCONSISTENT_EMPTY
A3D_SUCCESS
Note
If the A3DRiRepresentationItem entity has already been tessellated, the previous tessellation will be replaced by the new one. This function works for brep models and curves only.
A3DStatus A3DRiReleaseTesselation ( A3DRiRepresentationItem pRepresentationItem)

Function to release the tessellation stored on the representation item.

Version
5.0
Returns
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_DATA_STRUCT_NULL
A3D_SUCCESS