A representation of a bounding rectangle. More...
#include <BoundingRectangle.hpp>
| Public Member Functions | |
| BoundingRectangle (BaseVector< CoordType > supportVector, BaseVector< CoordType > vec1, BaseVector< CoordType > vec2, Normal< CoordType > normal, CoordType minDistA, CoordType maxDistA, CoordType minDistB, CoordType maxDistB) | |
| Constructor.  More... | |
| Public Attributes | |
| CoordType | m_maxDistA | 
| Distance of the end border from the support vector in the first direction (if negative: reverse direction)  More... | |
| CoordType | m_maxDistB | 
| Distance of the end border from the support vector in the second direction (if negative: reverse direction)  More... | |
| CoordType | m_minDistA | 
| Distance of the beginning border from the support vector in the first direction (if negative: reverse direction)  More... | |
| CoordType | m_minDistB | 
| Normal< CoordType > | m_normal | 
| The normal of the rectangle.  More... | |
| BaseVector< CoordType > | m_supportVector | 
| A 3D point, that is the support vector of the rectangle.  More... | |
| BaseVector< CoordType > | m_vec1 | 
| The first direction vector.  More... | |
| BaseVector< CoordType > | m_vec2 | 
| The second direction vector (that should be orthogonal to the first direction)  More... | |
A representation of a bounding rectangle.
A data class for representing a bounding rectangle that is used for texturizing. Each bounding rectangle is composed of a support vector and a normal that define the rectangles position in 3d space, as well as two vectors that describe the 2d coordinate system for the rectangle. Min dist A and B describe the min distance from the support vector in the 2d coordinate system. The same applies for max dist A and B.
                    vec1
             ─────────────────>
    minDistA
|----------------|           maxDistA
                 |-------------------------------|
┌────────────────────────────────────────────────┐  ┬
│                                                │  ¦
│                                                │  ¦             │
│                                                │  ¦ minDistB    │
│                                                │  ¦             │ vec2
│                  supportVector                 │  ¦             │
│                ×                               │  ┴ ┬           │
│                                                │    ¦           V
│                                                │    ¦ maxDistB
│                                                │    ¦
└────────────────────────────────────────────────┘    ┴
 
Definition at line 77 of file BoundingRectangle.hpp.
| 
 | inline | 
Constructor.
Definition at line 100 of file BoundingRectangle.hpp.
| CoordType lvr2::BoundingRectangle< CoordType >::m_maxDistA | 
Distance of the end border from the support vector in the first direction (if negative: reverse direction)
Definition at line 90 of file BoundingRectangle.hpp.
| CoordType lvr2::BoundingRectangle< CoordType >::m_maxDistB | 
Distance of the end border from the support vector in the second direction (if negative: reverse direction)
Definition at line 95 of file BoundingRectangle.hpp.
| CoordType lvr2::BoundingRectangle< CoordType >::m_minDistA | 
Distance of the beginning border from the support vector in the first direction (if negative: reverse direction)
Definition at line 88 of file BoundingRectangle.hpp.
| CoordType lvr2::BoundingRectangle< CoordType >::m_minDistB | 
Distance of the beginning border from the support vector in the second direction (if negative: reverse direction)
Definition at line 93 of file BoundingRectangle.hpp.
| Normal<CoordType> lvr2::BoundingRectangle< CoordType >::m_normal | 
The normal of the rectangle.
Definition at line 86 of file BoundingRectangle.hpp.
| BaseVector<CoordType> lvr2::BoundingRectangle< CoordType >::m_supportVector | 
A 3D point, that is the support vector of the rectangle.
Definition at line 80 of file BoundingRectangle.hpp.
| BaseVector<CoordType> lvr2::BoundingRectangle< CoordType >::m_vec1 | 
The first direction vector.
Definition at line 82 of file BoundingRectangle.hpp.
| BaseVector<CoordType> lvr2::BoundingRectangle< CoordType >::m_vec2 | 
The second direction vector (that should be orthogonal to the first direction)
Definition at line 84 of file BoundingRectangle.hpp.