org.hfbk.vis.visnode.VisBit Class Reference

Inheritance diagram for org.hfbk.vis.visnode.VisBit:

Inheritance graph
[legend]
Collaboration diagram for org.hfbk.vis.visnode.VisBit:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 VisBit (Node dummy, Vector3f pos)

Package Functions

Vector3f randomVector3f ()
void state (int newState)
Override void renderSelf ()

Package Attributes

VisNode[] shape = new VisNode[] {new BitIdle(), new BitOff(), new BitOn()}
Sound[] sound = new Sound[]{null, new Sound("sound/nein.wav"),new Sound("sound/ja.wav")}
int state
final int IDLE = 0
final int NO = 1
final int YES = 2
float time
float cycle = 20
Vector3f velocity = new Vector3f(1,0,0)

Classes

class  BitIdle
class  BitOff
class  BitOn

Detailed Description

the... bit.

Author:
paul

Definition at line 13 of file VisBit.java.


Constructor & Destructor Documentation

org.hfbk.vis.visnode.VisBit.VisBit ( Node  dummy,
Vector3f  pos 
)

Definition at line 106 of file VisBit.java.

References org.hfbk.vis.visnode.VisNode.add(), org.hfbk.vis.visnode.VisBit.IDLE, org.hfbk.vis.visnode.VisBit.shape, and org.hfbk.vis.visnode.VisBit.sound.

Here is the call graph for this function:


Member Function Documentation

Vector3f org.hfbk.vis.visnode.VisBit.randomVector3f (  )  [package]

Definition at line 113 of file VisBit.java.

Referenced by org.hfbk.vis.visnode.VisBit.renderSelf().

Here is the caller graph for this function:

void org.hfbk.vis.visnode.VisBit.state ( int  newState  )  [package]

Definition at line 117 of file VisBit.java.

References org.hfbk.vis.visnode.VisNode.add(), org.hfbk.vis.visnode.VisNode.remove(), org.hfbk.vis.visnode.VisBit.shape, org.hfbk.vis.visnode.VisBit.sound, org.hfbk.vis.visnode.VisBit.state, and org.hfbk.vis.visnode.Sound.trigger().

Here is the call graph for this function:

Override void org.hfbk.vis.visnode.VisBit.renderSelf (  )  [package, virtual]

implement this to actually render this node itself. also used to update a node's state.

things not seen also do not update. this is sometimes akward, sometimes useful, eg. a movie not seen does not advance

Implements org.hfbk.vis.visnode.VisNode.

Definition at line 127 of file VisBit.java.

References org.hfbk.vis.visnode.VisRoot.client, org.hfbk.vis.visnode.VisBit.cycle, org.hfbk.vis.VisClient.dt, org.hfbk.vis.visnode.VisNode.getRoot(), org.hfbk.vis.visnode.VisBit.IDLE, org.hfbk.vis.visnode.VisBit.NO, org.hfbk.vis.visnode.VisNode.position, org.hfbk.vis.visnode.VisBit.randomVector3f(), org.hfbk.vis.visnode.VisBit.state, org.hfbk.vis.visnode.VisBit.time, org.hfbk.vis.visnode.VisNode.traverse(), org.hfbk.vis.visnode.VisBit.velocity, and org.hfbk.vis.visnode.VisBit.YES.

Here is the call graph for this function:


Member Data Documentation

VisNode [] org.hfbk.vis.visnode.VisBit.shape = new VisNode[] {new BitIdle(), new BitOff(), new BitOn()} [package]

Definition at line 97 of file VisBit.java.

Referenced by org.hfbk.vis.visnode.VisBit.state(), and org.hfbk.vis.visnode.VisBit.VisBit().

Sound [] org.hfbk.vis.visnode.VisBit.sound = new Sound[]{null, new Sound("sound/nein.wav"),new Sound("sound/ja.wav")} [package]

Definition at line 98 of file VisBit.java.

Referenced by org.hfbk.vis.visnode.VisBit.state(), and org.hfbk.vis.visnode.VisBit.VisBit().

int org.hfbk.vis.visnode.VisBit.state [package]

Definition at line 100 of file VisBit.java.

Referenced by org.hfbk.vis.visnode.VisBit.renderSelf(), and org.hfbk.vis.visnode.VisBit.state().

final int org.hfbk.vis.visnode.VisBit.IDLE = 0 [package]

Definition at line 101 of file VisBit.java.

Referenced by org.hfbk.vis.visnode.VisBit.renderSelf(), and org.hfbk.vis.visnode.VisBit.VisBit().

final int org.hfbk.vis.visnode.VisBit.NO = 1 [package]

Definition at line 101 of file VisBit.java.

Referenced by org.hfbk.vis.visnode.VisBit.renderSelf().

final int org.hfbk.vis.visnode.VisBit.YES = 2 [package]

Definition at line 101 of file VisBit.java.

Referenced by org.hfbk.vis.visnode.VisBit.renderSelf().

float org.hfbk.vis.visnode.VisBit.time [package]

Definition at line 103 of file VisBit.java.

Referenced by org.hfbk.vis.visnode.VisBit.renderSelf().

float org.hfbk.vis.visnode.VisBit.cycle = 20 [package]

Definition at line 103 of file VisBit.java.

Referenced by org.hfbk.vis.visnode.VisBit.renderSelf().

Vector3f org.hfbk.vis.visnode.VisBit.velocity = new Vector3f(1,0,0) [package]

Definition at line 104 of file VisBit.java.

Referenced by org.hfbk.vis.visnode.VisBit.renderSelf().


The documentation for this class was generated from the following file:
Generated on Tue Apr 7 17:58:55 2009 for visclient by  doxygen 1.5.1