plastimatch
Loading...
Searching...
No Matches
ray_trace.h File Reference
#include "plmbase_config.h"
#include "ray_trace_callback.h"

Go to the source code of this file.

Macros

#define DRR_PLANE_RAY_TOLERANCE   1e-8
 
#define DRR_STRIDE_TOLERANCE   1e-10
 
#define DRR_HUGE_DOUBLE   1e10
 
#define DRR_TOPLANE_TOLERANCE   1e-7
 
#define DRR_BOUNDARY_TOLERANCE   1e-6
 
#define DRR_LEN_TOLERANCE   2e-5
 
#define DRR_MSD_NUM_BINS   60
 
#define DRR_PREPROCESS_ATTENUATION   1
 

Functions

EXTERNC void ray_trace_exact (Volume *vol, Volume_limit *vol_limit, Ray_trace_callback callback, void *callback_data, double *p1in, double *p2in)
 
EXTERNC void ray_trace_uniform (Volume *vol, Volume_limit *vol_limit, Ray_trace_callback callback, void *callback_data, double *p1in, double *p2in, float ray_step)
 

Macro Definition Documentation

◆ DRR_BOUNDARY_TOLERANCE

#define DRR_BOUNDARY_TOLERANCE   1e-6

◆ DRR_HUGE_DOUBLE

#define DRR_HUGE_DOUBLE   1e10

◆ DRR_LEN_TOLERANCE

#define DRR_LEN_TOLERANCE   2e-5

◆ DRR_MSD_NUM_BINS

#define DRR_MSD_NUM_BINS   60

◆ DRR_PLANE_RAY_TOLERANCE

#define DRR_PLANE_RAY_TOLERANCE   1e-8

◆ DRR_PREPROCESS_ATTENUATION

#define DRR_PREPROCESS_ATTENUATION   1

◆ DRR_STRIDE_TOLERANCE

#define DRR_STRIDE_TOLERANCE   1e-10

◆ DRR_TOPLANE_TOLERANCE

#define DRR_TOPLANE_TOLERANCE   1e-7

Function Documentation

◆ ray_trace_exact()

EXTERNC void ray_trace_exact ( Volume * vol,
Volume_limit * vol_limit,
Ray_trace_callback callback,
void * callback_data,
double * p1in,
double * p2in )

◆ ray_trace_uniform()

EXTERNC void ray_trace_uniform ( Volume * vol,
Volume_limit * vol_limit,
Ray_trace_callback callback,
void * callback_data,
double * p1in,
double * p2in,
float ray_step )