objects
Class Lens

java.lang.Object
  extended by objects.Object
      extended by objects.Intersection
          extended by objects.Lens
All Implemented Interfaces:
IObject

public class Lens
extends Intersection


Field Summary
 
Fields inherited from class objects.Object
trans
 
Constructor Summary
Lens(double focaldistance_, double IOR_, double thickness_, Vector3D direction_)
          constructor
 
Method Summary
 IObject getCopy()
           
 
Methods inherited from class objects.Intersection
addObject, assignMap, assignMaterial, calcIntersection, calculateTextureCoordinates, isInside, normal, q, transform
 
Methods inherited from class objects.Object
getArea, getMap, getMaterial, getTransformationMatrix, move, rotate, rotateAroundX, rotateAroundY, rotateAroundZ, scale, scale, setTransformationMatrix, UniformRandomPoint
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Lens

public Lens(double focaldistance_,
            double IOR_,
            double thickness_,
            Vector3D direction_)
constructor

Parameters:
focaldistance_ -
IOR_ - index of refraction
thickness_ -
direction_ -
Method Detail

getCopy

public IObject getCopy()
Specified by:
getCopy in interface IObject
Overrides:
getCopy in class Intersection
Returns:
the area of the object