#include <ExactRaytracer.hpp>
Public Methods | |
| QU () | |
| Construct a QU trace entry. | |
| QU (const LOSR::Surface &inSurface) | |
| Construct a QU trace entry using a surface. More... | |
| QU& | operator= (const LOSR::Surface &inSurface) |
| Initialize a QU trace entry using a surface. More... | |
Public Attributes | |
| long double | mT |
| Distance to the next surface. | |
| long double | mN |
| Refraction index of the material at the right. | |
| long double | mC |
| Curvature of the surface. | |
| long double | mR |
| Aperture radius of the surface. | |
| long double | mY |
| Height of the ray at the surface. | |
| long double | mU |
| Angle of the ray at the surface. | |
| long double | mQ |
| Initial ray-vertex perpenticular. | |
| long double | mSinU |
| Sine of the initial slope angle. | |
| long double | mCosU |
| Cosine of the initial slope angle. | |
| long double | mSinI |
| Sine of the initial incidence angle. | |
| long double | mCosI |
| Cosine of the initial incidence angle. | |
| long double | mSinI_U |
| Sine of (initial incidence angle minus initial slope angle). | |
| long double | mCosI_U |
| Cosine of (initial incidence angle minus initial slope angle). | |
| long double | mSinIp |
| Sine of the refracted incidence angle. | |
| long double | mCosIp |
| Cosine of the refracted incidence angle. | |
| long double | mSinUp |
| Sine of the refracted slope angle. | |
| long double | mCosUp |
| Cosine of the refracted slope angle. | |
| long double | mQp |
| Refracted ray-vertex perpenticular. | |
|
|
Construct a QU trace entry using a surface.
00064 : 00065 mT(inSurface.getThickness()), 00066 mN(inSurface.getIndex()), 00067 mC(inSurface.getCurvature()), 00068 mR(inSurface.getAperture()), 00069 mY(0), 00070 mU(0), 00071 mQ(0), 00072 mSinU(0), 00073 mCosU(1), 00074 mSinI(0), 00075 mCosI(1), 00076 mSinI_U(0), 00077 mCosI_U(1), 00078 mSinIp(0), 00079 mCosIp(1), 00080 mSinUp(0), 00081 mCosUp(1), 00082 mQp(0) 00083 { } |
|
|
Initialize a QU trace entry using a surface.
00093 {
00094 mT = inSurface.getThickness();
00095 mN = inSurface.getIndex();
00096 mC = inSurface.getCurvature();
00097 mR = inSurface.getAperture();
00098 mY = 0;
00099 mU = 0;
00100 mQ = 0;
00101 mSinU = 0;
00102 mCosU = 1;
00103 mSinI = 0;
00104 mCosI = 1;
00105 mSinI_U = 0;
00106 mCosI_U = 1;
00107 mSinIp = 0;
00108 mCosIp = 1;
00109 mSinUp = 0;
00110 mCosUp = 1;
00111 mQp = 0;
00112 return *this;
00113 }
|
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001