plastimatch
Loading...
Searching...
No Matches
ray_data.h
Go to the documentation of this file.
1/* -----------------------------------------------------------------------
2 See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3 ----------------------------------------------------------------------- */
4#ifndef _ray_data_h_
5#define _ray_data_h_
6
7#include "plmbase_config.h"
8
9class Ray_data {
10public:
11 int ap_idx;
13 double ip1[3]; /* Front intersection with volume */
14 double ip2[3]; /* Back intersection with volume */
15 double p2[3]; /* Intersection with aperture plane */
16 double ray[3]; /* Unit vector in direction of ray */
17 double front_dist; /* Distance from aperture to ip1 */
18 double back_dist; /* Distance from aperture to ip2 */
19 double cp[3]; /* Intersection with front clipping plane */
20 int step_offset; /* Number of steps before reaching k = 0 */
21};
22
23#endif
Definition ray_data.h:9
double ip2[3]
Definition ray_data.h:14
double back_dist
Definition ray_data.h:18
double cp[3]
Definition ray_data.h:19
double ip1[3]
Definition ray_data.h:13
int step_offset
Definition ray_data.h:20
int ap_idx
Definition ray_data.h:11
double ray[3]
Definition ray_data.h:16
double p2[3]
Definition ray_data.h:15
bool intersects_volume
Definition ray_data.h:12
double front_dist
Definition ray_data.h:17