interactions.refractive_reflective_model
Interaction model for standard refraction and reflection
This module implements the RefractiveReflectiveModel class, which handles ray interactions with surfaces through refraction and reflection.
Kramer Harrison, 2025
Classes
|
Interaction model for standard refraction and reflection. |
- class RefractiveReflectiveModel(parent_surface: Surface | None, is_reflective: bool, coating: BaseCoating | None = None, bsdf: BaseBSDF | None = None)[source]
Interaction model for standard refraction and reflection.
- classmethod from_dict(data, parent_surface)
Creates an interaction model from a dictionary representation.
- property geometry
- interact_paraxial_rays(rays: ParaxialRays) ParaxialRays[source]
Interact with paraxial rays, causing refraction or reflection.
- Parameters:
rays (ParaxialRays) – The incoming paraxial rays.
- Returns:
The outgoing paraxial rays.
- Return type:
- interact_real_rays(rays: RealRays) RealRays[source]
Interact with real rays, causing refraction or reflection.
- interaction_type = 'refractive_reflective'
- property material_post
- property material_pre