X, Y, Z | Orig | wL, wR, wB, wT | Near, Far |

CamTriOverlap | CamQuadOverlap | CamMinMaxBoxOverlap | CamCamOverlap |

CalcCamPlanes | CamReflectAboutPlane |

Vec3f

parameter:

parameter:

parameters:

Vec3f ViewRefPt: Reference point indicating the center of the scene.

Vec3f ViewUp: Vector defining the up direction for camera space.

float Ndist, float Fdist)

parameters:

float Aspect: Aspect ratio (width / height) of the camera's angle of view.

float Ndist: Distance from the eye point to the near clipping plane.

float Fdist: Distance from the eye point to the far clipping plane.

float b, float t,

float Ndist, float Fdist)

parameters:

float r: x-coordinate of right vertical clipping plane at near clipping plane.

float b: y-coordinate of bottom horizontal clipping plane at near clipping plane.

float t: y-coordinate of top horizontal clipping plane at near clipping plane.

float Ndist: Distance from the eye point to the near clipping plane.

float Fdist: Distance from the eye point to the far clipping plane.

Vec3f Cntr, float Rad)

parameters:

Vec3f ViewUp: Vector defining the up direction for camera space.

Vec3f Cntr: Center of the bounding sphere.

float Rad: Radius of the bounding sphere.

parameters:

Vec3f *ViewRefPt: Reference point indicating center of the scene.

Vec3f *ViewUp: Vector defining the up direction for camera space.

float *Ndist, float *Fdist)

parameters:

float *Aspect: Aspect ratio (width / height) of the camera's angle of view.

float *Ndist: Distance from the eye point to the near clipping plane.

float *Fdist: Distance from the eye point to the far clipping plane.

float *b, float *t,

float *Ndist, float *Fdist)

parameters:

float *r: x-coordinate of right vertical clipping plane at near clipping plane.

float *b: y-coordinate of bottom horizontal clipping plane at near clipping plane.

float *t: y-coordinate of top horizontal clipping plane at near clipping plane.

float *Ndist: Distance from the eye point to the near clipping plane.

float *Fdist: Distance from the eye point to the far clipping plane.

return value:

return value:

return value:

parameters:

int WW: Width of the viewport/window in pixels.

int WH: Height of the viewport/window in pixels.

return value:

Returns a composite 4x4 OpenGL-style transformation matrix which transforms a point in screen (pixel) space to a point in world (object) space, the inverse of the matrix returned byGetXform_Screen2Obj.

int WW: Width of the viewport/window in pixels.

int WH: Height of the viewport/window in pixels.

parameter:

parameter:

parameters:

int WW: Width of the viewport/window in pixels.

int WH: Height of the viewport/window in pixels.

parameter:

parameter:

parameters:

int WW: Width of the viewport/window in pixels.

int WH: Height of the viewport/window in pixels.

parameter:

parameter:

parameter:

int ww, int wh,

Vec3f *Start, Vec3f *Dir)

parameters:

float sy: y-coordinate of the selected pixel.

int ww: Width of the window (viewport) in pixels.

int wh: Height of the window (viewport) in pixels.

Vec3f *Start: Origin of ray (i.e. eye point in world coordinates).

Vec3f *Dir: Direction of ray in world coordinates.

parameter:

parameter:

parameter:

[1]: right-bottom-near

[2]: left-bottom-near

[3]: left-top-near

[4]: right-top-far

[5]: right-bottom-far

[6]: left-bottom-far

[7]: left-top-far

Vec3f A, Vec3f B, Vec3f C)

int

parameters:

float P[][4]: An array of points

Camera *Cam: A pointer to a Camera object

Vec3f A: One vertex of the triangle

Vec3f B: One vertex of the triangle

Vec3f C: One vertex of the triangle

int

float C[3], float D[3])

parameters:

Vec3f A:

Vec3f B:

Vec3f C:

Vec3f D:

float A[3]:

float B[3]:

float C[3]:

float D[3]:

void

parameters:

Camera *Cam:

float P[][4]:

float cP[][4], Vec3f m, Vec3f M)

int

parameters:

Vec3f cV[8]:

float cP[][4]:

Vec3f m:

Vec3f M:

float m[3]:

float M[3]:

Vec3f V2[8], float P2[][4])

int

parameters:

float P1[][4]:

Vec3f V2[8]:

float P2[][4]:

Camera *Cam1:

Camera *Cam2:

parameters:

float Plane[4]: