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] |
Powertek.Rt.PtRtCamera.PtRtCamera | ( | ) |
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
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
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
ray | ||
x | ||
y | ||
px | ||
py | ||
AASamples |
void Powertek.Rt.PtRtCamera.SetImageSize | ( | int | width, | |
int | height, | |||
double | aaSamples, | |||
PtRtSampleMode | sampleMode | |||
) |
SetImageSize and set Sampling.
width | ||
height | ||
aaSamples | ||
sampleMode |
void Powertek.Rt.PtRtCamera.SetOpenGLCamera | ( | Vertex3f | pos, | |
Vertex3f | viewVecInverse, | |||
Vertex3f | upVec | |||
) |
Set Camera identically to OpenGl Cam.
pos | ||
viewVecInverse | ||
upVec |
void Powertek.Rt.PtRtCamera.SetSampling | ( | PtRtSampleMode | sampleMode | ) |
SetSampling.
sampleMode |
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.