Main Page | Packages | Class Hierarchy | Class List | Directories | Class Members

IDVR.VolumeRenderer.RenderPrimitives.Ray Class Reference

#include <Ray.h>

List of all members.


Detailed Description

Class for the ray data structure.

This class contains a couple of methods for the ray object. Each ray object stores the resulting color values for the different objects of one ray. This object is used for two level rendering, where the stored color values are then blend together to obtain the final color of the ray.

Author:
Christopher Thurnher
Version:
1.0
Date:
02-17-2005


Public Member Functions

 Ray (void)
 This is the standard constructor.
 ~Ray (void)
 This is the standard destructor.
void setRayCapacity (int n_RayCapacity)
 Sets the raycapacity.
void insertSample (RaySample *newSample)
 Inserts a raysample into the ray.
RaySamplegetRaySample (int rayPosition)
 Returns the raysample at the given position.
Array * getRaySamples (void)
 Returns all raysamples of the ray.
unsigned short getUsedObjectIDs (void) __gc[]
 Returns the already used objectIDs of the raysamples that are stored in the ray.
int getSampleCount (void)
 Returns the number of stored raysamples.
void clearRay (void)
 Cleares all raysamples of the ray.

Private Attributes

ArrayList * m_RaySamples
 Stores the calculated raysamples.
ArrayList * m_UsedObjectIDs
 Stores the already used objectIDs of the raysamples.


Constructor & Destructor Documentation

Ray::Ray void   ) 
 

This is the standard constructor.

Ray::~Ray void   ) 
 

This is the standard destructor.


Member Function Documentation

s of the ray void Ray::clearRay void   ) 
 

Cleares all raysamples of the ray.

RaySample * Ray::getRaySample int  rayPosition  ) 
 

Returns the raysample at the given position.

Parameters:
rayPosition the position of the raysample.
Returns:
The raysamle at the given position.

Array * Ray::getRaySamples void   ) 
 

Returns all raysamples of the ray.

Returns:
All raysamples of the ray.

int Ray::getSampleCount void   ) 
 

Returns the number of stored raysamples.

Returns:
The number of stored raysamples.

unsigned short Ray::getUsedObjectIDs void   ) 
 

Returns the already used objectIDs of the raysamples that are stored in the ray.

Returns:
The already used objectIDs.

void Ray::insertSample RaySample newSample  ) 
 

Inserts a raysample into the ray.

Parameters:
newSample the new raysample.

void Ray::setRayCapacity int  n_RayCapacity  ) 
 

Sets the raycapacity.

Parameters:
n_RayCapacity the raycapacity.


The documentation for this class was generated from the following files:
Generated on Sat Apr 9 11:51:01 2005 for RayCaster wiht Importance Driven Volume Rendering (IDVR) by  doxygen 1.4.1