Math Namespace Reference


Detailed Description

Manipulation of mathematical objects (Matrices, Vectors) used for easy manipulation of 3D Objects.


Classes

class  Matrix
 Operations on matrices. More...
class  Point
 Simple 2D point. More...
class  Transform
 Defining matrices of any 3D transformations like scaling, rotation and translation. More...
class  Rotate
 Rotation factory. More...
class  Translate
 Helper class for translating by [x,y,z] vector coordinates. More...
class  Scale
 Helper class for scaling by a given [x,y,z] factors. More...
class  Tuple
 Tuple of some numerical elements in range 0 - 1.0 with defined operations. Suitable for creating vectors and colors. More...
class  Vector
 Class which holds point-related information. More...

Functions

template<typename T>
Abs (T arg)
const Double PI (3.1415926535897932384626433832795)
std::ostream & operator<< (std::ostream &os, const Matrix &M)
std::ostream & operator<< (std::ostream &os, const Vector &V)


Function Documentation

template<typename T>
T Math::Abs ( arg  )  [inline]

Return absolute value of arg

Definition at line 19 of file Abs.hh.

Referenced by World::Camera::Camera().

Here is the caller graph for this function:

std::ostream& Math::operator<< ( std::ostream &  os,
const Vector &  V 
)

Pretty-printer

Definition at line 25 of file Vector.cc.

References Math::Tuple< T, DoCropping, Count >::Dump().

Here is the call graph for this function:

std::ostream& Math::operator<< ( std::ostream &  os,
const Matrix &  M 
)

Pretty-printer

Definition at line 28 of file Matrix.cc.

References Math::Matrix::D, and operator<<().

Referenced by operator<<().

Here is the call graph for this function:

Here is the caller graph for this function:

const Double Math::PI ( 3.  1415926535897932384626433832795  ) 

Internal representation of PI number

Referenced by World::Sphere::UVAt().

Here is the caller graph for this function:


Generated on Wed Mar 12 00:35:15 2008 for blaRAY by  doxygen 1.5.5