GOAT (Geometrical optics application tool) 0.1
Loading...
Searching...
No Matches
GOAT::raytracing::Raytrace_pure Class Reference

This class makes a raytracing without any output (except detectors) In this ray tracing class no reactions at the surface is included. It is intended for calculation only with detectors. More...

#include <raytrace.h>

Inheritance diagram for GOAT::raytracing::Raytrace_pure:
GOAT::raytracing::Raytrace GOAT::raytracing::Raytrace

Public Member Functions

 Raytrace_pure ()
 Raytrace_pure ()
 Raytrace_pure (const Scene &)
 Constructor with Scene Object.
 Raytrace_pure (const Scene &)
 Constructor with Scene Object.
Public Member Functions inherited from GOAT::raytracing::Raytrace
void init ()
 this function is called if no object was hidden
void init ()
 this function is called if no object was hidden
 Raytrace ()
 Raytrace ()
 Raytrace (const Scene &S)
 Raytrace (const Scene &S)
void setNumReflex (int numReflex)
 sets number of reflexions
void setNumReflex (int numReflex)
 sets number of reflexions
void setScene (const Scene &S)
 sets Scene
void setScene (const Scene &S)
 sets Scene
void trace ()
 this is the starting point for the raytracing procedure
void trace ()
 this is the starting point for the raytracing procedure
virtual void traceStopObject ()
virtual void traceStopObject ()
virtual void traceOneRay (RayBase *ray, int &Reflexions, int &recur)
 traces one ray
virtual void reset ()
void copyRay (RayBase *&dest, RayBase *src)
virtual void traceOneRay (RayBase *ray, int &Reflexions, int &recur)
 traces one ray
virtual void reset ()
void copyRay (RayBase *&dest, RayBase *src)

Private Member Functions

void traceEnterObject ()
 this function is called when the ray enters an object
void traceEnterObject ()
 this function is called when the ray enters an object
void traceLeaveObject ()
 this function is called when the ray leaves an object
void traceLeaveObject ()
 this function is called when the ray leaves an object

Additional Inherited Members

Public Attributes inherited from GOAT::raytracing::Raytrace
GOAT::maths::Vector< INDEX_TYPEcurrentIndex = GOAT::maths::Vector<INDEX_TYPE>(-1, -1, -1)
int currentLS
 Number of the current light source, which is currently in the calculation process.
int currentObj
 Number of the last object hit (no object hit: -1)
maths::Vector< std::complex< double > > EStart
maths::Vector< std::complex< double > > EStart2
maths::Vector< std::complex< double > > EStop
 Start and end value of the electric field.
maths::Vector< std::complex< double > > EStop2
 Start and end value of the electric field (second ray in IRay)
int lost
 Rays unintentionally get lost, e.g. due to total internal reflection.
maths::Vector< double > PStart
maths::Vector< double > PStop
 Start and end point of the last step.
maths::Vector< double > kin
 direction of the incident ray
maths::Vector< double > kref
 direction of the reflected ray
maths::Vector< double > ktrans
 direction of the transmitted ray
double PowRef
 Powers stored when ray type is PRay.
double PowIn
 Power of the incident ray.
double PowTrans
 Power of the transmitted ray.
Scene S
 Description of the scene.
bool useRRTParms
 Flag which tells the raytracing procedure if the RRT parameters of scene or the normal parameters are used within the calculation.
int type =RAYTRACER_TYPE_NONE
 Flag which shows which type of raytracer is selected.
RayBaseray
 current ray
RayBasetray
 transmitted ray
bool Abbruch
 flag to stop calculation
int numReflex = RAYTRACE_MAX_REFLEXIONS
 current number of reflections

Detailed Description

This class makes a raytracing without any output (except detectors) In this ray tracing class no reactions at the surface is included. It is intended for calculation only with detectors.

Definition at line 184 of file raytrace.h.

Constructor & Destructor Documentation

◆ Raytrace_pure() [1/4]

GOAT::raytracing::Raytrace_pure::Raytrace_pure ( )

◆ Raytrace_pure() [2/4]

GOAT::raytracing::Raytrace_pure::Raytrace_pure ( const Scene & )

Constructor with Scene Object.

◆ Raytrace_pure() [3/4]

GOAT::raytracing::Raytrace_pure::Raytrace_pure ( )

◆ Raytrace_pure() [4/4]

GOAT::raytracing::Raytrace_pure::Raytrace_pure ( const Scene & )

Constructor with Scene Object.

Member Function Documentation

◆ traceEnterObject() [1/2]

void GOAT::raytracing::Raytrace_pure::traceEnterObject ( )
inlineprivatevirtual

this function is called when the ray enters an object

Implements GOAT::raytracing::Raytrace.

Definition at line 191 of file raytrace.h.

◆ traceEnterObject() [2/2]

void GOAT::raytracing::Raytrace_pure::traceEnterObject ( )
inlineprivatevirtual

this function is called when the ray enters an object

Implements GOAT::raytracing::Raytrace.

Definition at line 188 of file raytrace.h.

◆ traceLeaveObject() [1/2]

void GOAT::raytracing::Raytrace_pure::traceLeaveObject ( )
inlineprivatevirtual

this function is called when the ray leaves an object

Implements GOAT::raytracing::Raytrace.

Definition at line 190 of file raytrace.h.

◆ traceLeaveObject() [2/2]

void GOAT::raytracing::Raytrace_pure::traceLeaveObject ( )
inlineprivatevirtual

this function is called when the ray leaves an object

Implements GOAT::raytracing::Raytrace.

Definition at line 187 of file raytrace.h.


The documentation for this class was generated from the following files: