Module raytracer

Class IntersectionDescription

java.lang.Object
de.grogra.ray.intersection.IntersectionDescription

public class IntersectionDescription extends Object
  • Field Details

    • intersectionIndex

      public int intersectionIndex
  • Constructor Details

    • IntersectionDescription

      public IntersectionDescription()
    • IntersectionDescription

      public IntersectionDescription(Ray ray, int count)
    • IntersectionDescription

      public IntersectionDescription(Ray ray, float t)
    • IntersectionDescription

      public IntersectionDescription(Ray ray, float t, Point3f point)
    • IntersectionDescription

      public IntersectionDescription(IntersectionDescription desc)
  • Method Details

    • getIntersectionCount

      public int getIntersectionCount()
    • setIntersectionCount

      public void setIntersectionCount(int value)
    • getT

      public float getT()
    • getPoint

      public Point3f getPoint()
    • getLocalPoint

      public Point3f getLocalPoint()
    • getNormal

      public Vector3f getNormal()
    • getTangenteU

      public Vector3f getTangenteU()
    • getTangenteV

      public Vector3f getTangenteV()
    • getUVCoordinate

      public Point2f getUVCoordinate()
    • getRTObject

      public RTObject getRTObject()
    • setPoint

      public void setPoint(Point3f point, float t)
    • setLocalPoint

      public void setLocalPoint(Point3f point)
    • setNormal

      public void setNormal(Vector3f normal)
    • setRTObject

      public void setRTObject(RTObject object)