Overview | Package | Class | Use | Tree | Index | Help
| Rings Version 0.3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## threeD.raytracer.camera
Interface Camera

All Known Implementing Classes:
  OrthographicCamera

public interface Camera

Implementations of the Camera interface provide a method for calculating viewing rays.

Method Summary
`Ray` | `rayAt(double i, double j, int screenWidth, int screenHeight)`

Method Detail

### rayAt

    public Ray rayAt(double i,
                     double j,
                     int screenWidth,
                     int screenHeight)

  Parameters:
    `i` - X coordinate of pixel.
    `j` - Y coordinate of pixel.
    `screenWidth` - Width of image.
    `screenHeight` - Height of image.
  Returns:
    A Ray object that represents the viewing ray at (i, j)

Overview | Package | Class | Use | Tree | Index | Help
| Rings Version 0.3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2003-05 Mike Murray