Warnings on vc14 were eliminated
[occt.git] / src / StdSelect / StdSelect.hxx
1 // Created on: 1995-03-08
2 // Created by: Mister rmi
3 // Copyright (c) 1995-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16
17 #ifndef _StdSelect_HeaderFile
18 #define _StdSelect_HeaderFile
19
20 #include <Standard.hxx>
21 #include <Standard_DefineAlloc.hxx>
22 #include <Standard_Handle.hxx>
23
24 #include <SelectMgr_Selection.hxx>
25 #include <Prs3d_Drawer.hxx>
26 class StdSelect_BRepSelectionTool;
27 class StdSelect_BRepOwner;
28 class StdSelect_EdgeFilter;
29 class StdSelect_FaceFilter;
30 class StdSelect_ShapeTypeFilter;
31 class StdSelect_Prs;
32 class StdSelect_Shape;
33
34
35 //! The StdSelect package provides the following services
36 //! -   the definition of selection modes for topological shapes
37 //! -   the definition of several concrete filtertandard
38 //! Selection2d.ap classes
39 //! -   2D and 3D viewer selectors.
40 //! Note that each new Interactive Object must have all
41 //! its selection modes defined.
42 //! Standard Classes is useful to build
43 //! 3D Selectable Objects, and to process
44 //! 3D Selections:
45 //!
46 //! - Implementation of View Selector for dynamic selection
47 //! in Views from V3d.
48 //!
49 //! - Implementation of Tool class to decompose 3D BRep Objects
50 //! into sensitive Primitives for every desired mode of selection
51 //! (selection of vertex,edges,wires,faces,...)
52 //!
53 //! -  Implementation of dedicated Sensitives Entities:
54 //! Text for 2D Views (linked to Specific 2D projectors.)
55 class StdSelect 
56 {
57 public:
58
59   DEFINE_STANDARD_ALLOC
60
61   
62   //! puts The same drawer in every BRepOwner Of SensitivePrimitive
63   //! Used Only for hilight Of BRepOwner...
64   Standard_EXPORT static void SetDrawerForBRepOwner (const Handle(SelectMgr_Selection)& aSelection, const Handle(Prs3d_Drawer)& aDrawer);
65
66
67
68
69 protected:
70
71
72
73
74
75 private:
76
77
78
79
80 friend class StdSelect_BRepSelectionTool;
81 friend class StdSelect_BRepOwner;
82 friend class StdSelect_EdgeFilter;
83 friend class StdSelect_FaceFilter;
84 friend class StdSelect_ShapeTypeFilter;
85 friend class StdSelect_Prs;
86 friend class StdSelect_Shape;
87
88 };
89
90
91
92
93
94
95
96 #endif // _StdSelect_HeaderFile