#include <Raycaster.h>
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 | |
| ThreadedRayCaster * | theThreading |
| VolumeLoader * | volume_loader_ |
| Volume * | volume_ |
| RayCalculations * | ray_calcs_ |
| matrix44 * | cubes_ |
| 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. | |
| RGBAColor * | pixel_colors_ |
| int | resolution_ |
| int | x_pos_ |
| int | y_pos_ |
| int | x_dim_ |
| int | y_dim_ |
| int | z_dim_ |
| Raycaster::Raycaster | ( | void * | aParent, | |
| VolumeLoader * | volume_loader | |||
| ) |
The default constructor.
| Raycaster::~Raycaster | ( | ) | [virtual] |
The destructor.
| 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
The height of the draw size.
The size of the image.
The width of the draw size.
| float Raycaster::zoom_fac_ |
The zoom factor for the volume.
1.4.7