barsuift.simLife.j3d.tree
Interface TreeLeaf3D

All Superinterfaces:
Mobile, Persistent<TreeLeaf3DState>, Publisher, Subscriber

public interface TreeLeaf3D
extends Subscriber, Mobile, Persistent<TreeLeaf3DState>


Method Summary
 double getArea()
           
 javax.media.j3d.BranchGroup getBranchGroup()
          Gets the BranchGroup of the leaf 3D.
 javax.vecmath.Point3d getPosition()
           
 void increaseSize()
           
 boolean isMaxSizeReached()
           
 
Methods inherited from interface barsuift.simLife.message.Subscriber
update
 
Methods inherited from interface barsuift.simLife.j3d.Mobile
getTransformGroup
 
Methods inherited from interface barsuift.simLife.message.Publisher
addSubscriber, clearChanged, countSubscribers, deleteSubscriber, deleteSubscribers, hasChanged, notifySubscribers, notifySubscribers, setChanged
 
Methods inherited from interface barsuift.simLife.Persistent
getState, synchronize
 

Method Detail

getArea

double getArea()

isMaxSizeReached

boolean isMaxSizeReached()

increaseSize

void increaseSize()

getPosition

javax.vecmath.Point3d getPosition()

getBranchGroup

javax.media.j3d.BranchGroup getBranchGroup()
Gets the BranchGroup of the leaf 3D. This branch group contains a transform group, for relative position of the leaf. The TG contains the leaf shape.

Specified by:
getBranchGroup in interface Mobile
Returns:
the leaf 3D branch group


Copyright © 2010. All Rights Reserved.