plastimatch
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
c
i
o
p
s
Enumerations
Enumerator
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
x
z
Variables
Typedefs
a
b
c
d
e
f
h
i
j
l
m
o
p
q
r
s
t
u
v
x
Enumerations
Enumerator
a
b
e
f
i
m
n
p
r
s
x
z
Macros
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
w
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Loading...
Searching...
No Matches
src
base
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
9
class
Ray_data
{
10
public
:
11
int
ap_idx
;
12
bool
intersects_volume
;
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
};
9
class
Ray_data
{
…
};
22
23
#endif
Ray_data
Definition
ray_data.h:9
Ray_data::ip2
double ip2[3]
Definition
ray_data.h:14
Ray_data::back_dist
double back_dist
Definition
ray_data.h:18
Ray_data::cp
double cp[3]
Definition
ray_data.h:19
Ray_data::ip1
double ip1[3]
Definition
ray_data.h:13
Ray_data::step_offset
int step_offset
Definition
ray_data.h:20
Ray_data::ap_idx
int ap_idx
Definition
ray_data.h:11
Ray_data::ray
double ray[3]
Definition
ray_data.h:16
Ray_data::p2
double p2[3]
Definition
ray_data.h:15
Ray_data::intersects_volume
bool intersects_volume
Definition
ray_data.h:12
Ray_data::front_dist
double front_dist
Definition
ray_data.h:17
plmbase_config.h
Generated on Tue Mar 25 2025 20:02:27 for plastimatch by
1.12.0