apps.lightrays.raytracer.scene.geometry
Class TexturedPlane
java.lang.Object
apps.lightrays.raytracer.scene.SceneObject
apps.lightrays.raytracer.scene.geometry.Plane
apps.lightrays.raytracer.scene.geometry.TexturedPlane
public class TexturedPlane
- extends Plane
The Class TexturedPlane.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TexturedPlane
public TexturedPlane(Point center,
Vector perpendicular,
OpticalProperties prop,
int[] pixels,
int width,
int height)
- Instantiates a new textured plane.
- Parameters:
center - the centerperpendicular - the perpendicularprop - the proppixels - the pixelswidth - the widthheight - the height
getPixel
public Colour getPixel(Point p)
- Description copied from class:
Plane
- Gets the pixel.
- Overrides:
getPixel in class Plane
- Parameters:
p - the p
- Returns:
- the pixel
toString
public java.lang.String toString()
- Overrides:
toString in class Plane