0027202: Visualization - add sensitivity Select3D_SensitivePrimitiveArray for Graphic...
[occt.git] / src / BVH / BVH.cxx
CommitLineData
3c4e78f2 1// Created on: 2013-12-20
2// Created by: Denis BOGOLEPOV
d5f74e42 3// Copyright (c) 2013-2014 OPEN CASCADE SAS
3c4e78f2 4//
5// This file is part of Open CASCADE Technology software library.
6//
d5f74e42 7// This library is free software; you can redistribute it and/or modify it under
8// the terms of the GNU Lesser General Public License version 2.1 as published
3c4e78f2 9// by the Free Software Foundation, with special exception defined in the file
10// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11// distribution for complete text of the license and disclaimer of any warranty.
12//
13// Alternatively, this file may be used under the terms of Open CASCADE
14// commercial license or contractual agreement.
15
16#include <BVH_Geometry.hxx>
17#include <BVH_Triangulation.hxx>
df932fdf 18#include <BVH_DistanceField.hxx>
0ef61b50 19#include <BVH_LinearBuilder.hxx>
3c4e78f2 20#include <BVH_BinnedBuilder.hxx>
21#include <BVH_SweepPlaneBuilder.hxx>
22#include <BVH_SpatialMedianBuilder.hxx>
23
c04c30b3 24#include <Standard_Real.hxx>
25
3c4e78f2 26// Specific instantiations of struct templates to avoid compilation warnings
27
cc5f85f8 28template class NCollection_Vec2<Standard_Real>;
29template class NCollection_Vec3<Standard_Real>;
30template class NCollection_Vec4<Standard_Real>;
31
3c4e78f2 32template class BVH_Box<Standard_Real, 2>;
33template class BVH_Box<Standard_Real, 3>;
34template class BVH_Box<Standard_Real, 4>;
35
36template class BVH_Box<Standard_ShortReal, 2>;
37template class BVH_Box<Standard_ShortReal, 3>;
38template class BVH_Box<Standard_ShortReal, 4>;
39
40template class BVH_Set<Standard_Real, 2>;
41template class BVH_Set<Standard_Real, 3>;
42template class BVH_Set<Standard_Real, 4>;
43
44template class BVH_Set<Standard_ShortReal, 2>;
45template class BVH_Set<Standard_ShortReal, 3>;
46template class BVH_Set<Standard_ShortReal, 4>;
47
48template class BVH_Object<Standard_Real, 2>;
49template class BVH_Object<Standard_Real, 3>;
50template class BVH_Object<Standard_Real, 4>;
51
52template class BVH_Object<Standard_ShortReal, 2>;
53template class BVH_Object<Standard_ShortReal, 3>;
54template class BVH_Object<Standard_ShortReal, 4>;
55
56template class BVH_ObjectSet<Standard_Real, 2>;
57template class BVH_ObjectSet<Standard_Real, 3>;
58template class BVH_ObjectSet<Standard_Real, 4>;
59
60template class BVH_ObjectSet<Standard_ShortReal, 2>;
61template class BVH_ObjectSet<Standard_ShortReal, 3>;
62template class BVH_ObjectSet<Standard_ShortReal, 4>;
63
64template class BVH_Geometry<Standard_Real, 2>;
65template class BVH_Geometry<Standard_Real, 3>;
66template class BVH_Geometry<Standard_Real, 4>;
67
68template class BVH_Geometry<Standard_ShortReal, 2>;
69template class BVH_Geometry<Standard_ShortReal, 3>;
70template class BVH_Geometry<Standard_ShortReal, 4>;
71
72template class BVH_Tree<Standard_Real, 2>;
73template class BVH_Tree<Standard_Real, 3>;
74template class BVH_Tree<Standard_Real, 4>;
75
76template class BVH_Tree<Standard_ShortReal, 2>;
77template class BVH_Tree<Standard_ShortReal, 3>;
78template class BVH_Tree<Standard_ShortReal, 4>;
79
80template class BVH_Builder<Standard_Real, 2>;
81template class BVH_Builder<Standard_Real, 3>;
82template class BVH_Builder<Standard_Real, 4>;
83
84template class BVH_Builder<Standard_ShortReal, 2>;
85template class BVH_Builder<Standard_ShortReal, 3>;
86template class BVH_Builder<Standard_ShortReal, 4>;
87
88template class BVH_BinnedBuilder<Standard_Real, 2>;
89template class BVH_BinnedBuilder<Standard_Real, 3>;
90template class BVH_BinnedBuilder<Standard_Real, 4>;
91
92template class BVH_BinnedBuilder<Standard_ShortReal, 2>;
93template class BVH_BinnedBuilder<Standard_ShortReal, 3>;
94template class BVH_BinnedBuilder<Standard_ShortReal, 4>;
95
0ef61b50 96template class BVH_LinearBuilder<Standard_Real, 3>;
97template class BVH_LinearBuilder<Standard_Real, 4>;
98
99template class BVH_LinearBuilder<Standard_ShortReal, 3>;
100template class BVH_LinearBuilder<Standard_ShortReal, 4>;
101
3c4e78f2 102template class BVH_SweepPlaneBuilder<Standard_Real, 2>;
103template class BVH_SweepPlaneBuilder<Standard_Real, 3>;
104template class BVH_SweepPlaneBuilder<Standard_Real, 4>;
105
106template class BVH_SweepPlaneBuilder<Standard_ShortReal, 2>;
107template class BVH_SweepPlaneBuilder<Standard_ShortReal, 3>;
108template class BVH_SweepPlaneBuilder<Standard_ShortReal, 4>;
109
110template class BVH_SpatialMedianBuilder<Standard_Real, 2>;
111template class BVH_SpatialMedianBuilder<Standard_Real, 3>;
112template class BVH_SpatialMedianBuilder<Standard_Real, 4>;
113
114template class BVH_SpatialMedianBuilder<Standard_ShortReal, 2>;
115template class BVH_SpatialMedianBuilder<Standard_ShortReal, 3>;
116template class BVH_SpatialMedianBuilder<Standard_ShortReal, 4>;
117
118template class BVH_PrimitiveSet<Standard_Real, 2>;
119template class BVH_PrimitiveSet<Standard_Real, 3>;
120template class BVH_PrimitiveSet<Standard_Real, 4>;
121
122template class BVH_PrimitiveSet<Standard_ShortReal, 2>;
123template class BVH_PrimitiveSet<Standard_ShortReal, 3>;
124template class BVH_PrimitiveSet<Standard_ShortReal, 4>;
125
126template class BVH_Triangulation<Standard_Real, 2>;
127template class BVH_Triangulation<Standard_Real, 3>;
128template class BVH_Triangulation<Standard_Real, 4>;
129
130template class BVH_Triangulation<Standard_ShortReal, 2>;
131template class BVH_Triangulation<Standard_ShortReal, 3>;
132template class BVH_Triangulation<Standard_ShortReal, 4>;
133
df932fdf 134template class BVH_DistanceField<Standard_Real, 3>;
135template class BVH_DistanceField<Standard_Real, 4>;
136
137template class BVH_DistanceField<Standard_ShortReal, 3>;
138template class BVH_DistanceField<Standard_ShortReal, 4>;
139
3c4e78f2 140template class BVH_Transform<Standard_Real, 4>;
141template class BVH_Transform<Standard_ShortReal, 4>;