Powertek.Rt.PtRtCamera Class Reference

PtRtCamera, Raytracer Camera. More...

Collaboration diagram for Powertek.Rt.PtRtCamera:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 PtRtCamera ()
void SetOpenGLCamera (Vertex3f pos, Vertex3f viewVecInverse, Vertex3f upVec)
void SetImageSize (int width, int height, double aaSamples, PtRtSampleMode sampleMode)
void SetSampling (PtRtSampleMode sampleMode)
void GetRay (ref PtRay ray, ref int x, ref int y, ref int px, ref int py, int AASamples)
void GetRay (ref PtRay ray, ref int x, ref int y)
void GetRay (ref PtPacketRay ray, ref int xLeft, ref int yTop)

Public Attributes

PtRtCamSampler Sampler

Properties

Vertex3f Position [get]
double ViewPlaneDistance [get]
Vertex3f U [get]
Vertex3f V [get]
Vertex3f W [get]


Detailed Description


Constructor & Destructor Documentation

Powertek.Rt.PtRtCamera.PtRtCamera (  ) 


Member Function Documentation

void Powertek.Rt.PtRtCamera.GetRay ( ref PtPacketRay  ray,
ref int  xLeft,
ref int  yTop 
)

return a packet ray at the given position using the current sampler

Parameters:
ray 
xLeft 
yTop 

void Powertek.Rt.PtRtCamera.GetRay ( ref PtRay  ray,
ref int  x,
ref int  y 
)

return a ray at the given position using the current sampler

Parameters:
ray 
x 
y 

void Powertek.Rt.PtRtCamera.GetRay ( ref PtRay  ray,
ref int  x,
ref int  y,
ref int  px,
ref int  py,
int  AASamples 
)

return a ray (Antialiased) at the given position using the current sampler

Parameters:
ray 
x 
y 
px 
py 
AASamples 

void Powertek.Rt.PtRtCamera.SetImageSize ( int  width,
int  height,
double  aaSamples,
PtRtSampleMode  sampleMode 
)

SetImageSize and set Sampling.

Parameters:
width 
height 
aaSamples 
sampleMode 

void Powertek.Rt.PtRtCamera.SetOpenGLCamera ( Vertex3f  pos,
Vertex3f  viewVecInverse,
Vertex3f  upVec 
)

Set Camera identically to OpenGl Cam.

Parameters:
pos 
viewVecInverse 
upVec 

void Powertek.Rt.PtRtCamera.SetSampling ( PtRtSampleMode  sampleMode  ) 

SetSampling.

Parameters:
sampleMode 


Member Data Documentation

Sampler.


Property Documentation

Vertex3f Powertek.Rt.PtRtCamera.Position [get]

Position.

Vertex3f Powertek.Rt.PtRtCamera.U [get]

Matrix U Component.

Vertex3f Powertek.Rt.PtRtCamera.V [get]

Matrix V Component.

double Powertek.Rt.PtRtCamera.ViewPlaneDistance [get]

ViewPlaneDistance.

Vertex3f Powertek.Rt.PtRtCamera.W [get]

Matrix W Component.


The documentation for this class was generated from the following file:

Generated on Thu Nov 20 04:45:48 2008 for Powertek.Rt, 1.0.0.60 by  doxygen 1.5.7.1