Raycaster Class Reference

#include <Raycaster.h>

List of all members.

Public Member Functions

 Raycaster (void *aParent, VolumeLoader *volume_loader)
 Raycaster.cpp.
virtual ~Raycaster ()
void setDrawSize (int width, int height)
void startRayCasting ()
void glDrawVolume ()
void setInvViewMatrix (matrix44 *iv_matrix)
int getXDim ()
int getYDim ()
int getZDim ()

Public Attributes

ThreadedRayCastertheThreading
VolumeLoadervolume_loader_
Volumevolume_
RayCalculationsray_calcs_
matrix44cubes_
int draw_width_
 The width of the draw size.
int draw_height_
 The height of the draw size.
int draw_size_
 The size of the image.
float zoom_fac_
 The zoom factor for the volume.
RGBAColorpixel_colors_
int resolution_
int x_pos_
int y_pos_
int x_dim_
int y_dim_
int z_dim_


Constructor & Destructor Documentation

Raycaster::Raycaster ( void *  aParent,
VolumeLoader volume_loader 
)

Raycaster.cpp.

The default constructor.

Raycaster::~Raycaster (  )  [virtual]

The destructor.


Member Function Documentation

int Raycaster::getXDim (  ) 

int Raycaster::getYDim (  ) 

int Raycaster::getZDim (  ) 

void Raycaster::glDrawVolume (  ) 

Renders the volume.

void Raycaster::setDrawSize ( int  width,
int  height 
)

Sets the draw size.

void Raycaster::setInvViewMatrix ( matrix44 iv_matrix  ) 

Sets the actual inverse view matrix.

void Raycaster::startRayCasting (  ) 

Sends for each image pixel a ray through the volume


Member Data Documentation

matrix44* Raycaster::cubes_

int Raycaster::draw_height_

The height of the draw size.

int Raycaster::draw_size_

The size of the image.

int Raycaster::draw_width_

The width of the draw size.

RGBAColor* Raycaster::pixel_colors_

RayCalculations* Raycaster::ray_calcs_

int Raycaster::resolution_

ThreadedRayCaster* Raycaster::theThreading

Volume* Raycaster::volume_

VolumeLoader* Raycaster::volume_loader_

int Raycaster::x_dim_

int Raycaster::x_pos_

int Raycaster::y_dim_

int Raycaster::y_pos_

int Raycaster::z_dim_

float Raycaster::zoom_fac_

The zoom factor for the 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