#include <RayCalculations.h>
Inheritance diagram for RayCalculations:
Public Member Functions | |
RayCalculations (Volume *volume) | |
RayCalculations.cpp. | |
RayCalculations () | |
virtual | ~RayCalculations () |
void | setWork (unsigned int anAmount, Vector3 direction, Vector3 x_pos, Vector3 x_direction, RGBAColor *aColorData, void(RayCalculations::*aModeToUse)(Vector3, Vector3, RGBAColor &), bool *setWhenDone) |
void | Run () |
bool | AutoDelete () |
void | calculateLine (unsigned int anAmount, Vector3 direction, Vector3 x_pos, Vector3 x_direction, RGBAColor *aColorData, void(RayCalculations::*aModeToUse)(Vector3, Vector3, RGBAColor &), bool *setWhenDone) |
void | levoyAlgorithmF2B (Vector3 position, Vector3 direction, RGBAColor &color) |
void | levoyAlgorithmB2F (Vector3 position, Vector3 direction, RGBAColor &color) |
void | firstHit (Vector3 position, Vector3 direction, RGBAColor &color) |
void | maxIntensity (Vector3 position, Vector3 direction, RGBAColor &color) |
void | calcAverage (Vector3 position, Vector3 direction, RGBAColor &color) |
Public Attributes | |
Volume * | volume_ |
float | step_length_ |
int | threshold_ |
RGBAColor * | theColorTransfer |
InterpolationMode | theInterpolationMode |
unsigned int | aWork_anAmount |
Vector3 | aWork_direction |
Vector3 | aWork_x_pos |
Vector3 | aWork_x_direction |
RGBAColor * | aWork_aColorData |
void(RayCalculations::* | aWork_aModeToUse )(Vector3, Vector3, RGBAColor &) |
bool * | aWork_setWhenDone |
RayCalculations::RayCalculations | ( | Volume * | volume | ) |
The default constructor.
RayCalculations::RayCalculations | ( | ) |
The default constructor.
RayCalculations::~RayCalculations | ( | ) | [virtual] |
The destructor.
bool RayCalculations::AutoDelete | ( | ) | [virtual] |
returns if the object should be deleted after being run as a thread
Implements IRunObject.
The ray calculations to project the average image.
void RayCalculations::calculateLine | ( | unsigned int | anAmount, | |
Vector3 | direction, | |||
Vector3 | x_pos, | |||
Vector3 | x_direction, | |||
RGBAColor * | aColorData, | |||
void(RayCalculations::*)(Vector3, Vector3, RGBAColor &) | aModeToUse, | |||
bool * | setWhenDone | |||
) |
calculates a line of colors
The ray calculations for the first hit approach.
The ray calculations for the levoy algorithm B2F.
The ray calculations for the levoy algorithm F2B.
The ray calculations for the maximum intensity projection.
void RayCalculations::Run | ( | ) | [virtual] |
start the set work
Implements IRunObject.
void RayCalculations::setWork | ( | unsigned int | anAmount, | |
Vector3 | direction, | |||
Vector3 | x_pos, | |||
Vector3 | x_direction, | |||
RGBAColor * | aColorData, | |||
void(RayCalculations::*)(Vector3, Vector3, RGBAColor &) | aModeToUse, | |||
bool * | setWhenDone | |||
) |
sets a line of colors to be calculate
void(RayCalculations::* RayCalculations::aWork_aModeToUse)(Vector3, Vector3, RGBAColor &) |
unsigned int RayCalculations::aWork_anAmount |