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

Class holding the current context of the frustum test. More...

Classes

struct  FilterData
 

Public Member Functions

const GeometryFrustumDataget_data () const
 Get the input data.
 
const GMathFrustumBoxget_world_frustum () const
 Get the frustum in world space.
 
const GMathFrustumBoxget_local_frustum () const
 Get the frustum in the local space of the geometry.
 
bool push_point (const GMathVec3d &point)
 Check if a point is in the frustum and add it to the list if it's the case.
 
bool push_point_cloud_vertex (const GMathVec3d &vertex_position, GeometryObject *geometry, const unsigned int &vertex_id)
 Check if a geom vertex is in the frustum and add it to the list if it's the case.
 

Friends

class GeometryFrustumData
 

Internal use only

typedef bool(* FilterObjectCallback )(const CtxEval &eval_ctx, const GeometryFrustumCtx &frustum_ctx, FilterData &data)
 
GeometryObjectDescriptorobject
 
const GMathFrustumBoxlocal_frustum
 
GeometryOverridegeometry_override
 
unsigned int shading_group_offset
 
unsigned int geometry_offset
 
unsigned int hierarchy_level
 
unsigned int hierarchy_node
 
unsigned int max_hit_count
 
unsigned int hit_count
 
bool has_misses
 
bool count_gas_misses
 
CoreVector< bool > local_hits
 
ModuleSceneObjectcurrent_scene_object
 current scene object intersected
 
FilterObjectCallback get_object_filter_callback () const
 
FilterDataget_object_filter_data () const
 
void push_object_filter (FilterObjectCallback cb, FilterData &data)
 
void pop_object_filter ()
 
void clear_object_filters ()
 
void copy_object_filters (const GeometryFrustumCtx &src)
 
bool apply_object_filters (const CtxEval &eval_ctx) const
 

Detailed Description

Class holding the current context of the frustum test.