Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
GMathFrustumBox Class Reference

Public Types

enum  { MAX_PLANE_COUNT = GMathFrustum::MAX_PLANE_COUNT + 2 }
 

Public Member Functions

void clear ()
 
void set_near_far_planes (const GMathBasicRay<> &ray, const double &tnear, const double &tfar)
 
void transform (const GMathMatrix4x4d &xform, const GMathMatrix4x4d &inv_xform)
 
void transform (const GMathFrustumBox &frustum, const GMathMatrix4x4d &xform, const GMathMatrix4x4d &inv_xform)
 
void normalize ()
 
const unsigned int & get_side_plane_count () const
 
const GMathVec3d & get_side_plane_origin (const unsigned int &plane_index) const
 
const GMathVec3d & get_side_plane_normal (const unsigned int &plane_index) const
 
const double & get_side_plane_offset (const unsigned int &plane_index) const
 
double get_side_plane_norm (const unsigned int &plane_index) const
 
const GMathVec3d & get_near_plane_origin () const
 
const GMathVec3d & get_near_plane_normal () const
 
const double & get_near_plane_offset () const
 
double get_near_plane_norm () const
 
const GMathVec3d & get_far_plane_origin () const
 
const GMathVec3d & get_far_plane_normal () const
 
const double & get_far_plane_offset () const
 
double get_far_plane_norm () const
 
double eval_side_plane (const unsigned int &plane_index, const GMathVec3d &point) const
 
double eval_near_plane (const GMathVec3d &point) const
 
double eval_far_plane (const GMathVec3d &point) const
 
double get_side_plane_dist (const unsigned int &plane_index, const GMathVec3d &point) const
 
double get_near_plane_dist (const GMathVec3d &point) const
 
double get_far_plane_dist (const GMathVec3d &point) const
 
unsigned int get_plane_count () const
 
const GMathVec3d & get_plane_origin (const unsigned int &plane_index) const
 
const GMathVec3d & get_plane_normal (const unsigned int &plane_index) const
 
const double & get_plane_offset (const unsigned int &plane_index) const
 
double get_plane_norm (const unsigned int &plane_index) const
 
double eval_plane (const unsigned int &plane_index, const GMathVec3d &point) const
 
double get_plane_dist (const unsigned int &plane_index, const GMathVec3d &point) const
 

Public Attributes

GMathFrustum side_planes
 
GMathPlane near_plane
 
GMathPlane far_plane