de.grogra.imp3d.ray
public class RTCone extends RaytracerLeaf implements RTObject
RTObject.RTObjectUserData| Modifier and Type | Field and Description |
|---|---|
Intersections.ConeInput |
m_coneInput |
Intersections.ConeLocalVariables |
m_coneLocalVariables |
Intersections.ObjectOutput |
m_coneOutput |
interior, shaderasNode, object, pathIdnext| Constructor and Description |
|---|
RTCone(java.lang.Object object,
boolean asNode,
long pathId,
float radius,
Vector3f axis,
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.ConeInput m_coneInput
public final Intersections.ConeLocalVariables m_coneLocalVariables
public final Intersections.ObjectOutput m_coneOutput
public RTCone(java.lang.Object object,
boolean asNode,
long pathId,
float radius,
Vector3f axis,
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