Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ns_vu1112112 Namespace Reference

Defines a Ray using the direction vector as sampling step. More...


Classes

class  ns_vu1112112::DatGrid
 This is an indexed collection of DatPnt instances. More...
class  ns_vu1112112::DatPnt
 Class containing information about a single grid point. More...
class  ns_vu1112112::Material
 Describes spectral properties of a material. More...
class  ns_vu1112112::Parser
 This defines a parser class. More...
class  ns_vu1112112::vu1112112
 This class performs raycasting using a spectral colour model. More...
class  ns_vu1112112::SpectralImage
 Hold a spectrum for each pixel on the screen. More...
class  ns_vu1112112::vuSampleRay
 Defines a Ray using the direction vector as sampling step. More...

Typedefs

typedef vu1112112 vuVolumeRegularUnimodal3d1B1ValSpectral

Enumerations

enum  ColourUsage { cLight, cColour, cBackground }

Functions

float SnapToZero (float t)
template<class T>
void Swap (T &t1, T &t2)

Variables

float light []
float ambient []


Detailed Description

Defines a Ray using the direction vector as sampling step.

Derived from the vuRay class and adds a feature to change position by a certain sampling step, keeping track of current position in Grid. Because of its orientation to specific grid type probably not a general tool.


Typedef Documentation

typedef vu1112112 ns_vu1112112::vuVolumeRegularUnimodal3d1B1ValSpectral
 

Definition at line 31 of file spectral.h.


Enumeration Type Documentation

enum ColourUsage
 

Enumeration values:
cLight 
cColour 
cBackground 

Definition at line 26 of file Parser.h.


Function Documentation

float ns_vu1112112::SnapToZero float  t  ) 
 

Definition at line 18 of file Util.cpp.

Referenced by ns_vu1112112::DatGrid::clipRay(), and ns_vu1112113::DatGrid::clipRay().

template<class T>
void Swap T &  t1,
T &  t2
 

Definition at line 70 of file Util.h.

References T.


Variable Documentation

float ns_vu1112112::ambient
 

Initial value:

{                       
  82.8f, 91.6f, 93.5f, 86.8f, 104.9f, 117.1f,
  117.8f, 114.9f, 115.9f, 108.8f, 109.4f,
  107.8f, 104.9f, 107.7f, 104.4f, 104.0f,
  100.0f, 96.4f, 95.7f, 88.6f, 90.0f, 89.6f,
  87.6f, 83.3f, 83.7f, 80.0f, 80.2f, 82.2f,
  78.3f, 69.7f, 71.6f
}

Definition at line 15 of file spectral.cpp.

float ns_vu1112112::light[]
 

Referenced by ns_vu1112112::SpectralImage::get_rgb(), vuSpectral::glRender(), vuSpecFVR::glRender(), ns_vu1112112::SpectralImage::set_light(), ns_vu1112112::vu1112112::setLight(), and vuTFDesignSpec::updatePalette().


Generated on Wed Dec 15 21:22:12 2004 for vuVolume by  doxygen 1.3.9.1