|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectde.grogra.imp3d.ray.GroIMPCamera
public class GroIMPCamera
| Constructor Summary | |
|---|---|
GroIMPCamera(Camera camera,
double ration)
|
|
| Method Summary | |
|---|---|
void |
getRayFromCoordinates(double x,
double y,
Ray ray)
This method generates a ray that has its origin in the cameras origin and will go through the given pixel in the image plane. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GroIMPCamera(Camera camera,
double ration)
| Method Detail |
|---|
public void getRayFromCoordinates(double x,
double y,
Ray ray)
RTCamera
getRayFromCoordinates in interface RTCamerax - Represents the relative x postion of the top left corner of
the pixel. It ranges from -1 to +1.y - Represents the relative y postion of the top left corner of
the pixel. It ranges from -1 to +1.ray - The generated ray is stored in this parameter.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||