![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qssgrenderclippingfrustum_p.h>
Classes | |
| struct | BoxEdge |
Public Types | |
| enum | BoxEdgeID : quint8 { None = 0 , xMax = 1 , yMax = 1 << 1 , zMax = 1 << 2 } |
| using | BoxEdgeFlag = std::underlying_type_t<BoxEdgeID> |
Public Member Functions | |
| constexpr float | distance (const QVector3D &pt) const |
| QVector3D | intersectWithLine (const QVector3D &p0, const QVector3D &p1) const |
| int | intersect (const QSSGBounds3 &bounds) const |
| constexpr bool | intersectSimple (const QSSGBounds3 &bounds) const |
| void | calculateBBoxEdges () |
Static Public Member Functions | |
| static constexpr QVector3D | corner (const QSSGBounds3 &bounds, BoxEdgeFlag edge) |
Public Attributes | |
| QVector3D | normal |
| float | d |
| BoxEdge | mEdges |
Definition at line 25 of file qssgrenderclippingfrustum_p.h.
| using QSSGClipPlane::BoxEdgeFlag = std::underlying_type_t<BoxEdgeID> |
Definition at line 34 of file qssgrenderclippingfrustum_p.h.
| enum QSSGClipPlane::BoxEdgeID : quint8 |
| Enumerator | |
|---|---|
| None | |
| xMax | |
| yMax | |
| zMax | |
Definition at line 27 of file qssgrenderclippingfrustum_p.h.
|
inline |
Definition at line 110 of file qssgrenderclippingfrustum_p.h.
|
inlinestaticconstexpr |
Definition at line 75 of file qssgrenderclippingfrustum_p.h.
|
inlinenodiscardconstexpr |
Definition at line 51 of file qssgrenderclippingfrustum_p.h.
|
inline |
intersection test between plane and bounding sphere. return 1 if the bs is completely above plane, return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane.
Definition at line 90 of file qssgrenderclippingfrustum_p.h.
|
inlinenodiscardconstexpr |
Definition at line 105 of file qssgrenderclippingfrustum_p.h.
|
inline |
Definition at line 54 of file qssgrenderclippingfrustum_p.h.
| float QSSGClipPlane::d |
Definition at line 46 of file qssgrenderclippingfrustum_p.h.
| BoxEdge QSSGClipPlane::mEdges |
Definition at line 47 of file qssgrenderclippingfrustum_p.h.
| QVector3D QSSGClipPlane::normal |
Definition at line 45 of file qssgrenderclippingfrustum_p.h.