de.grogra.imp3d.ray
public class RTParallelogram extends RaytracerLeaf implements RTObject
RTObject.RTObjectUserDatainterior, shaderasNode, object, pathIdnext| Constructor and Description |
|---|
RTParallelogram(java.lang.Object object,
boolean asNode,
long pathId,
Vector3f axis1,
Vector3f axis2) |
| Modifier and Type | Method and Description |
|---|---|
BoundingVolume |
getBoundingVolume() |
float |
getDistance(Ray ray,
RayContext context) |
void |
getIntersectionDescription(IntersectionDescription desc) |
boolean |
isConvex() |
boolean |
isShadeable() |
boolean |
isSolid() |
void |
setTransformation(Matrix4f mat) |
getMedium, getRTMedium, getRTShader, getShader, getTransformation, getUserData, setMedium, setShadersetInterioraccept, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong, getObject, getObject, getShort, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetMedium, getShader, getUserDatapublic BoundingVolume getBoundingVolume()
getBoundingVolume in interface RTObjectpublic float getDistance(Ray ray, RayContext context)
getDistance in interface RTObjectpublic void getIntersectionDescription(IntersectionDescription desc)
getIntersectionDescription in interface RTObjectpublic boolean isShadeable()
isShadeable in interface RTObjectpublic void setTransformation(Matrix4f mat)
setTransformation in class RaytracerLeaf