#include <Footprint.h>
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.
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. | |
Gradient * | modifyGradient (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. | |
ImagePlane * | m_ImagePlane |
The image plane. | |
double | m_SamplingDistance |
The sampling distance. | |
VolumeData * | m_Data |
The dataset. | |
InterpolationSW * | m_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 |
|
Standard constructor.
|
|
Constructor.
|
|
Standard destructor.
|
|
Returns the maximal depth of the object with the maximal importance along one Footprint list item at the specified location.
|
|
Calculates the distance array.
|
|
Calculates the distance of the ray's new starting point at the specified location.
|
|
Calculates the highest depth value of the object with the objectID with maximal importance.
|
|
Calculates the objectID with the maximal importance.
|
|
Creates the Footprint for a ray at the specified location.
|
|
Returns the distance to the object with the objectID with the maximal importance at the spacified location.
|
|
Returns the distance array to the object with the objectID with the maximal importance.
|
|
Returns the Footprint array.
|
|
Returns a Footprint list at the specified location.
|
|
Returns the objectID with the maximal importance.
|
|
Modifies the gradient.
|
|
Sets the gradient scalefactor.
|
|
Sets the countersink slope.
|