mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-09 18:50:54 +03:00
Multiple PrsMgr_PresentableObject::Compute() methods have been replaced by single one PrsMgr_PresentableObject::computeHLR(). Dummy implementations of previously declared methods have been removed from AIS classes not implementng HLR presentation. Class Prs3d_Projector has been removed and Graphic3d_Camera is now passed directly, so that redundant dependency from HLRAlgo_Projector in Prs3d interfaces has been eliminated. StdPrs_HLRShape and StdPrs_HLRPolyShape now implement common interface StdPrs_HLRShapeI.
HLR sample demonstrates hidden line removal algorithm. It supports exact and polygonal HLR algorihms. To try HLR you need to follow some steps: 1) to import model, which will displayed in 3d view. 2) to choose "File->Process HLR" or press "HLR' button in the toolbar. Dialog with options of HLR will be opened. 3) to press "Get shapes" button of the HLR dialog to display results in the 2d view. Optionally, this dialog allow to view chosen shapes in his own view. Here you can choose needed direction of view and press "Update 2d" button to update shapes HLR 2d view.