16 #ifndef LEAF_TREATMENT_H
17 #define LEAF_TREATMENT_H
decimal keepAll(std::list< Intersection > ¤tIntersections, decimal currentTmin)
Keep all intersections before reaching currentTmin and return the tmin of the first one encountered.
@ ALL_BEFORE_TRIANGLE
ALL_BEFORE_TRIANGLE.
@ ALL_BEFORE_VISIBLE
ALL_BEFORE_VISIBLE.
decimal keepAllBeforeVisible(std::list< Intersection > ¤tIntersections, decimal currentTmin)
Keep all intersections encountered before intersecting a triangle and before reaching currentTmin,...
decimal keepAllBeforeTriangle(std::list< Intersection > ¤tIntersections, decimal currentTmin)
Keep all intersections encountered before intersecting a visible shape and before reaching currentTmi...
decimal keepFunction(treatment choice, std::list< Intersection > ¤tIntersections, decimal currentTmin)
decimal keepFirst(std::list< Intersection > ¤tIntersections, decimal currentTmin)
Keep only the first intersection encountered before reaching currentTmin and return its corresponding...