|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wilmascope.light.WilmaLight
public class WilmaLight
The class serves as a memory for the light and it's parent branch group. The light's parent branchgroup cannot be returned using java3d's method once the light is turned 'live'. It's necessary to create a reference for the light's parent branchgroup so that the light can be deleted after it is turned 'live'.
Constructor Summary | |
---|---|
WilmaLight()
|
Method Summary | |
---|---|
void |
deleteObj()
Detaches the 3D shape |
Arrow |
getArrow()
|
javax.media.j3d.BranchGroup |
getBranchGroup()
|
SpotLightCone |
getCone()
|
javax.media.j3d.Light |
getLight()
|
javax.media.j3d.BranchGroup |
getObjGroup()
|
PointLightSphere |
getSphere()
|
void |
setBranchGroup(javax.media.j3d.BranchGroup b)
Registers the light's parent BranchGroup |
void |
setLight(javax.media.j3d.Light l)
Registers the light and create a 3D Shape to represent the light |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WilmaLight()
Method Detail |
---|
public javax.media.j3d.Light getLight()
public javax.media.j3d.BranchGroup getBranchGroup()
public void setLight(javax.media.j3d.Light l)
public void setBranchGroup(javax.media.j3d.BranchGroup b)
public PointLightSphere getSphere()
public SpotLightCone getCone()
public void deleteObj()
public javax.media.j3d.BranchGroup getObjGroup()
public Arrow getArrow()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |