blob: 7da95a37d99d6c6373de989d84f71063e3ef66bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
|
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _StdSelect_HeaderFile
#define _StdSelect_HeaderFile
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif
#ifndef _Handle_Select3D_Projector_HeaderFile
#include <Handle_Select3D_Projector.hxx>
#endif
#ifndef _Handle_V3d_View_HeaderFile
#include <Handle_V3d_View.hxx>
#endif
#ifndef _Handle_SelectMgr_Selection_HeaderFile
#include <Handle_SelectMgr_Selection.hxx>
#endif
#ifndef _Handle_Prs3d_Drawer_HeaderFile
#include <Handle_Prs3d_Drawer.hxx>
#endif
class Select3D_Projector;
class V3d_View;
class SelectMgr_Selection;
class Prs3d_Drawer;
class StdSelect_ViewerSelector3d;
class StdSelect_ViewerSelector2d;
class StdSelect_BRepSelectionTool;
class StdSelect_BRepOwner;
class StdSelect_BRepHilighter;
class StdSelect_SensitiveText2d;
class StdSelect_TextProjector2d;
class StdSelect_EdgeFilter;
class StdSelect_FaceFilter;
class StdSelect_ShapeTypeFilter;
class StdSelect_Prs;
class StdSelect_Shape;
class StdSelect_IndexedDataMapOfOwnerPrs;
class StdSelect_IndexedDataMapNodeOfIndexedDataMapOfOwnerPrs;
//! The StdSelect package provides the following services <br>
//! - the definition of selection modes for topological shapes <br>
//! - the definition of several concrete filtertandard <br>
//! Selection2d.ap classes <br>
//! - 2D and 3D viewer selectors. <br>
//! Note that each new Interactive Object must have all <br>
//! its selection modes defined. <br>
//! Standard Classes is useful to build <br>
//! 3D Selectable Objects, and to process <br>
//! 3D Selections: <br>
//! <br>
//! - Implementation of View Selector for dynamic selection <br>
//! in Views from V3d. <br>
//! <br>
//! - Implementation of Tool class to decompose 3D BRep Objects <br>
//! into sensitive Primitives for every desired mode of selection <br>
//! (selection of vertex,edges,wires,faces,...) <br>
//! <br>
//! - Implementation of dedicated Sensitives Entities: <br>
//! Text for 2D Views (linked to Specific 2D projectors.) <br>
class StdSelect {
public:
void* operator new(size_t,void* anAddress)
{
return anAddress;
}
void* operator new(size_t size)
{
return Standard::Allocate(size);
}
void operator delete(void *anAddress)
{
if (anAddress) Standard::Free((Standard_Address&)anAddress);
}
//! Returns the 3D projector for the view aView. <br>
Standard_EXPORT static Handle_Select3D_Projector GetProjector(const Handle(V3d_View)& aView) ;
//! puts The same drawer in every BRepOwner Of SensitivePrimitive <br>
//! Used Only for hilight Of BRepOwner... <br>
Standard_EXPORT static void SetDrawerForBRepOwner(const Handle(SelectMgr_Selection)& aSelection,const Handle(Prs3d_Drawer)& aDrawer) ;
protected:
private:
friend class StdSelect_ViewerSelector3d;
friend class StdSelect_ViewerSelector2d;
friend class StdSelect_BRepSelectionTool;
friend class StdSelect_BRepOwner;
friend class StdSelect_BRepHilighter;
friend class StdSelect_SensitiveText2d;
friend class StdSelect_TextProjector2d;
friend class StdSelect_EdgeFilter;
friend class StdSelect_FaceFilter;
friend class StdSelect_ShapeTypeFilter;
friend class StdSelect_Prs;
friend class StdSelect_Shape;
friend class StdSelect_IndexedDataMapOfOwnerPrs;
friend class StdSelect_IndexedDataMapNodeOfIndexedDataMapOfOwnerPrs;
};
// other Inline functions and methods (like "C++: function call" methods)
#endif
|