Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Classes | Static Public Member Functions | List of all members
CtxHelpers Class Reference
Inheritance diagram for CtxHelpers:
CoreBaseType

Classes

struct  FilterClipMapData
 
struct  FilterWireframeData
 
struct  FrustumSceneItemData
 
struct  RayFrustumSceneItemData
 
struct  RaytraceSceneItemData
 
struct  VolumeDensityCutoffFilterData
 Structure defined to pass custom data to the density cutoff intersection filter which discard volumes elements in the 3D view based on their density and/or thickness. More...
 

Static Public Member Functions

static CtxGas get_empty_gas_ctx ()
 
static CtxGas get_group_gas_ctx (const CtxEval &eval_ctx, const CtxShader &shader_ctx, const ModuleGroup &group)
 
template<GMathRay<>::Type TYPE>
static void init_type_gas_ctx (const CtxEval &eval_ctx, CtxShader &shader_ctx)
 
static void init_gas_ctx (const CtxEval &eval_ctx, CtxShader &shader_ctx)
 
static bool is_matte_object (const GeometryRaytraceCtx &raytrace_ctx, const GeometryObjectDescriptor &od)
 
static bool is_matte_object (const CtxEval &eval_ctx, const GeometryRaytraceCtx &raytrace_ctx, const GeometryObjectDescriptor &od, GMathVec3d &out_color, double &out_alpha)
 
static ModuleMaterialget_material (CtxShader &shader_ctx)
 
static ModuleMaterialget_material (CtxShader &shader_ctx, const GeometryIntersection &inter)
 
static ModuleMaterialget_material (CtxShader &shader_ctx, const GMathRay<>::Type &type, const GeometryIntersection &inter)
 
static ModuleMaterialget_material (const CtxGas &gas_ctx, const GeometryIntersection &inter)
 
static ModuleMaterialget_material (const CtxGas &gas_ctx, const GeometrySource &object, const unsigned int &sg_index)
 
static bool get_shading (const SceneObjectShading *shading_table, const GeometrySource &object, const unsigned int &sg_index, ShadingGroupLinks &shading)
 
static void setup_lights (const CtxShader &shader_ctx, ModuleSceneObject *object)
 
static void setup_lights (const CtxShader &shader_ctx, const GeometryIntersection &inter)
 
static bool filter_wireframes_callback (const CtxEval &eval_ctx, const GeometryRaytraceCtx &ray_ctx, const unsigned int &ray_index, GeometryIntersection &intersection, GeometryRaytraceCtx::FilterData &data)
 
static bool filter_clip_map_callback (const CtxEval &eval_ctx, const GeometryRaytraceCtx &ray_ctx, const unsigned int &ray_index, GeometryIntersection &intersection, GeometryRaytraceCtx::FilterData &data)
 
static bool filter_ignore_volumes_callback (const CtxEval &eval_ctx, const GeometryRaytraceCtx &ray_ctx, GeometryRaytraceCtx::FilterData &data)
 
static bool ray_filter_pickable_objects_callback (const CtxEval &eval_ctx, const GeometryRaytraceCtx &ray_ctx, GeometryRaytraceCtx::FilterData &data)
 
static bool ray_frustum_filter_pickable_objects_callback (const CtxEval &eval_ctx, const GeometryRayFrustumCtx &ray_ctx, GeometryRayFrustumCtx::FilterData &data)
 
static bool frustum_filter_pickable_objects_callback (const CtxEval &eval_ctx, const GeometryFrustumCtx &frustum_ctx, GeometryFrustumCtx::FilterData &data)
 
static bool frustum_filter_scene_item_callback (const CtxEval &eval_ctx, const GeometryFrustumCtx &frustum_ctx, GeometryFrustumCtx::FilterData &data)
 
static bool ray_filter_scene_item_callback (const CtxEval &eval_ctx, const GeometryRaytraceCtx &ray_ctx, GeometryRaytraceCtx::FilterData &data)
 
static bool ray_frustum_filter_scene_item_callback (const CtxEval &eval_ctx, const GeometryRayFrustumCtx &ray_ctx, GeometryRayFrustumCtx::FilterData &data)
 
static bool volume_density_cutoff_intersection_filter (const CtxEval &eval_ctx, const GeometryRaytraceCtx &ray_ctx, const unsigned int &ray_index, GeometryIntersection &inter, GeometryRaytraceCtx::FilterData &data)
 Intersection filter that threshold (discard) the fragments according to their density and their thickness.
 
static CORE_FORCE_INLINE void push_object (GeometryObjectDescriptor &scene_desc, const unsigned int &index, ModuleSceneObject *module, GeometryOverride *override=0)
 
static CORE_FORCE_INLINE void pop_object (GeometryObjectDescriptor &scene_desc)
 
static CORE_FORCE_INLINE void empty_object_stack (GeometryObjectDescriptor &scene_desc)
 

Additional Inherited Members

- Private Member Functions inherited from CoreBaseType
bool is_kindof (const CoreClassInfo &cinfo) const
 
- Static Private Member Functions inherited from CoreBaseType
static const CoreClassInfoclass_info ()
 Get the type descriptor of this instance.