slices.c File Reference

All slice-related rendering is handled here. More...

#include "rendermodes.h"

Functions

void slice_arb_dist (float delta)
 Handle arbitrary cut-slice-planes.
void slice_arb (void)
 Handle arbitrary cut-slice-planes.
void slice_init (void)
 Initialize all variables for slice-rendering.
void slice_rt (rendersurf *rtsurf, uint32_t *voxel)
 Render slices by raytracing.

Variables

float ipos [4]
float ifor [4]
float iup [4]
float istr [4]


Detailed Description

All slice-related rendering is handled here.


Function Documentation

void slice_arb_dist float  delta  ) 
 

Handle arbitrary cut-slice-planes.

Set up new equation for cut-calculation.

Parameters:
delta The plane's orthogonal distance to the origin.

void slice_rt rendersurf *  rtsurf,
uint32_t *  voxel
[inline]
 

Render slices by raytracing.

Parameters:
rtsurf Pointer to the memory-area to draw to.
voxel Pointer to the voxel-dataset.


Generated on Wed Dec 13 08:40:13 2006 for PHDVR - Direct Volume Renderer by  doxygen 1.4.6