#include <octree.h>
Collaboration diagram for FastClassification:
Public Member Functions | |
FastClassification (byte *volumeData, int dim1Size, int dim2Size, int dim3Size) | |
Constructor. | |
~FastClassification (void) | |
Destructor. | |
void | buildSummedAreaTable (float *transferFunction, float threshold_runlength) |
Builds the summed area table. | |
void | classify (void) |
Classifies the volume-data in the octree. | |
int | skip (int x, int y, int z, int mainViewingDirection) |
Compute the maximum possible skipping of transparent voxels. | |
Private Attributes | |
Octree * | octree |
The min-max octree. | |
SummedAreaTable * | sTable |
The summed area table. | |
byte * | data |
The volume data. | |
int | width |
The width of the volume data. | |
int | height |
The height of the volume data. | |
int | depth |
The depth of the volume data. | |
float * | TFunc |
The transfer function. |
FastClassification makes octree and summed area table work together and offers the interface for the Shear- Warp Algorithm to use fast classification.
Definition at line 261 of file octree.h.
|
Constructor.
Definition at line 330 of file octree.cpp. |
|
Destructor.
Definition at line 345 of file octree.cpp. |
|
Builds the summed area table.
Definition at line 376 of file octree.cpp. References SummedAreaTable::build(), and sTable. Referenced by vu111211A::render(). |
Here is the call graph for this function:
|
Classifies the volume-data in the octree.
Definition at line 356 of file octree.cpp. References Octree::classify(), octree, and sTable. Referenced by vu111211A::classify(), and vu111211A::render(). |
Here is the call graph for this function:
|
Compute the maximum possible skipping of transparent voxels.
Definition at line 364 of file octree.cpp. References octree, and Octree::skip(). Referenced by vu111211A::makeIntermediateImageOrthoFastClass(). |
Here is the call graph for this function:
|
The volume data.
Definition at line 309 of file octree.h. Referenced by FastClassification(). |
|
The depth of the volume data.
Definition at line 316 of file octree.h. Referenced by FastClassification(). |
|
The height of the volume data.
Definition at line 314 of file octree.h. Referenced by FastClassification(). |
|
The min-max octree.
Definition at line 303 of file octree.h. Referenced by classify(), FastClassification(), skip(), and ~FastClassification(). |
|
The summed area table.
Definition at line 306 of file octree.h. Referenced by buildSummedAreaTable(), classify(), FastClassification(), and ~FastClassification(). |
|
The transfer function.
|
|
The width of the volume data.
Definition at line 312 of file octree.h. Referenced by FastClassification(). |