- All Implemented Interfaces:
ExportableToVRML
,RTObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.grogra.ray.RTObject
RTObject.RTObjectUserData
-
Field Summary
Fields 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
float
boolean
isConvex()
boolean
boolean
isSolid()
void
setRadius
(double value) void
Methods inherited from class de.grogra.imp3d.ray.RaytracerLeaf
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
getShader, getUserData
-
Constructor Details
-
RTSphere
-
-
Method Details
-
getMedium
- Specified by:
getMedium
in interfaceRTObject
- Overrides:
getMedium
in classRaytracerLeaf
-
isConvex
public boolean isConvex() -
isShadeable
public boolean isShadeable()- Specified by:
isShadeable
in interfaceRTObject
-
isSolid
public boolean isSolid() -
getRadius
public float getRadius() -
setRadius
public void setRadius(double value) -
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
-