#include <ApproxRaytracer.hpp>
Public Methods | |
Y_NU () | |
Construct a Y_NU trace entry. | |
Y_NU (const LOSR::Surface &inSurface) | |
Construct a Y_NU trace entry using the surface to initialize the y-nu entry. More... | |
Y_NU& | operator= (const LOSR::Surface &inSurface) |
Initialize a y-nu trace entry with 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 on the surface. | |
long double | mU |
Angle (in radian) of the ray. | |
long double | mNU |
Angle times de refraction index. |
|
Construct a Y_NU trace entry using the surface to initialize the y-nu entry.
00055 : 00056 mT(inSurface.getThickness()), 00057 mN(inSurface.getIndex()), 00058 mC(inSurface.getCurvature()), 00059 mR(inSurface.getAperture()), 00060 mY(0), 00061 mU(0), 00062 mNU(0) 00063 { } |
|
Initialize a y-nu trace entry with a surface.
00072 { 00073 mT = inSurface.getThickness(); 00074 mN = inSurface.getIndex(); 00075 mC = inSurface.getCurvature(); 00076 mR = inSurface.getAperture(); 00077 mY = 0; 00078 mU = 0; 00079 mNU = 0; 00080 return *this; 00081 } |