GOAT (Geometrical optics application tool)
0.1
Loading...
Searching...
No Matches
raytrace_usp.h
Go to the documentation of this file.
1
#pragma once
2
#include "
raytrace.h
"
3
#include "
raytrace_inel.h
"
4
#include "
vector.h
"
5
#include "
gridentry.h
"
6
#include <vector>
7
8
namespace
GOAT
9
{
10
namespace
raytracing
11
{
17
class
Raytrace_usp
:
18
public
Raytrace
19
{
20
public
:
21
Raytrace_usp
();
27
Raytrace_usp
(
const
Scene
&
S
,
INDEX_TYPE
n
);
28
void
clear
();
29
void
init
();
30
void
trace
();
31
void
storeData
();
32
void
traceEnterObject
();
33
void
traceLeaveObject
();
34
void
setn
(
INDEX_TYPE
n
);
40
std::vector<SuperArray <std::vector<gridEntry> > >
SA
;
41
INDEX_TYPE
n
= 1;
42
int
iR
= 0;
43
gridEntry
stack
;
44
};
45
}
46
}
47
GOAT::raytracing::Raytrace_usp::traceEnterObject
void traceEnterObject()
Function internally called when ray enters an object.
GOAT::raytracing::Raytrace_usp::iR
int iR
Number of reflections to consider.
Definition
raytrace_usp.h:42
GOAT::raytracing::Raytrace_usp::traceLeaveObject
void traceLeaveObject()
Function internally called when ray leaves an object.
GOAT::raytracing::Raytrace_usp::stack
gridEntry stack
here, the information from the light source until the region of interest (=box) is reached
Definition
raytrace_usp.h:43
GOAT::raytracing::Raytrace_usp::Raytrace_usp
Raytrace_usp(const Scene &S, INDEX_TYPE n)
Constructor.
GOAT::raytracing::Raytrace_usp::clear
void clear()
Clears the SuperArray grid (SA)
GOAT::raytracing::Raytrace_usp::init
void init()
Initialises the SuperArray grid (SA) according to the objects hold in Scene S.
GOAT::raytracing::Raytrace_usp::storeData
void storeData()
Store the data in the grid.
GOAT::raytracing::Raytrace_usp::Raytrace_usp
Raytrace_usp()
GOAT::raytracing::Raytrace_usp::setn
void setn(INDEX_TYPE n)
changes the number of (virtual) cells in the calculation space
GOAT::raytracing::Raytrace_usp::trace
void trace()
Perform the raytracing process.
GOAT::raytracing::Raytrace_usp::n
INDEX_TYPE n
Number of cells in one direction.
Definition
raytrace_usp.h:41
GOAT::raytracing::Raytrace_usp::SA
std::vector< SuperArray< std::vector< gridEntry > > > SA
Grid, that holds the information, needed to further calculate the electric field for short pulses The...
Definition
raytrace_usp.h:40
GOAT::raytracing::Raytrace::S
Scene S
Description of the scene.
Definition
raytrace.h:116
GOAT::raytracing::Raytrace::Raytrace
Raytrace()
GOAT::raytracing::Scene
Class defining a scene with lightsources and objects. This is a container used to inform the Raytrace...
Definition
raytrace.h:28
gridentry.h
GOAT::raytracing
Raytracer used for ultrashort pulse calculation with raytracing only.
Definition
asphericLens.h:6
GOAT::raytracing::INDEX_TYPE
long long int INDEX_TYPE
Definition
superarray.h:16
GOAT
This class is used for the iray class. This class is intended for internal use only....
Definition
fresnel.h:7
raytrace.h
raytrace_inel.h
GOAT::raytracing::gridEntry
Structure which holds all steps from the light source to the grid point In this structure every step ...
Definition
gridentry.h:37
vector.h
This file contains the Vector template class and some useful functions around this class.
raytracing
raytrace_usp.h
Generated by
1.14.0