- 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, shaderFields inherited from class de.grogra.imp3d.objects.SceneTree.Leaf
asNode, object, pathIdFields inherited from class de.grogra.imp3d.objects.SceneTree.Node
next -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexportToVRML(BufferedWriter writer) floatgetDistance(Ray ray, RayContext context) voidfloatbooleanisConvex()booleanbooleanisSolid()voidsetRadius(double value) voidMethods inherited from class de.grogra.imp3d.ray.RaytracerLeaf
getRTMedium, getRTShader, getShader, getTransformation, getUserData, setMedium, setShaderMethods inherited from class de.grogra.imp3d.objects.SceneTreeWithShader.Leaf
setInteriorMethods inherited from class de.grogra.imp3d.objects.SceneTree.Leaf
accept, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong, getObject, getObject, getShort, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface de.grogra.ray.RTObject
getShader, getUserData
-
Constructor Details
-
RTSphere
-
-
Method Details
-
getMedium
- Specified by:
getMediumin interfaceRTObject- Overrides:
getMediumin classRaytracerLeaf
-
isConvex
public boolean isConvex() -
isShadeable
public boolean isShadeable()- Specified by:
isShadeablein interfaceRTObject
-
isSolid
public boolean isSolid() -
getRadius
public float getRadius() -
setRadius
public void setRadius(double value) -
setTransformation
- Overrides:
setTransformationin classRaytracerLeaf
-
getDistance
- Specified by:
getDistancein interfaceRTObject
-
getIntersectionDescription
- Specified by:
getIntersectionDescriptionin interfaceRTObject
-
getBoundingVolume
- Specified by:
getBoundingVolumein interfaceRTObject
-
exportToVRML
- Specified by:
exportToVRMLin interfaceExportableToVRML
-