|
rl_raylib
1.1.10
|
A class encapsulating a multilayer surface, including surface normal. More...
#include <rl_MultilayerSurface.h>
Public Member Functions | |
| virtual | ~rl_MultilayerSurface () |
| Destructor. | |
| rl_MultilayerSurface (rl_Multilayer &ml, dvm3_Vector &norm) | |
| Constructor. More... | |
| dvm3_Vector const & | normal_vector () const |
| Accessor. More... | |
| void | set_normal (dvm3_Vector const &norm) |
| Mutator. More... | |
| int | reflect (rl_Ray &ray) |
| Mutator. More... | |
| rl_ReflectionCoefPOD const & | reflection_coefs () const |
| Accessor. More... | |
| rl_DielectricLayer const & | layer (int layer_no) const |
| Accessor. More... | |
| std::ostream & | dump_on (std::ostream &os, int layer_no, char const pre[]="", char const pst[]="") const |
| Dump information about a layer. More... | |
A class encapsulating a multilayer surface, including surface normal.
This class contains the multilayer data and surface normal by reference. That is, the rl_Multilayer and dvm3_Vector objects must already exist.
Definition at line 51 of file rl_MultilayerSurface.h.
|
inline |
Constructor.
Constructs multilayer surface information from the provided rl_Multilayer object and normal vector.
| ml | the rl_Multilayer object to be used (must already exist) |
| norm | the surface normal dvm3_Vector to be used (must already exist) |
Definition at line 181 of file rl_MultilayerSurface.h.
|
inline |
Dump information about a layer.
| os | output stream |
| layer_no | layer number for which the information is requested. |
| pre | optional char* prefix string. |
| pst | optional char* postfix string. |
Definition at line 231 of file rl_MultilayerSurface.h.
|
inline |
Accessor.
| layer_no | layer number for which the information is requested. |
Definition at line 226 of file rl_MultilayerSurface.h.
|
inline |
Accessor.
Definition at line 190 of file rl_MultilayerSurface.h.
|
inline |
Mutator.
Reflect ray direction vector at this surface
| ray | to be reflected. The ray is assumed to be already at a valid surface intercept point. The ray direction vector and polarization state are updated. |
Definition at line 213 of file rl_MultilayerSurface.h.
|
inline |
Accessor.
Definition at line 195 of file rl_MultilayerSurface.h.
|
inline |
Mutator.
Set the surface normal at the ray/surface intercept.
Until the full surface intercept apparatus is available, applications need to set the surface normal at the intercept.
| norm | the surface normal vector at the ray intercept |
Definition at line 203 of file rl_MultilayerSurface.h.