42cf5bc1 |
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 | |
42cf5bc1 |
20 | #include <SelectMgr_Selection.hxx> |
21 | #include <Prs3d_Drawer.hxx> |
42cf5bc1 |
22 | |
23 | //! The StdSelect package provides the following services |
24 | //! - the definition of selection modes for topological shapes |
25 | //! - the definition of several concrete filtertandard |
26 | //! Selection2d.ap classes |
27 | //! - 2D and 3D viewer selectors. |
28 | //! Note that each new Interactive Object must have all |
29 | //! its selection modes defined. |
30 | //! Standard Classes is useful to build |
31 | //! 3D Selectable Objects, and to process |
32 | //! 3D Selections: |
33 | //! |
34 | //! - Implementation of View Selector for dynamic selection |
35 | //! in Views from V3d. |
36 | //! |
37 | //! - Implementation of Tool class to decompose 3D BRep Objects |
38 | //! into sensitive Primitives for every desired mode of selection |
39 | //! (selection of vertex,edges,wires,faces,...) |
40 | //! |
41 | //! - Implementation of dedicated Sensitives Entities: |
42 | //! Text for 2D Views (linked to Specific 2D projectors.) |
43 | class StdSelect |
44 | { |
45 | public: |
46 | |
47 | DEFINE_STANDARD_ALLOC |
48 | |
42cf5bc1 |
49 | //! puts The same drawer in every BRepOwner Of SensitivePrimitive |
50 | //! Used Only for hilight Of BRepOwner... |
51 | Standard_EXPORT static void SetDrawerForBRepOwner (const Handle(SelectMgr_Selection)& aSelection, const Handle(Prs3d_Drawer)& aDrawer); |
52 | |
42cf5bc1 |
53 | }; |
54 | |
42cf5bc1 |
55 | #endif // _StdSelect_HeaderFile |