SLProject  4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
SLRay.h File Reference
#include <SLMaterial.h>
#include <SLMesh.h>
Include dependency graph for SLRay.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SLRay
 Ray class with ray and intersection properties. More...
 

Macros

#define SL_MAXTRACE   15
 Ray tracing constant for max. allowed recursion depth. More...
 

Enumerations

enum  SLRayType {
  PRIMARY = 0 , REFLECTED = 1 , REFRACTED = 2 , SHADOW = 3 , PRIMARY = 0 , REFLECTED = 1 ,
  TRANSMITTED = 2 , SHADOW = 3
}
 SLRayType enumeration for specifying ray type in ray tracing. More...
 

Detailed Description

Date
July 2014
Authors
Marcus Hudritsch
Remarks
Please use clangformat to format the code. See more code style on https://github.com/cpvrlab/SLProject4/wiki/SLProject-Coding-Style
Date
February 2013
Authors
Marcus Hudritsch
Remarks
Please use clangformat to format the code. See more code style on https://github.com/cpvrlab/SLProject4/wiki/SLProject-Coding-Style

Definition in file SLRay.h.

Macro Definition Documentation

◆ SL_MAXTRACE

#define SL_MAXTRACE   15

Ray tracing constant for max. allowed recursion depth.

Definition at line 30 of file SLRay.h.

Enumeration Type Documentation

◆ SLRayType

enum SLRayType

SLRayType enumeration for specifying ray type in ray tracing.

Enumerator
PRIMARY 
REFLECTED 
REFRACTED 
SHADOW 
PRIMARY 
REFLECTED 
TRANSMITTED 
SHADOW 

Definition at line 21 of file SLRay.h.

22 {
23  PRIMARY = 0,
24  REFLECTED = 1,
25  REFRACTED = 2,
26  SHADOW = 3
27 };
@ SHADOW
Definition: SLRay.h:26
@ PRIMARY
Definition: SLRay.h:23
@ REFLECTED
Definition: SLRay.h:24
@ REFRACTED
Definition: SLRay.h:25