|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--unbboolean.gui.scenegraph.SceneGraphManager
Manages the scene graph where the solids on the screen are set
Constructor Summary | |
SceneGraphManager(javax.media.j3d.Canvas3D canvas3d,
SolidsSelectionListener listener)
Constructs a SceneGraphManager that shows the solids into the received canvas and notifying about selections the received listener |
Method Summary | |
void |
addSolid(CSGSolid solid)
Adds a solid into the scene graph |
void |
removeSelectedSolids()
Removes all the selected solids |
void |
removeSolid(CSGSolid solid)
Removes a solid from the scene graph |
void |
setMoveMode(CSGSolid solid)
Sets move mode on |
void |
unsetMoveMode(CSGSolid solid)
Sets move mode of |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SceneGraphManager(javax.media.j3d.Canvas3D canvas3d, SolidsSelectionListener listener)
canvas3d
- screen where the solids are shownlistener
- listener that has to be notified about solid selectionsMethod Detail |
public void addSolid(CSGSolid solid)
solid
- solid to be added into the scene graphpublic void removeSelectedSolids()
public void removeSolid(CSGSolid solid)
solid
- solid to be removed from the scene graphpublic void setMoveMode(CSGSolid solid)
solid
- move mode solidpublic void unsetMoveMode(CSGSolid solid)
solid
- solid to be selected after the move mode is off
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |