|
Bouncy Castle Rendering Toolkit 1.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bouncycastle.graphics.rt.Renderable | +--org.bouncycastle.graphics.rt.Bounded | +--org.bouncycastle.graphics.rt.objects.Ring
a ring.
Fields inherited from class org.bouncycastle.graphics.rt.Bounded |
bBox |
Fields inherited from class org.bouncycastle.graphics.rt.Renderable |
color, objToRay, rayToObj, selfShadowing, shader |
Constructor Summary | |
Ring(double rRing,
double rInner)
|
Method Summary | |
void |
getN(Hit hit,
Vector3f n)
set the normal for this hit point (object space) in hd the value is returned in n |
HitList |
intersections(Ray r)
|
boolean |
isIntersected(Ray r)
|
boolean |
isShadowing(Ray r)
|
Methods inherited from class org.bouncycastle.graphics.rt.Bounded |
bBox, setBBox, setBBox, transform |
Methods inherited from class org.bouncycastle.graphics.rt.Renderable |
createObjectSpaceRay, getColor, getColor, getShader, isSelfShadowing, processObject, processParameters, readObject, setColor, setColor, setSelfShadowing, setShader, toObjectSpace, toObjectSpace, transformNormal |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Ring(double rRing, double rInner)
Method Detail |
public boolean isShadowing(Ray r)
isShadowing
in class Bounded
public HitList intersections(Ray r)
public boolean isIntersected(Ray r)
isIntersected
in class Bounded
public void getN(Hit hit, Vector3f n)
NormalCalculator
getN
in interface NormalCalculator
|
Bouncy Castle Rendering Toolkit 1.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |