- All Implemented Interfaces:
RTObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.grogra.ray.RTObject
RTObject.RTObjectUserData
-
Field Summary
FieldsModifier and TypeFieldDescriptionFields 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
ConstructorsConstructorDescriptionRTCylinder
(Object object, boolean asNode, long pathId, float radius, Vector3f axis, boolean openTop, boolean openBottom) -
Method Summary
Modifier and TypeMethodDescriptionfloat
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_cylinderInput
-
m_cylinderLocalVariables
-
m_cylinderOutput
-
-
Constructor Details
-
RTCylinder
-
-
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
-