Main Page | Packages | Class Hierarchy | Class List | Directories | Class Members

IDVR.VolumeRenderer.RenderPrimitives.Footprint Class Reference

#include <Footprint.h>

List of all members.


Detailed Description

Class for the footprint datastructue.

Namespace: IDVR.VolumeRenderer.RenderPrimitives

This class provides the footprint datastructure. It contains a list of FootprintElement elements for each ray and is also responsible for calculating the countersink geometry and to modifiy the first gradient along one modified ray.

See also:
FootprintElement - the FootprintElement datastructure
Author:
Christopher Thurnher
Version:
1.0
Date:
02-18-2005


Public Member Functions

 Footprint (void)
 Standard constructor.
 Footprint (int n_Width, int n_Height, ImagePlane *n_ImagePlane, double n_SamplingDistance, VolumeData *n_Data)
 Constructor.
 ~Footprint (void)
 Standard destructor.
void createFootprint (int n_X, int n_Y, Vector3 *n_ExitPoint, int n_NumOfSamples, unsigned char n_InterpolationMode)
 Creates the Footprint for a ray at the specified location.
ArrayList * getFootprint (void) __gc[
 Returns the Footprint array.
ArrayList *ArrayList * getFootprintArrayList (int n_X, int n_Y)
 Returns a Footprint list at the specified location.
short getObjectIDWithMaxImportance (void)
 Returns the objectID with the maximal importance.
double getDistanceToObjectWithMaxImportance (void) __gc[
 Returns the distance array to the object with the objectID with the maximal importance.
double double getDistanceToObjectWithMaxImportance (int n_X, int n_Y)
 Returns the distance to the object with the objectID with the maximal importance at the spacified location.
void setSlope (double n_Slope)
 Sets the countersink slope.
void setGradientScaleFactor (double n_GradientScaleFactor)
 Sets the gradient scalefactor.
double calculateDistanceOfNewStartingPoint (int n_X, int n_Y)
 Calculates the distance of the ray's new starting point at the specified location.
double calculateDepthOfObjectWithMaxImpAlongFootprintAL (int n_X, int n_Y)
 Returns the maximal depth of the object with the maximal importance along one Footprint list item at the specified location.
void calculateDistanceArray (void)
 Calculates the distance array.
GradientmodifyGradient (int n_X, int n_Y, double n_ScaleFactor, Matrix4 *n_RotMatrix)
 Modifies the gradient.

Private Member Functions

void calculateObjectIDWithMaxImportance (void)
 Calculates the objectID with the maximal importance.
double calculateHighestDepthValue (void)
 Calculates the highest depth value of the object with the objectID with maximal importance.

Private Attributes

ArrayList * m_Footprint [,]
 List of footprint elements.
ImagePlanem_ImagePlane
 The image plane.
double m_SamplingDistance
 The sampling distance.
VolumeDatam_Data
 The dataset.
InterpolationSWm_Interpolation
 The interpolation model.
short m_ObjectIDWithMaxImportance
 the object with the objectID with maximal importance
int m_Width
 the width of the footprint
int m_Height
 the height of the footprint
double m_DistanceToObjectWithMaxImportance __gc [,]
 The distance to the objectID with the maximal importance.
double m_Slope
 the slope of the countersink geometry
double m_GradientScaleFactor
 the gradient scalefactor
double m_HighestDepthValue
 the highest depth value of the object with the objectID with maximal importance


Constructor & Destructor Documentation

Footprint::Footprint void   ) 
 

Standard constructor.

Footprint::Footprint int  n_Width,
int  n_Height,
ImagePlane n_ImagePlane,
double  n_SamplingDistance,
VolumeData n_Data
 

Constructor.

Parameters:
n_Width the width of the image plane.
n_Height the height of the image plane.
n_ImagePlane the image plane.
n_SamplingDistance the sampling distance.
n_Data the dataset.

Footprint::~Footprint void   ) 
 

Standard destructor.


Member Function Documentation

