1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-09 18:50:54 +03:00
aba 4716247158 0025284: Problems with standard MFC samples
- OCAF sample Save Document option: corrected conversion from LPCTSTR to Standard_CString
 - HLR sample: corrected mouse move event handling for HLR 2D view; Corrected CSelectionDialog view displaying and updating
 - Geometry sample: CGeometryDoc correction to avoid code duplication
 - OCC_3dBaseDoc: corrected DragEvent() handler for proper emulation of rectangle selection.
 - Viewer3d sample: moved resource files (resource.h; resource.hm; AISToolbar.bmp) from /src to /res

Code style changes

Fixed "About" dialog error in release.

Corrected dimension dialogs

Workaround for dimensions sample: AIS_LocalContext::SelectedShape() doesn't take into account TopoDS shape local transformation, and operates with selected interactive transformation.
2014-10-09 16:02:12 +04:00
..

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.