|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvisual.entity.Entity3d
visual.entity.Node3d
public class Node3d
Created by IntelliJ IDEA. User: andy Date: Apr 6, 2010 Extends Entity3d abstract class by defining a viewable 3d Node.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class visual.entity.Entity3d |
---|
Entity3d.SCALE |
Field Summary |
---|
Fields inherited from class visual.entity.Entity3d |
---|
entity, factor, TG |
Constructor Summary | |
---|---|
Node3d(Node node)
Default Constructor for Node3d objects. |
Method Summary | |
---|---|
javax.media.j3d.Appearance |
createAppearance()
Define the appearance of the 3d Node. |
javax.media.j3d.Appearance |
createTextAppearance()
For 3d text. |
javax.vecmath.Point3d |
getCenter()
|
void |
hide()
If an entity has been constructed during experiment visualization, then in case of seeking or stop, when the rewire() method is called, it may be that even though the entity3d is displayed, it has not yet been constracted. |
void |
move(Position p)
Move the 3d Entity to a new Position. |
void |
reden()
Makes the 3d Node object flash red. |
void |
scale(Entity3d.SCALE mode)
Either enlarges or shrinks the 3d node. |
void |
show()
If during experiment visualization a new Entity is added and the corresponding Entity3d is hidden, show the Entity3d. |
void |
updateStatus()
Makes a 3d Entity appear as enabled or disabled. |
Methods inherited from class visual.entity.Entity3d |
---|
get, getEntity, getTG, normalize, rewire, setFactor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Node3d(Node node)
node
- the corresponding experiment.Node.Method Detail |
---|
public javax.media.j3d.Appearance createAppearance()
createAppearance
in class Entity3d
public javax.media.j3d.Appearance createTextAppearance()
public javax.vecmath.Point3d getCenter()
public void hide()
hide
in class Entity3d
public void move(Position p)
move
in class Entity3d
p
- is the new experiment.entity.Position where the 3d Node is going to be moved.public void reden()
reden
in class Entity3d
public void scale(Entity3d.SCALE mode)
scale
in class Entity3d
mode
- enlarge or shrink?public void show()
show
in class Entity3d
public void updateStatus()
updateStatus
in class Entity3d
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |