Modules | Data Structures | Functions
Compute HLR

Modules

 Type of HLR curves result.
 

Data Structures

struct  A3DHLRCurveData
 A3DHLRCurveData structure. More...
 
struct  A3DHLRRepresentationItemData
 A3DHLRCurveData structure. More...
 

Functions

A3DStatus A3DComputeOrthoHLROnRepresentationItems (A3DUns32 uiNbRepItems, A3DRiRepresentationItem const **apRepItems, A3DDouble **apOptPlacements, A3DHLRViewPlaneData const *psHLRViewPlaneData, A3DUns32 *uiNumberHLRData, A3DHLRRepresentationItemData **pppHLRData)
 Function to compute Hidden Line Removeall on a set of A3DRiRepresentationItem. More...
 
A3DStatus A3DComputeOrthoHLROnModelFile (A3DAsmModelFile const *pModelFile, A3DMkpView const *pOptMrkRView, A3DHLRViewPlaneData const *psHLRViewPlaneData, A3DUns32 *pNumberHLRData, A3DHLRRepresentationItemData **pppHLRData)
 Function to compute Hidden Line Removeall on a A3DAsmModelFile. More...
 

Detailed Description

Version
8.1

Compute HLR functions for model file.

See also
A3DComputeOthoHLROnRepresentationItem
A3DComputeOrthoHLROnModelFile

Function Documentation

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

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

Version
8.1

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

Parameters
[in]uiNbRepItemsNumber of A3DRiRepresentationItem.
[in]apRepItemsset of A3DRiRepresentationItem.
[in]pOptPlacementsOptional set of representation item placements (16 A3DDouble matrix).
[in]psHLRViewPlaneDatadefine a plane as a camera with orthogonal projection.
[out]pNumberHLRDataNumber A3DHLRRepresentationItemData.
[out]pppHLRDataHLR curve result grouped by A3DRiRepresentationItem entity. pppHLRData is automatically allocated by A3DComputeOrthoHLROnRepresentationItems.
Returns
A3D_SUCCESS
A3D_INVALID_DATA_STRUCT_NULL
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_ENTITY_TYPE
A3D_ERROR
A3D_BREPDATA_INCONSISTENT_DATA if bUseExactComputation is set and if is missing A3DTopoBrepData
A3D_TOPO_GEOMETRY_MISSING if bUseExactComputation is set and if is missing UV curves
A3DStatus A3DComputeOrthoHLROnModelFile ( A3DAsmModelFile const *  pModelFile,
A3DMkpView const *  pOptMrkRView,
A3DHLRViewPlaneData const *  psHLRViewPlaneData,
A3DUns32 pNumberHLRData,
A3DHLRRepresentationItemData **  pppHLRData 
)

Function to compute Hidden Line Removeall on a A3DAsmModelFile.

Version
8.1

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

Parameters
[in]pModelFileNumber of BrepModels in pRiBrepModel.
[in]pOptMrkRViewoptional A3DMkpView (filter and/or move entities).
[in]psHLRViewPlaneDatadefine a plane as a camera with orthogonal projection.
[out]pNumberHLRDataNumber A3DHLRRepresentationItemData.
[out]pppHLRDataHLR curve result grouped by A3DRiRepresentationItem entity. pppHLRData is automatically allocated by A3DComputeOrthoHLROnModelFile.
Returns
A3D_SUCCESS
A3D_INVALID_DATA_STRUCT_NULL
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_ENTITY_TYPE
A3D_ERROR