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

"NDCZ" Coordinate System
[MLIB]

Collaboration diagram for "NDCZ" Coordinate System:

Same as NDC but with a 3rd coordinate z = depth. More...

Classes

class  mlib::NDCZvec
 A vector in NDCZ coordinates. More...
class  mlib::NDCZpt
 A point in NDCZ coordinates. More...
class  mlib::NDCZpt_list
 A list of points in NDCZ coordinates. More...
class  mlib::NDCZvec_list
 A list of vectors in NDCZ coordinates. More...

Typedefs

typedef const class NDCZvec mlib::CNDCZvec
typedef const class NDCZvec_list mlib::CNDCZvec_list
typedef const class NDCZpt mlib::CNDCZpt
typedef const class NDCZpt_list mlib::CNDCZpt_list

Functions

NDCZvec mlib::operator * (double s, const NDCZvec &p)
NDCZvec mlib::normal_to_ndcz (CWpt &p, CWvec &world_normal)

Detailed Description

Same as NDC but with a 3rd coordinate z = depth.

NDCZ coordinates : 3D normalized device coordinates

Normalized device coordinates that range from -1 to 1 in the shorter window dimension, and from -a to a in the longer dimension, where 'a' is the aspect ratio, i.e. the ratio of the window's longer side to its shortest one. The 3rd coordinate gives 'depth', as computed by the camera's projection matrix.


Typedef Documentation

typedef const class NDCZpt mlib::CNDCZpt
 

Definition at line 157 of file points.H.

typedef const class NDCZpt_list mlib::CNDCZpt_list
 

Definition at line 158 of file points.H.

typedef const class NDCZvec mlib::CNDCZvec
 

Definition at line 155 of file points.H.

typedef const class NDCZvec_list mlib::CNDCZvec_list
 

Definition at line 156 of file points.H.


Function Documentation

NDCZvec mlib::normal_to_ndcz CWpt p,
CWvec world_normal
 

Definition at line 357 of file points.C.

References VIEW_NDC_TRANS.

NDCZvec mlib::operator * double  s,
const NDCZvec &  p
[inline]
 

Definition at line 727 of file points.H.


Generated on Mon Sep 18 11:48:06 2006 for jot by  doxygen 1.4.4