- All Implemented Interfaces:
ExportableToVRML
,RTObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.grogra.ray.RTObject
RTObject.RTObjectUserData
-
Field Summary
FieldsFields inherited from class de.grogra.imp3d.objects.SceneTreeWithShader.Leaf
interior, shader
Fields inherited from class de.grogra.imp3d.objects.SceneTree.Leaf
asNode, object, pathId
Fields inherited from class de.grogra.imp3d.objects.SceneTree.Node
next
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
exportToVRML
(BufferedWriter writer) float
getDistance
(Ray ray, RayContext context) void
boolean
isConvex()
boolean
boolean
isSolid()
void
Methods inherited from class de.grogra.imp3d.ray.RaytracerLeaf
getMedium, getRTMedium, getRTShader, getShader, getTransformation, getUserData, setMedium, setShader
Methods inherited from class de.grogra.imp3d.objects.SceneTreeWithShader.Leaf
setInterior
Methods inherited from class de.grogra.imp3d.objects.SceneTree.Leaf
accept, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong, getObject, getObject, getShort, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface de.grogra.ray.RTObject
getMedium, getShader, getUserData
-
Field Details
-
m_boxInput
-
m_boxLocalVariables
-
m_boxOutput
-
-
Constructor Details
-
RTBox
public RTBox(Object object, boolean asNode, long pathId, float expansionX, float expansionY, float expansionZ)
-
-
Method Details
-
isConvex
public boolean isConvex() -
isShadeable
public boolean isShadeable()- Specified by:
isShadeable
in interfaceRTObject
-
isSolid
public boolean isSolid() -
setTransformation
- Overrides:
setTransformation
in classRaytracerLeaf
-
getDistance
- Specified by:
getDistance
in interfaceRTObject
-
getIntersectionDescription
- Specified by:
getIntersectionDescription
in interfaceRTObject
-
getBoundingVolume
- Specified by:
getBoundingVolume
in interfaceRTObject
-
exportToVRML
- Specified by:
exportToVRML
in interfaceExportableToVRML
-