![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <ecvFrustum.h>
Public Types | |
| enum | Intersection { OUTSIDE = 0, INTERSECT = 1, INSIDE = 2 } |
Public Member Functions | |
| Frustum ()=default | |
| Frustum (const ccGLMatrixd &modelViewMat, const ccGLMatrixd &projMat) | |
| virtual | ~Frustum ()=default |
| Intersection | pointInFrustum (const CCVector3f &p) const |
| Intersection | sphereInFrustum (const CCVector3f &c, float r) const |
| Intersection | boxInFrustum (const AABox &box) const |
| Intersection | boxInFrustum (const AACube &cube) const |
Protected Types | |
| enum | PLANE { TOP = 0, BOTTOM = 1, LEFT = 2, RIGHT = 3, NEARP = 4, FARP = 5 } |
Protected Member Functions | |
| template<typename T > | |
| void | initfromMPMatrix (const ccGLMatrixTpl< T > &MP) |
Protected Attributes | |
| Plane | pl [6] |
|
protected |
|
default |
|
inline |
References initfromMPMatrix().
|
virtualdefault |
|
inline |
References AABox::getVertexN(), AABox::getVertexP(), INSIDE, INTERSECT, OUTSIDE, pl, and result.
|
inline |
References AACube::getVertexN(), AACube::getVertexP(), INSIDE, INTERSECT, OUTSIDE, pl, and result.
|
inlineprotected |
References BOTTOM, ccGLMatrixTpl< T >::data(), FARP, LEFT, NEARP, pl, RIGHT, Plane::setCoefficients(), and TOP.
Referenced by Frustum().
|
inline |
|
inline |
References Utils::distance(), INSIDE, INTERSECT, OUTSIDE, pl, and result.
Referenced by PointCloudLODVisibilityFlagger::flag(), and PointCloudLODRenderer::render().
|
protected |
Referenced by boxInFrustum(), initfromMPMatrix(), pointInFrustum(), and sphereInFrustum().