![]() |
open_iA
2019.12
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
|
#include "iARayTracer.h"Classes | |
| struct | iAintersection |
| Structure representing intersection data, contains data about primitives. More... | |
| class | iAScene |
| Class representing scene data, organized as BSP tree. Also list of all primitives is available. More... | |
| class | iATriPrim |
| Triangle primitive class. More... | |
Macros | |
| #define | HIT 1 |
| #define | INPRIM -1 |
| #define | MISS 0 |
Functions | |
| int | GetIntersectionState (const iARay &ray, float &tmin, float &tmax, float &split, int splitIndex, float &t) |
| Ray-AABB intersection routine, checks which subnodes' AABBs are intersected by ray. More... | |
| int | Intersect (iAVec3f &ro, iAVec3f rd, const iAaabb &box) |
| Ray-AABB intersection routine. More... | |
| int | IntersectAABB (const iARay &ray, const iAaabb &box, float &tmin, float &tmax) |
| Ray-AABB intersection routine. More... | |
| int | IntersectCyl (const iARay &ray, const iAaabb &box, float &tmin, float &tmax, int ind) |
| Ray-Axis-oriented-cylinder intersection routine. More... | |
| #define HIT 1 |
| #define INPRIM -1 |
| #define MISS 0 |
|
inline |
Ray-AABB intersection routine, checks which subnodes' AABBs are intersected by ray.
| ray | ray class. |
| tmin | parent AABB min t. |
| tmax | parent AABB max t. |
| split | split plane's coordinates |
| splitIndex | index of splitting axis |
| t | [out] split plane's t |
Ray-AABB intersection routine.
| ro | ray's origin position. |
| rd | ray's distance. |
| box | axis aligned bounding box structure. |
Ray-AABB intersection routine.
| ray | ray class. |
| box | axis aligned bounding box structure. |
| tmin | parent AABB min t. |
| tmax | parent AABB max t. |
Ray-Axis-oriented-cylinder intersection routine.
| ray | ray class. |
| box | axis aligned bounding box structure. |
| tmin | parent AABB min t. |
| tmax | parent AABB max t. |
| ind | cylinder axis index. |
1.8.16