A3DComputeOrthoHLROnRepresentationItems

A3DStatus A3DComputeOrthoHLROnRepresentationItems(A3DUns32 uiNbRepItems, A3DRiRepresentationItem const **apRepItems, A3DDouble **pOptPlacements, A3DHLRViewPlaneData const *psHLRViewPlaneData, A3DUns32 *pNumberHLRData, A3DHLRRepresentationItemData **pppHLRData)
A3DStatus A3DComputeOrthoHLROnRepresentationItems(A3DUns32 uiNbRepItems, A3DRiRepresentationItem** apRepItems, A3DDouble** pOptPlacements, A3DHLRViewPlaneData* psHLRViewPlaneData, A3DUns32* pNumberHLRData, A3DHLRRepresentationItemData** pppHLRData)

Function to compute Hidden Line Removal on a set of A3DRiRepresentationItem.

8.1

Call A3DComputeOrthoHLROnRepresentationItems( 0, NULL, NULL, NULL, pNumberHLRData, pppHLRData) to release pppHLRData structure ( A3DCrvPolyLine was not released)

Parameters

uiNbRepItems: Number of A3DRiRepresentationItem.

apRepItems: set of A3DRiRepresentationItem.

pOptPlacements: Optional set of representation item placements (16 A3DDouble matrix).

psHLRViewPlaneData: define a plane as a camera with orthogonal projection.

pNumberHLRData: Number A3DHLRRepresentationItemData.

pppHLRData: HLR curve result grouped by A3DRiRepresentationItem entity. pppHLRData is automatically allocated by A3DComputeOrthoHLROnRepresentationItems.

Returns

A3D_SUCCESS on success, or an error code on failure