Omnidome
Fulldome Mapping Software Toolkit
|
Frustum helper struct constructed from a projector. More...
#include <Frustum.h>
Public Member Functions | |
Frustum (Projector const &) | |
Frustum must be constructed from a projector. More... | |
QVector3D | eye () const |
Eye position of frustum. More... | |
QVector3D | topLeft () const |
Vector of top left corner. More... | |
QVector3D | topLeft (QMatrix4x4 const &) const |
Vector of top left corner, transformed by matrix. More... | |
QVector3D | topRight () const |
Vector of top right corner. More... | |
QVector3D | topRight (QMatrix4x4 const &) const |
Vector of top right corner, transformed by matrix. More... | |
QVector3D | bottomLeft () const |
Vector of bottom left corner. More... | |
QVector3D | bottomLeft (QMatrix4x4 const &) const |
Vector of bottom left corner, transformed by matrix. More... | |
QVector3D | bottomRight () const |
Vector of bottom right corner. More... | |
QVector3D | bottomRight (QMatrix4x4 const &) const |
Vector of bottom right corner, transformed by matrix. More... | |
QRectF | rect () const |
Return frustum rectangle. More... | |
QRectF | rect (float _near, float _far) const |
Return frustum rectangle, multiplied by near and far values. More... | |
Private Attributes | |
Projector const & | proj_ |
Frustum helper struct constructed from a projector.
omni::proj::Frustum::Frustum | ( | Projector const & | _proj | ) |
Frustum must be constructed from a projector.
QVector3D omni::proj::Frustum::bottomLeft | ( | ) | const |
Vector of bottom left corner.
QVector3D omni::proj::Frustum::bottomLeft | ( | QMatrix4x4 const & | _m | ) | const |
Vector of bottom left corner, transformed by matrix.
QVector3D omni::proj::Frustum::bottomRight | ( | ) | const |
Vector of bottom right corner.
QVector3D omni::proj::Frustum::bottomRight | ( | QMatrix4x4 const & | _m | ) | const |
Vector of bottom right corner, transformed by matrix.
QVector3D omni::proj::Frustum::eye | ( | ) | const |
Eye position of frustum.
QRectF omni::proj::Frustum::rect | ( | ) | const |
Return frustum rectangle.
QRectF omni::proj::Frustum::rect | ( | float | _near, |
float | _far | ||
) | const |
Return frustum rectangle, multiplied by near and far values.
QVector3D omni::proj::Frustum::topLeft | ( | ) | const |
Vector of top left corner.
QVector3D omni::proj::Frustum::topLeft | ( | QMatrix4x4 const & | _m | ) | const |
Vector of top left corner, transformed by matrix.
QVector3D omni::proj::Frustum::topRight | ( | ) | const |
Vector of top right corner.
QVector3D omni::proj::Frustum::topRight | ( | QMatrix4x4 const & | _m | ) | const |
Vector of top right corner, transformed by matrix.
|
private |