|
3ds Max C++ API Reference
|
#include <frustum.h>
Public Types | |
| enum | FrustumPlane { FP_Near = 0 , FP_Far , FP_Left , FP_Right , FP_Top , FP_Bottom , FP_Num } |
Public Member Functions | |
| Frustum () | |
| Frustum (bool bPerspective, float fNear, float fFar, const Matrix3 &matAffine, float fFOV, float fAspect, float fWidth, float fHeight) | |
| Frustum (const Point3 &Origin, const Point3 &Direction, const Point3 &Up, float Width, float Height, float Length) | |
| Frustum (const Point3 &Origin, const Point3 &Direction, const Point3 &Up, const Box3 &AABB) | |
| Frustum (const Point3 &Origin, const Point3 &Direction, const Point3 &Up, const Frustum &Fru) | |
| Frustum (const Frustum &Fru, const Box3 &AABB) | |
| Frustum (const Point3 &Origin, const Point3 &Direction, const Point3 &Up, Point3 Vertices[], int nVertex) | |
| Frustum (const Point3 &Origin, Point3 Vertices[], int nVertex, bool x_major) | |
| Frustum (const Point3 &Origin, const Point3 &Direction, const Point3 &Up, float FovX, float FovY, float NearClip, float FarClip) | |
| void | UpdateDerivedData () |
| void | GetViewMatrix (float Matrix[4][4]) const |
| void | GetProjMatrix (float Matrix[4][4]) const |
| int | IntersectSphere (FSphere &Sphere) const |
| int | IntersectOBB (Box3 &LocalB, const Matrix3 &LocalToWorld) const |
| int | IntersectAABB (Box3 &AABB) const |
| bool | IntersectSphereFast (FSphere &Sphere) const |
| bool | IntersectOBBFast (Box3 &LocalB, const Matrix3 &LocalToWorld) const |
| bool | IntersectAABBFast (Box3 &AABB) const |
Public Attributes | |
| Point3 | m_posEye |
| Point3 | m_dirEye |
| Point3 | m_dirUp |
| Point2 | m_centerBias |
| Point2 | m_centerScale |
| float | m_fNearClip |
| float | m_fFarClip |
| bool | m_bPerspective |
| bool | m_bEnaBiasScale |
| float | m_fFovX |
| float | m_fFovY |
| float | m_fAspect |
| float | m_fWidth |
| float | m_fHeight |
| Point3 | m_Vertex [8] |
| FPlane | m_Plane [6] |
| enum FrustumPlane |
|
inline |
| Frustum | ( | bool | bPerspective, |
| float | fNear, | ||
| float | fFar, | ||
| const Matrix3 & | matAffine, | ||
| float | fFOV, | ||
| float | fAspect, | ||
| float | fWidth, | ||
| float | fHeight | ||
| ) |
| Frustum | ( | const Point3 & | Origin, |
| const Point3 & | Direction, | ||
| const Point3 & | Up, | ||
| float | Width, | ||
| float | Height, | ||
| float | Length | ||
| ) |
| Frustum | ( | const Point3 & | Origin, |
| const Point3 & | Direction, | ||
| const Point3 & | Up, | ||
| Point3 | Vertices[], | ||
| int | nVertex | ||
| ) |
| Frustum | ( | const Point3 & | Origin, |
| const Point3 & | Direction, | ||
| const Point3 & | Up, | ||
| float | FovX, | ||
| float | FovY, | ||
| float | NearClip, | ||
| float | FarClip | ||
| ) |
| void UpdateDerivedData | ( | ) |
| void GetViewMatrix | ( | float | Matrix[4][4] | ) | const |
| void GetProjMatrix | ( | float | Matrix[4][4] | ) | const |
| bool IntersectSphereFast | ( | FSphere & | Sphere | ) | const |
| bool IntersectAABBFast | ( | Box3 & | AABB | ) | const |
| Point3 m_posEye |
| Point3 m_dirEye |
| Point3 m_dirUp |
| Point2 m_centerBias |
| Point2 m_centerScale |
| float m_fNearClip |
| float m_fFarClip |
| bool m_bPerspective |
| bool m_bEnaBiasScale |
| float m_fFovX |
| float m_fFovY |
| float m_fAspect |
| float m_fWidth |
| float m_fHeight |
| Point3 m_Vertex[8] |
| FPlane m_Plane[6] |