#include <octree.h>
Collaboration diagram for SummedAreaTable:
Public Member Functions | |
SummedAreaTable (void) | |
Constructor. | |
~SummedAreaTable () | |
Destructor. | |
void | build (float *transferFunction, float threshold_runlength) |
Build the summed area table. | |
int | transparent (byte min, byte max) |
Given range transparent? | |
Private Attributes | |
int * | table |
The summed area table itself. |
The summed area table deals with summing up the opacities in the transferfunction. This way it can be checked out whether sub-trees of the total octree are transparent or not.
Definition at line 209 of file octree.h.
|
Constructor. Constructs the summed area table Definition at line 275 of file octree.cpp. References table. |
|
Destructor. Removes the summed area table. Definition at line 283 of file octree.cpp. References table. |
|
Build the summed area table. build up the summed area table (for each voxel-value i compute the sum of all opacities greater than a given threshold from 0 up to i.
Definition at line 292 of file octree.cpp. Referenced by FastClassification::buildSummedAreaTable(). |
|
Given range transparent? Check whether the given range is total transparent (0 = false, 1 = true)
Definition at line 306 of file octree.cpp. References max, min, and table. Referenced by Octree::classify(). |
|
The summed area table itself. The summed area table is an array of integers. Definition at line 252 of file octree.h. Referenced by build(), SummedAreaTable(), transparent(), and ~SummedAreaTable(). |