- 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, 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
ConstructorsConstructorDescriptionRTCylinder(Object object, boolean asNode, long pathId, float radius, Vector3f axis, boolean openTop, boolean openBottom) -
Method Summary
Modifier and TypeMethodDescriptionfloatgetDistance(Ray ray, RayContext context) voidbooleanisConvex()booleanbooleanisSolid()voidMethods inherited from class de.grogra.imp3d.ray.RaytracerLeaf
getMedium, 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
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:
isShadeablein interfaceRTObject
-
isSolid
public boolean isSolid() -
setTransformation
- Overrides:
setTransformationin classRaytracerLeaf
-
getDistance
- Specified by:
getDistancein interfaceRTObject
-
getIntersectionDescription
- Specified by:
getIntersectionDescriptionin interfaceRTObject
-
getBoundingVolume
- Specified by:
getBoundingVolumein interfaceRTObject
-