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

Util.h File Reference

#include <math.h>
#include "vuVector.h"
#include "vuColourRGBa.h"
#include "vuColourXYZa.h"
#include "vuColour31a.h"
#include "vuColour7a.h"
#include "vuColour9a.h"

Include dependency graph for Util.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  ns_vu1112112

Defines

#define DEG2RAD   0.01745329251994
#define SNAP_TOLERANCE   0.0000001
#define D65_NORMAL   1056.442
#define DO_POST_CLASSIFICATION
#define USE_VUTFUNC
#define USE_SPECTRUM7A
#define Min(a, b)   (a<b ? a : b)
#define Max(a, b)   (a>b ? a : b)
#define Sgn(a)   (a>0 ? 1 : a<0 ? -1 : 0)

Typedefs

typedef vuColour7a ColourType

Functions

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


Define Documentation

#define D65_NORMAL   1056.442
 

Definition at line 27 of file Util.h.

#define DEG2RAD   0.01745329251994
 

Definition at line 25 of file Util.h.

#define DO_POST_CLASSIFICATION
 

Definition at line 30 of file Util.h.

#define Max a,
 )     (a>b ? a : b)
 

Definition at line 53 of file Util.h.

#define Min a,
 )     (a<b ? a : b)
 

Definition at line 50 of file Util.h.

#define Sgn  )     (a>0 ? 1 : a<0 ? -1 : 0)
 

Definition at line 56 of file Util.h.

#define SNAP_TOLERANCE   0.0000001
 

Definition at line 26 of file Util.h.

#define USE_SPECTRUM7A
 

Definition at line 35 of file Util.h.

#define USE_VUTFUNC
 

Definition at line 31 of file Util.h.


Typedef Documentation

typedef vuColour7a ColourType
 

Definition at line 43 of file Util.h.

Referenced by ns_vu1112112::vu1112112::add_light(), ns_vu1112112::vu1112112::Cast(), ns_vu1112112::DatPnt::classify(), ns_vu1112112::DatGrid::distributeIllum(), ns_vu1112112::SpectralImage::get_light(), ns_vu1112112::SpectralImage::get_rgb(), ns_vu1112112::SpectralImage::init(), ns_vu1112112::vu1112112::preprocess(), ns_vu1112112::Parser::ReadColourType(), ns_vu1112112::Parser::ReadGeneral(), ns_vu1112112::Parser::ReadLight(), ns_vu1112112::Parser::ReadMaterial(), ns_vu1112112::SpectralImage::set_light(), ns_vu1112112::SpectralImage::set_xy(), ns_vu1112112::vu1112112::setLight(), ns_vu1112112::vu1112112::shootRays(), and ns_vu1112112::vu1112112::vu1112112().


Function Documentation

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

Definition at line 70 of file Util.h.

References T.


Generated on Wed Dec 15 21:20:48 2004 for vuVolume by  doxygen 1.3.9.1