de.grogra.ray.intersection
public class IntersectionDescription extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
intersectionIndex |
| Constructor and Description |
|---|
IntersectionDescription() |
IntersectionDescription(IntersectionDescription desc) |
IntersectionDescription(Ray ray,
float t) |
IntersectionDescription(Ray ray,
float t,
Point3f point) |
IntersectionDescription(Ray ray,
int count) |
| Modifier and Type | Method and Description |
|---|---|
int |
getIntersectionCount() |
Point3f |
getLocalPoint() |
Vector3f |
getNormal() |
Point3f |
getPoint() |
RTObject |
getRTObject() |
float |
getT() |
Vector3f |
getTangenteU() |
Vector3f |
getTangenteV() |
Point2f |
getUVCoordinate() |
void |
setIntersectionCount(int value) |
void |
setLocalPoint(Point3f point) |
void |
setNormal(Vector3f normal) |
void |
setPoint(Point3f point,
float t) |
void |
setRTObject(RTObject object) |
public IntersectionDescription()
public IntersectionDescription(IntersectionDescription desc)
public IntersectionDescription(Ray ray, float t)
public IntersectionDescription(Ray ray, int count)
public int getIntersectionCount()
public Point3f getLocalPoint()
public Vector3f getNormal()
public Point3f getPoint()
public RTObject getRTObject()
public float getT()
public Vector3f getTangenteU()
public Vector3f getTangenteV()
public Point2f getUVCoordinate()
public void setIntersectionCount(int value)
public void setLocalPoint(Point3f point)
public void setNormal(Vector3f normal)
public void setPoint(Point3f point, float t)
public void setRTObject(RTObject object)