Public Member Functions | |
| virtual iFrustum * | Clone () const =0 |
| Create a copy of this object. More... | |
| virtual void | Copy (const iFrustum *apSrc)=0 |
| Copy the given frustum. More... | |
| virtual sVec3f | GetForward () const =0 |
| Get the forward vector of the frustum. More... | |
| virtual sVec3f | GetUp () const =0 |
| Get the up vector of the frustum. More... | |
| virtual sVec3f | GetRight () const =0 |
| Get the right vector of the frustum. More... | |
| virtual void | ExtractPlanes (const sMatrixf &mtxVP)=0 |
| Extract the planes from a view projection matrix. More... | |
| virtual void | SetNumPlanes (tU32 ulNumPlane)=0 |
| Set the number of plane in the frustum. {Property}. More... | |
| virtual tU32 | GetNumPlanes () const =0 |
| Get the number of planes in the frustum. {Property}. More... | |
| virtual void | AddPlanes (tU32 aulNumPlane, const sPlanef *apPlanes)=0 |
| Add the given number of planes to the frustum. {NoAutomation}. More... | |
| virtual void | AddPlane (const sPlanef &aPlane)=0 |
| Add one plane to the frustum. More... | |
| virtual void | SetPlanes (tU32 aulNumPlane, const sPlanef *apPlanes)=0 |
| Set all planes of the frustum. {NoAutomation}. More... | |
| virtual void | SetPlane (tU32 ulIdx, const sPlanef &Plane)=0 |
| Set the plane of the given index. {Property}. More... | |
| virtual sPlanef | GetPlane (tU32 ulIdx) const =0 |
| Get the plane of the given index. {Property}. More... | |
| virtual sPlanef * | GetPlanes () const =0 |
| Get all planes. {NoAutomation}. More... | |
| virtual eCullCode | CullAABB (const sVec3f &avMin, const sVec3f &avMax) const =0 |
| Cull an AABB. More... | |
| virtual tBool | IntersectAABB (const sVec3f &avMin, const sVec3f &avMax) const =0 |
| Check if the given AABB is in the frustum. More... | |
| virtual eCullCode | CullSphere (const sVec3f &avCenter, tF32 afRadius) const =0 |
| Cull a sphere. More... | |
| virtual tBool | IntersectSphere (const sVec3f &avCenter, tF32 afRadius) const =0 |
| Check if the given sphere is in the frustum. More... | |
| virtual tBool | Transform (const sMatrixf &M)=0 |
| Transform the frustum by the given matrix. More... | |
| virtual sRectf | ComputeScreenBoundingBox (const sMatrixf &amtxWVP, const sRectf &aViewport)=0 |
| Compute the screen bounding box. More... | |
| virtual tBool | SetBoundingVolume (iBoundingVolume *apBV)=0 |
| Set the world bounding volume. {Property}. More... | |
| virtual iBoundingVolume * | GetBoundingVolume () const =0 |
| Get the world bounding volume. {Property}. More... | |
Public Member Functions inherited from iUnknown | |
| virtual tBool | IsOK () const =0 |
| Check if the object is valid. More... | |
| virtual tI32 | AddRef ()=0 |
| Signal that one more reference of the object has been created. More... | |
| virtual tI32 | Release ()=0 |
| Release a reference of the object. More... | |
| virtual void | DeleteThis ()=0 |
| Bypass any reference counting and delete this object. More... | |
| virtual void | Invalidate ()=0 |
| Invalidate the object. More... | |
| virtual iUnknown * | QueryInterface (const tUUID &aIID)=0 |
| Query an interface. More... | |
| virtual void | ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0 |
| Fill a UUID list containing the UUIDs of the implemented interfaces. More... | |
| virtual tI32 | SetNumRefs (tI32 anNumRefs)=0 |
| Set the reference counter directly. More... | |
| virtual tI32 | GetNumRefs () const =0 |
| Get the number of references to this object. More... | |
|
pure virtual |
Create a copy of this object.
|
pure virtual |
Get the forward vector of the frustum.
|
pure virtual |
Get the up vector of the frustum.
|
pure virtual |
Get the right vector of the frustum.
Extract the planes from a view projection matrix.
Set the number of plane in the frustum. {Property}.
|
pure virtual |
Get the number of planes in the frustum. {Property}.
Add the given number of planes to the frustum. {NoAutomation}.
Set all planes of the frustum. {NoAutomation}.
Set the plane of the given index. {Property}.
Get the plane of the given index. {Property}.
|
pure virtual |
Get all planes. {NoAutomation}.
Cull an AABB.
Check if the given AABB is in the frustum.
Cull a sphere.
Check if the given sphere is in the frustum.
Transform the frustum by the given matrix.
|
pure virtual |
Compute the screen bounding box.
|
pure virtual |
Set the world bounding volume. {Property}.
|
pure virtual |
Get the world bounding volume. {Property}.
1.8.7