de.grogra.imp3d.ray
public class RTBox extends RaytracerLeaf implements RTObject, ExportableToVRML
RTObject.RTObjectUserData| Modifier and Type | Field and Description |
|---|---|
Intersections.BoxInput |
m_boxInput |
Intersections.BoxLocalVariables |
m_boxLocalVariables |
Intersections.ObjectOutput |
m_boxOutput |
interior, shaderasNode, object, pathIdnext| Constructor and Description |
|---|
RTBox(java.lang.Object object,
boolean asNode,
long pathId,
float expansionX,
float expansionY,
float expansionZ) |
| Modifier and Type | Method and Description |
|---|---|
void |
exportToVRML(java.io.BufferedWriter writer) |
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.BoxInput m_boxInput
public final Intersections.BoxLocalVariables m_boxLocalVariables
public final Intersections.ObjectOutput m_boxOutput
public RTBox(java.lang.Object object,
boolean asNode,
long pathId,
float expansionX,
float expansionY,
float expansionZ)
public void exportToVRML(java.io.BufferedWriter writer)
exportToVRML in interface ExportableToVRMLpublic 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