#include <DatPnt.h>
Collaboration diagram for ns_vu1112113::DatPnt:

Public Member Functions | |
| DatPnt () | |
| constructor | |
| ~DatPnt () | |
| destructor | |
| void | reset () |
| reset class information | |
| void | shade (vu1112113 &r) |
| precompute diffuse illumination | |
| const vuVector | normalVec () const |
| get normal (gradient) as vuVector | |
| void | setNormalVec (const vuVector &nv) |
Public Attributes | |
| byte | data |
| the data byte for the point it would be better to refer to the original dataset. | |
| byte | len |
| original length of gradient | |
| float | norm [3] |
| normal (normalized inverted central differences) | |
| float | illum |
| precomputed illumination3 | |
Instances of this class are managed inside the according geometry by DatGrid.
Definition at line 17 of file Raycast/DatPnt.h.
|
|
constructor
Definition at line 4 of file Raycast/DatPnt.cpp. References reset(). |
Here is the call graph for this function:

|
|
destructor
Definition at line 9 of file Raycast/DatPnt.cpp. |
|
|
get normal (gradient) as vuVector
Definition at line 32 of file Raycast/DatPnt.h. Referenced by vu1112113::Cast(), ns_vu1112113::vuSampleRay::getSamplePoint(), and shade(). |
|
|
reset class information
Definition at line 13 of file Raycast/DatPnt.cpp. Referenced by DatPnt(), and ns_vu1112113::vuSampleRay::getSamplePoint(). |
|
|
Definition at line 34 of file Raycast/DatPnt.h. Referenced by ns_vu1112113::vuSampleRay::getSamplePoint(). |
|
|
precompute diffuse illumination
Definition at line 19 of file Raycast/DatPnt.cpp. References vu1112113::brightness, vu1112113::diffuse, vuVector::dot, illum, vu1112113::lightdir, and normalVec(). Referenced by ns_vu1112113::DatGrid::shade(). |
Here is the call graph for this function:

|
|
the data byte for the point it would be better to refer to the original dataset. But for the current implementation a reference takes more time. Definition at line 43 of file Raycast/DatPnt.h. Referenced by ns_vu1112113::DatGrid::calculate_gradients(), vu1112113::Cast(), ns_vu1112113::DatGrid::copy_vol(), and ns_vu1112113::vuSampleRay::getSamplePoint(). |
|
|
precomputed illumination3
Definition at line 46 of file Raycast/DatPnt.h. Referenced by vu1112113::Cast(), ns_vu1112113::vuSampleRay::getSamplePoint(), reset(), and shade(). |
|
|
original length of gradient
Definition at line 44 of file Raycast/DatPnt.h. Referenced by ns_vu1112113::DatGrid::calculate_gradients(), vu1112113::Cast(), ns_vu1112113::vuSampleRay::getSamplePoint(), and reset(). |
|
|
normal (normalized inverted central differences)
Definition at line 45 of file Raycast/DatPnt.h. Referenced by ns_vu1112113::DatGrid::calculate_gradients(). |
1.3.9.1