double IDVR.VolumeRenderer.RenderPrimitives.Footprint.calculateDepthOfObjectWithMaxImpAlongFootprintAL int  n_X,
int  n_Y
 

Returns the maximal depth of the object with the maximal importance along one Footprint list item at the specified location.

Parameters:
n_X x-value of the Footprint list item.
n_Y y-value of the Footprint list item.
Returns:
The depth value.

void IDVR.VolumeRenderer.RenderPrimitives.Footprint.calculateDistanceArray void   ) 
 

Calculates the distance array.

double IDVR.VolumeRenderer.RenderPrimitives.Footprint.calculateDistanceOfNewStartingPoint int  n_X,
int  n_Y
 

Calculates the distance of the ray's new starting point at the specified location.

Parameters:
n_X x_value of the ray.
n_Y y_value of the ray.
Returns:
The distance of the ray's new starting point at the specified location.

double IDVR.VolumeRenderer.RenderPrimitives.Footprint.calculateHighestDepthValue void   )  [private]
 

Calculates the highest depth value of the object with the objectID with maximal importance.

Returns:
The depth value.

void IDVR.VolumeRenderer.RenderPrimitives.Footprint.calculateObjectIDWithMaxImportance void   )  [private]
 

Calculates the objectID with the maximal importance.

void Footprint::createFootprint int  n_X,
int  n_Y,
Vector3 n_ExitPoint,
int  n_NumOfSamples,
unsigned char  n_InterpolationMode
 

Creates the Footprint for a ray at the specified location.

Parameters:
n_X the x-value of the ray.
n_Y the y-value of the ray.
n_ExitPoint the exit point of the ray.
n_NumOfSamples the number of sampüles of the ray.
n_InterpolationMode the interpolation mode.

double double IDVR.VolumeRenderer.RenderPrimitives.Footprint.getDistanceToObjectWithMaxImportance int  n_X,
int  n_Y
 

Returns the distance to the object with the objectID with the maximal importance at the spacified location.

Parameters:
n_X x-value.
n_Y y-value.
Returns:
The distance to the object with the objectID with the maximal importance at the spacified location.

double IDVR.VolumeRenderer.RenderPrimitives.Footprint.getDistanceToObjectWithMaxImportance void   ) 
 

Returns the distance array to the object with the objectID with the maximal importance.

Returns:
The distance array to the object with the objectID with the maximal importance.

ArrayList * Footprint::getFootprint void   ) 
 

Returns the Footprint array.

Returns:
The Footprint array.

ArrayList* ArrayList* IDVR.VolumeRenderer.RenderPrimitives.Footprint.getFootprintArrayList int  n_X,
int  n_Y
 

Returns a Footprint list at the specified location.

Parameters:
n_X the x-value of the Footprint list.
n_Y the y-value of the Footprint list.
Returns:
The Footprint list.

short IDVR.VolumeRenderer.RenderPrimitives.Footprint.getObjectIDWithMaxImportance void   ) 
 

Returns the objectID with the maximal importance.

Returns:
The objectID with the maximal importance.

Gradient* IDVR.VolumeRenderer.RenderPrimitives.Footprint.modifyGradient int  n_X,
int  n_Y,
double  n_ScaleFactor,
Matrix4 n_RotMatrix
 

Modifies the gradient.

Parameters:
n_X x-value of the ray
n_Y y-value of the ray
n_ScaleFactor gradient scalefactor
n_RotMatrix rotation matrix of the image plane

void IDVR.VolumeRenderer.RenderPrimitives.Footprint.setGradientScaleFactor double  n_GradientScaleFactor  ) 
 

Sets the gradient scalefactor.

Parameters:
n_GradientScaleFactor the gradient scalefactor.

void IDVR.VolumeRenderer.RenderPrimitives.Footprint.setSlope double  n_Slope  ) 
 

Sets the countersink slope.

Parameters:
n_Slope the countersinc slope.


The documentation for this class was generated from the following files:
Generated on Sat Apr 9 11:51:01 2005 for RayCaster wiht Importance Driven Volume Rendering (IDVR) by  doxygen 1.4.1