|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsimbad.sim.BaseObject
simbad.sim.StaticObject
simbad.sim.BlockWorldObject
simbad.sim.BlockWorldCompositeObject
public class BlockWorldCompositeObject
Base classt for all composite block world objects (arch...).
Field Summary | |
---|---|
(package private) java.util.ArrayList |
components
Keep list of all simple components . |
Fields inherited from class simbad.sim.StaticObject |
---|
appearance, localToVworld, transformedBounds |
Fields inherited from class simbad.sim.BaseObject |
---|
black, branchGroup, canBeTraversed, compilable, detachedFromSceneGraph, group, localBounds, material, rotation, rotationGroup, translation, translationGroup, white, world |
Constructor Summary | |
---|---|
BlockWorldCompositeObject()
|
Method Summary | |
---|---|
protected void |
addComponent(BlockWorldObject o)
|
protected void |
createTransformedBounds()
Create and pre Compute the transformed bound of the objects. |
protected boolean |
intersect(javax.media.j3d.BoundingSphere bs)
Returns true if the object intersect with the given bounding sphere. |
Methods inherited from class simbad.sim.BlockWorldObject |
---|
rotate90, setColor |
Methods inherited from class simbad.sim.StaticObject |
---|
create3D, createLocalToVworld, getTransformedBounds |
Methods inherited from class simbad.sim.BaseObject |
---|
addChild, addChild, attach, compile, create3D, detach, getBounds, getCanBeTraversed, getGroup, getNode, getRotationTransform, getRotationTransformGroup, getTranslation, getTranslationTransform, getTranslationTransform, resetTransforms, rotateY, setBounds, setCanBeTraversed, setWorld, translateTo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
java.util.ArrayList components
Constructor Detail |
---|
BlockWorldCompositeObject()
Method Detail |
---|
protected void createTransformedBounds()
createTransformedBounds
in class StaticObject
protected boolean intersect(javax.media.j3d.BoundingSphere bs)
intersect
in class StaticObject
bs
- the boundingsphere to intersect with.protected void addComponent(BlockWorldObject o)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |