de.grogra.imp3d.ray
public class RTFrustum extends RaytracerLeaf implements RTObject
RTObject.RTObjectUserData| Modifier and Type | Field and Description |
|---|---|
Intersections.FrustumInput |
m_frustumInput |
Intersections.FrustumLocalVariables |
m_frustumLocalVariables |
Intersections.ObjectOutput |
m_frustumOutput |
interior, shaderasNode, object, pathIdnext| Constructor and Description |
|---|
RTFrustum(java.lang.Object object,
boolean asNode,
long pathId,
float radiusTop,
float radiusBottom,
Vector3f axis,
boolean openTop,
boolean openBottom) |
| 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 final Intersections.FrustumInput m_frustumInput
public final Intersections.FrustumLocalVariables m_frustumLocalVariables
public final Intersections.ObjectOutput m_frustumOutput
public RTFrustum(java.lang.Object object,
boolean asNode,
long pathId,
float radiusTop,
float radiusBottom,
Vector3f axis,
boolean openTop,
boolean openBottom)
public 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