mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-07 18:30:55 +03:00
- introduces a wrapper for setting up highlight properties: Graphic3d_HighlightStyle; - API of all methods that use highlight or selection color is changed to deal with Graphic3d_HighlightStyle; - highlight in shading mode now supports transparency, implemented via blending; - transparency for selection can also be set, but implementing custom entity owners with additional presentation on application level; - methods PrsMgr_PresentationManager::Highlight, PrsMgr_PresentationManager::BoundBox that highlight object with hard-coded color are removed; - deprecated methods of SelectMgr_EntityOwner, that use presentation manager's highlight method, were removed; - methods of IsHilighted AIS context with selection color checks were replaced; - added API to store dynamic and selection highlight to Prs3d_Drawer class; - customization of dynamic and selection highlight for particular objects is now available through SelectMgr_SelectableObject::HilightAttributes(); - AIS_InteractiveContext highlight methods were updated to support individual highlight styles of interactive objects; - introduced new command - vselprops, that allows to customize global selection and highlight properties like autoactivation, pixel tolerance and colors; - Draw Harness commands vautoactivatesel and vselprecision were removed, use vselprops instead; - fixed bug in command's parser; - test case for issue #27818
MFC samples
- Contents
The directory samples/mfc/standard contains the following packages and files:
- Numbered packages: 01_Geometry, 02_Modeling, etc. provide projects and sources of samples;
- Files All-vc(number).sln are auxiliary utility projects depending on all other sample projects. When such project is rebuilt, all samples and mfcsample library are also rebuilt.
- Common directory provides common source and header files for samples and dynamic-link library mfcsample.dll.
- Data directory stores data files.
- mfcsample directory contains project for mfcsample.dll library providing basic functionality used by all OCC samples.
- File env.bat is called from msvc.bat.
- Launching Open CASCADE Technology samples:
To run the Open CASCADE Technology samples, use command:
execute run.bat [vc10|vc11|vc12|vc14] [win32|win64] [Release|Debug] [SampleName]
To run the Animation sample, use command:
execute run.bat vc10 win64 Debug Animation
- Modifying and rebuilding samples:
You can modify, compile and launch all sample projects in MS Visual C++ at once with command:
execute msvc.bat [vc10|vc11|vc12|vc14] [win32|win64] [Release|Debug]
To run all sample projects in MS Visual C++ at once, use command:
execute msvc.bat vc10 win64 Debug
Note: make sure that your PATH environment variable contains a directory, where msdev.exe is located.