A3DComputeOrthoHLROnModelFile3
-
A3DStatus
A3DComputeOrthoHLROnModelFile3(A3DAsmModelFile const *pModelFile, A3DMkpView const *pOptMrkRView, A3DHLRViewPlaneData const *psHLRViewPlaneData, A3DHLROptionsData const *psHLROptionsData, A3DUns32 *pNumberHLRRepItem, A3DHLRRepresentationItem ***ppHLRRepItems) deprecated
A3DStatusA3DComputeOrthoHLROnModelFile3(A3DAsmModelFile* pModelFile,A3DMkpView* pOptMrkRView,A3DHLRViewPlaneData* psHLRViewPlaneData,A3DHLROptionsData* psHLROptionsData,A3DUns32* pNumberHLRRepItem,A3DHLRRepresentationItem* **ppHLRRepItems)Function to compute Hidden Line Removal on a
A3DAsmModelFile.10.1Call A3DComputeOrthoHLROnModelFile3( NULL, NULL, NULL, NULL, pNumberHLRRepItem, pppHLRRepItem) to release pppHLRRepItem structure ( internal A3DCrvPolyLine was not released)
If
pOptMrkRViewis a cutting view,psSectionParametersDatacan be set to0. In this case, the cutting planes withinpOptMrkRVieware used for the computation. Planes must to ordered and be set a profile, otherwise the function will return#A3D_TOOLS_INVALID_SECTION_PLANE.Parameters
pModelFile: Model file to work on.
pOptMrkRView: optional
A3DMkpView(cut, filter and/or move entities).psHLRViewPlaneData: define a plane as a camera with orthogonal projection.
psHLROptionsData: define options used to compute HLR. if set to NULL, default
A3DHLROptionsDatavalue are used.pNumberHLRRepItem: Number
A3DHLRRepresentationItem.ppHLRRepItems: HLR curve result grouped by
A3DRiRepresentationItementity. pppHLRRepItem is automatically allocated by A3DComputeOrthoHLROnModelFile3.Returns
A3D_SUCCESSon success, or an error code on failure