qCC_db version 2.13.alpha (Qt) - 31 May 2022
CloudCompare 3D entities
Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
Frustum Class Reference
Collaboration diagram for Frustum:
Collaboration graph
[legend]

Public Types

enum  Intersection { OUTSIDE = 0 , INTERSECT = 1 , INSIDE = 2 }
 

Public Member Functions

 Frustum (const ccGLMatrixd &modelViewMat, const ccGLMatrixd &projMat)
 
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]
 

The documentation for this class was generated from the following file: