#include <Material.h>
Collaboration diagram for ns_vu1112112::Material:

Public Member Functions | |
| Material () | |
| constructor | |
| virtual | ~Material () |
| destructor | |
| Material & | operator= (const Material &mat) |
| assignment operator | |
| void | check_absorption () |
| if absorption spectrum is flat an internal flag flat_absorption is set. | |
Public Attributes | |
| ColourType | absorption |
| weights for the illuminating spectrum | |
| ColourType | scattering |
| tells what is transmitted? | |
| bool | xray |
| If true material doesn't absorbe light but will still scatter. | |
| bool | flat_absorption |
| this flag simpilies absorption calculation if absorption has a flat spectrum | |
| int | low_th |
| low intensity thresholds for matierial | |
| int | high_th |
Scattering describes which amount of light is reflected omnidirectionally. The absorption is treated like a seperate alpha value for each channel.
Definition at line 15 of file Material.h.
|
|
constructor
Definition at line 15 of file Material.cpp. References flat_absorption, high_th, low_th, and xray. |
|
|
destructor
Definition at line 23 of file Material.cpp. |
|
|
if absorption spectrum is flat an internal flag flat_absorption is set.
Definition at line 39 of file Material.cpp. References absorption, flat_absorption, vuColour< S >::maxComponent(), and vuColour< S >::minComponent(). Referenced by ns_vu1112112::Parser::ReadMaterial(). |
Here is the call graph for this function:

|
|
assignment operator
Definition at line 28 of file Material.cpp. References absorption, flat_absorption, high_th, low_th, scattering, and xray. |
|
|
weights for the illuminating spectrum
Definition at line 30 of file Material.h. Referenced by ns_vu1112112::vu1112112::Cast(), check_absorption(), operator=(), ns_vu1112112::vu1112112::preprocess(), and ns_vu1112112::Parser::ReadMaterial(). |
|
|
this flag simpilies absorption calculation if absorption has a flat spectrum
Definition at line 39 of file Material.h. Referenced by check_absorption(), Material(), operator=(), and ns_vu1112112::vu1112112::render(). |
|
|
Definition at line 48 of file Material.h. Referenced by ns_vu1112112::DatPnt::classify(), Material(), operator=(), ns_vu1112112::vu1112112::preprocess(), and ns_vu1112112::Parser::ReadMaterial(). |
|
|
low intensity thresholds for matierial The two limits make up an interval for a tent classification function. in the middle the material percentage is 100% decreasing linearly to the borders down to 0%. They should be chosen in a way that no materials overlap to make up more than 100% this would brighten up the voxels. Definition at line 47 of file Material.h. Referenced by ns_vu1112112::DatPnt::classify(), Material(), operator=(), ns_vu1112112::vu1112112::preprocess(), and ns_vu1112112::Parser::ReadMaterial(). |
|
|
tells what is transmitted?
Definition at line 31 of file Material.h. Referenced by ns_vu1112112::vu1112112::Cast(), operator=(), ns_vu1112112::vu1112112::preprocess(), and ns_vu1112112::Parser::ReadMaterial(). |
|
|
If true material doesn't absorbe light but will still scatter. That means intensities along the ray will just add up, which results in x-ray like images Definition at line 36 of file Material.h. Referenced by ns_vu1112112::vu1112112::Cast(), Material(), operator=(), and ns_vu1112112::Parser::ReadMaterial(). |
1.3.9.1