RayCalculations Class Reference

#include <RayCalculations.h>

Inheritance diagram for RayCalculations:

IRunObject List of all members.

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

Volumevolume_
float step_length_
int threshold_
RGBAColortheColorTransfer
InterpolationMode theInterpolationMode
unsigned int aWork_anAmount
Vector3 aWork_direction
Vector3 aWork_x_pos
Vector3 aWork_x_direction
RGBAColoraWork_aColorData
void(RayCalculations::* aWork_aModeToUse )(Vector3, Vector3, RGBAColor &)
bool * aWork_setWhenDone

Constructor & Destructor Documentation

RayCalculations::RayCalculations ( Volume volume  ) 

RayCalculations.cpp.

The default constructor.

RayCalculations::RayCalculations (  ) 

The default constructor.

RayCalculations::~RayCalculations (  )  [virtual]

The destructor.


Member Function Documentation

bool RayCalculations::AutoDelete (  )  [virtual]

returns if the object should be deleted after being run as a thread

Implements IRunObject.

void RayCalculations::calcAverage ( Vector3  position,
Vector3  direction,
RGBAColor color 
)

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

void RayCalculations::firstHit ( Vector3  position,
Vector3  direction,
RGBAColor color 
)

The ray calculations for the first hit approach.

void RayCalculations::levoyAlgorithmB2F ( Vector3  position,
Vector3  direction,
RGBAColor color 
)

The ray calculations for the levoy algorithm B2F.

void RayCalculations::levoyAlgorithmF2B ( Vector3  position,
Vector3  direction,
RGBAColor color 
)

The ray calculations for the levoy algorithm F2B.

void RayCalculations::maxIntensity ( Vector3  position,
Vector3  direction,
RGBAColor color 
)

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


Member Data Documentation

RGBAColor* RayCalculations::aWork_aColorData

void(RayCalculations::* RayCalculations::aWork_aModeToUse)(Vector3, Vector3, RGBAColor &)

unsigned int RayCalculations::aWork_anAmount

Vector3 RayCalculations::aWork_direction

bool* RayCalculations::aWork_setWhenDone

Vector3 RayCalculations::aWork_x_direction

Vector3 RayCalculations::aWork_x_pos

float RayCalculations::step_length_

RGBAColor* RayCalculations::theColorTransfer

InterpolationMode RayCalculations::theInterpolationMode

int RayCalculations::threshold_

Volume* RayCalculations::volume_


The documentation for this class was generated from the following files:
Generated on Wed Dec 6 11:27:27 2006 by  doxygen 1.4.7