BoundingRectangle.hpp
Go to the documentation of this file.
1 
34 #ifndef LVR2_GEOMETRY_BOUNDINGRECTANGLE_H_
35 #define LVR2_GEOMETRY_BOUNDINGRECTANGLE_H_
36 
37 #include "lvr2/geometry/Normal.hpp"
38 
39 namespace lvr2
40 {
41 
42 
76 template<typename CoordType>
78 {
88  CoordType m_minDistA;
90  CoordType m_maxDistA;
93  CoordType m_minDistB;
95  CoordType m_maxDistB;
96 
101  BaseVector<CoordType> supportVector,
104  Normal<CoordType> normal,
105  CoordType minDistA,
106  CoordType maxDistA,
107  CoordType minDistB,
108  CoordType maxDistB
109  ) :
110  m_supportVector(supportVector),
111  m_vec1(vec1),
112  m_vec2(vec2),
113  m_normal(normal),
114  m_minDistA(minDistA),
115  m_maxDistA(maxDistA),
116  m_minDistB(minDistB),
117  m_maxDistB(maxDistB)
118  {
119  }
120 
121 };
122 
123 } // namespace lvr2
124 
125 
126 
127 #endif /* LVR2_GEOMETRY_BOUNDINGRECTANGLE_H_ */
lvr2::BaseVector< CoordType >
lvr2::BoundingRectangle
A representation of a bounding rectangle.
Definition: BoundingRectangle.hpp:77
lvr2::BoundingRectangle::m_normal
Normal< CoordType > m_normal
The normal of the rectangle.
Definition: BoundingRectangle.hpp:86
lvr2::BoundingRectangle::m_vec1
BaseVector< CoordType > m_vec1
The first direction vector.
Definition: BoundingRectangle.hpp:82
lvr2::Normal
A vector guaranteed to be normalized (length = 1).
Definition: BaseVector.hpp:49
lvr2::BoundingRectangle::m_minDistB
CoordType m_minDistB
Definition: BoundingRectangle.hpp:93
lvr2::BoundingRectangle::BoundingRectangle
BoundingRectangle(BaseVector< CoordType > supportVector, BaseVector< CoordType > vec1, BaseVector< CoordType > vec2, Normal< CoordType > normal, CoordType minDistA, CoordType maxDistA, CoordType minDistB, CoordType maxDistB)
Constructor.
Definition: BoundingRectangle.hpp:100
lvr2::BoundingRectangle::m_maxDistA
CoordType m_maxDistA
Distance of the end border from the support vector in the first direction (if negative: reverse direc...
Definition: BoundingRectangle.hpp:90
lvr2
Definition: BaseBufferManipulators.hpp:39
lvr2::BoundingRectangle::m_minDistA
CoordType m_minDistA
Distance of the beginning border from the support vector in the first direction (if negative: reverse...
Definition: BoundingRectangle.hpp:88
lvr2::BoundingRectangle::m_maxDistB
CoordType m_maxDistB
Distance of the end border from the support vector in the second direction (if negative: reverse dire...
Definition: BoundingRectangle.hpp:95
lvr2::BoundingRectangle::m_supportVector
BaseVector< CoordType > m_supportVector
A 3D point, that is the support vector of the rectangle.
Definition: BoundingRectangle.hpp:80
Normal.hpp
lvr2::BoundingRectangle::m_vec2
BaseVector< CoordType > m_vec2
The second direction vector (that should be orthogonal to the first direction)
Definition: BoundingRectangle.hpp:84


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:22