Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

FastClassification Class Reference

The class that controls octree and summed area table. More...

#include <octree.h>

Collaboration diagram for FastClassification:

Collaboration graph
[legend]
List of all members.

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

Octreeoctree
 The min-max octree.
SummedAreaTablesTable
 The summed area table.
bytedata
 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.
floatTFunc
 The transfer function.

Detailed Description

The class that controls octree and summed area table.

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 & Destructor Documentation

FastClassification::FastClassification byte volumeData,
int  dim1Size,
int  dim2Size,
int  dim3Size
 

Constructor.

Parameters:
volumeData the volume data
dim1Size the size of the volume data in X
dim2Size the size of the volume data in Y
dim3Size the size of the volume data in Z

Definition at line 330 of file octree.cpp.

References data, depth, height, octree, sTable, and width.

FastClassification::~FastClassification void   ) 
 

Destructor.

Definition at line 345 of file octree.cpp.

References octree, and sTable.


Member Function Documentation

void FastClassification::buildSummedAreaTable float transferFunction,
float  threshold_runlength
 

Builds the summed area table.

Parameters:
transferFunction a pointer to the transfer-function
threshold_runlength the threshold for a value in the sum to count.

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:

void FastClassification::classify void   ) 
 

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:

int FastClassification::skip int  x,
int  y,
int  z,
int  mainViewingDirection
 

Compute the maximum possible skipping of transparent voxels.

Parameters:
x the x-coordinate of the current position.
y the y-coordinate of the current position.
z the z-coordinate of the current position.
mainViewingDirection the main viewing direction.

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:


Member Data Documentation

byte* FastClassification::data [private]
 

The volume data.

Definition at line 309 of file octree.h.

Referenced by FastClassification().

int FastClassification::depth [private]
 

The depth of the volume data.

Definition at line 316 of file octree.h.

Referenced by FastClassification().

int FastClassification::height [private]
 

The height of the volume data.

Definition at line 314 of file octree.h.

Referenced by FastClassification().

Octree* FastClassification::octree [private]
 

The min-max octree.

Definition at line 303 of file octree.h.

Referenced by classify(), FastClassification(), skip(), and ~FastClassification().

SummedAreaTable* FastClassification::sTable [private]
 

The summed area table.

Definition at line 306 of file octree.h.

Referenced by buildSummedAreaTable(), classify(), FastClassification(), and ~FastClassification().

float* FastClassification::TFunc [private]
 

The transfer function.

Definition at line 319 of file octree.h.

int FastClassification::width [private]
 

The width of the volume data.

Definition at line 312 of file octree.h.

Referenced by FastClassification().


The documentation for this class was generated from the following files:
Generated on Wed Dec 15 21:20:55 2004 for vuVolume by  doxygen 1.3.9.1