mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
Removed functionality deprecated since OCCT 7.1.0: - 0027834 built-in iterator in class SelectMgr_ViewerSelector; - 0027900 obsolete constructor of V3d_Viewer class; - 0027816 obsolete clipping plane setters V3d_View/PrsMgr_PresentableObject:SetClipPlanes(); - 0027860 obsolete transformation persistence methods from class PrsMgr_PresentableObject; - 0027756 obsolete methods Prs3d_Text::Draw(); - 0024393 obsolete enum Graphic3d_ZLayerSetting; - 0025180 obsolete method Graphic3d_Structure::Transform(). Removed functionality deprecated since OCCT 7.2.0: - 0028832 obsolete class MMgt_TShared; - 0026937 obsolete property Standard_Failure::Caught(); - 0028799 obsolete types defined within Quantity package; - 0028441 obsolete nested enum Image_PixMap::ImgFormat; - 0025695 obsolete method PrsMgr_PresentationManager::Unhighlight(); - 0028205 obsolete class MeshVS_ColorHasher; - 0027958 obsolete methods from Prs3d_DatumAspect class; - 0025695 obsolete class Graphic3d_HighlightStyle; - 0027954 obsolete BRepOffsetAPI_MakeOffsetShape,BRepOffsetAPI_MakeThickSolid constructors.
Viewer2d sample demonstrates how the functionality of TKV3d package can be used for 2D visualization. It provides samples of 2D objects visualization, dynamic selection and highlighting. It illustrates how to: 1) implement 2D view behavior with V3d_View class, with interactive zooming and panning of the 2D scene; 2) draw 2D primitives like rectangles, lines, curves; 3) draw different types of markers; 4) draw text defined by its font, height, style, angle; 5) display 2D curves of a face' edges and group them using orientation criterion; 6) display zoomable images; 6) display circular and rectangular grids . Viewer2d support zooming ,panning of displayed objects and circular and rectangular grids.