Clarisse 4.0 SP5b SDK  4.0.0.0.5.1
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
GeometryFrustumData Class Reference

Class containing the input data needed for testing objects against a frustum. More...

Inheritance diagram for GeometryFrustumData:
CtxFrustum

Public Types

enum  GatherMode {
  GATHER_PARTIAL_OBJECTS,
  GATHER_FULL_OBJECTS,
  GATHER_POINT_POSITIONS,
  GATHER_POINT_CLOUD_VERTICES
}
 

Public Member Functions

 GeometryFrustumData (const GeometryFrustumData &src)
 
GeometryFrustumCtxget_ctx ()
 Get the context of the frustum test.
 

Public Attributes

GatherMode gather_mode
 gathering mode
 
GMathRay::Type ray_type
 the type of ray to use when testing objects
 
GMathFrustumBoxfrustum
 the frustum to use for the test
 
CoreVector< unsigned int > * hits
 array containing the indices of objects that have been caught by the frustum test (can be null)
 
CoreVector< GeometryVertex > * geom_vertices
 array containing description of geometries vertices that are in the frustum (can be null)
 

Detailed Description

Class containing the input data needed for testing objects against a frustum.

Member Enumeration Documentation

Enumerator:
GATHER_PARTIAL_OBJECTS 

gather objects that are partially inside the frustum

GATHER_FULL_OBJECTS 

gather only objects that are fully inside the frustum

GATHER_POINT_POSITIONS 

gather points positions

GATHER_POINT_CLOUD_VERTICES 

gather point cloud vertices description