org.hfbk.vis.visnode.VisHUD Class Reference

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

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 VisHUD (final VisClient vclient)
void render (List< AWTEvent > events)
void add (VisNode n)
void notifyUser ()
void clear ()
void saveImages ()

Public Attributes

VisKeyboard osk

Package Functions

void renderChildren (List< AWTEvent > events)
void renderSelf ()

Package Attributes

BirdsEye map = new BirdsEye()
int notify = 0
float dtAvg

Detailed Description

Author:
Paul
a HUD overlay to superimpose GUI and viewers to over 3d world. it is 3d capable too but allways in front and coplanar to the screen.

offers buttons to dra edges, save and animate viewpoints.

images can be added to show them in perspectiveless fashion.

react to some keys: -ctrl+s saves all attached images to disk -esc clears out all attachments except GUI. b opens hoovered items in browser (this works on 3d world things too so maybe pull it out here.) -F1..Fx presses the buttons

Definition at line 43 of file VisHUD.java.


Constructor & Destructor Documentation

org.hfbk.vis.visnode.VisHUD.VisHUD ( final VisClient  vclient  ) 

creates HUD with some UI.

Parameters:
vclient the VisClient to attach to.

Definition at line 53 of file VisHUD.java.

References org.hfbk.vis.visnode.VisRoot.add(), org.hfbk.vis.visnode.VisHUD.add(), org.hfbk.vis.VisClient.animateViewpoint, org.hfbk.vis.visnode.VisNode.children, org.hfbk.vis.visnode.VisHUD.clear(), org.hfbk.vis.visnode.VisRoot.client, org.hfbk.vis.VisClient.hoovered, org.hfbk.vis.visnode.VisHUD.notifyUser(), org.hfbk.vis.visnode.VisHUD.osk, org.hfbk.vis.visnode.VisNode.radius, org.hfbk.vis.visnode.VisNode.remove(), org.hfbk.vis.VisClient.root, org.hfbk.vis.visnode.VisHUD.saveImages(), org.hfbk.vis.VisClient.saveVewpoint(), and org.hfbk.vis.visnode.VisNode.url.

Here is the call graph for this function:


Member Function Documentation

void org.hfbk.vis.visnode.VisHUD.render ( List< AWTEvent >  events  ) 

recursively renders this node and all children.

we do some culling of objects spherical extends against the view frustum. for problems see

See also:
renderSelf

Reimplemented from org.hfbk.vis.visnode.VisNode.

Definition at line 146 of file VisHUD.java.

References org.hfbk.vis.visnode.VisRoot.client, org.hfbk.vis.VisClient.dt, org.hfbk.vis.visnode.VisHUD.map, org.hfbk.vis.visnode.VisHUD.notify, org.hfbk.vis.BirdsEye.render(), and org.hfbk.vis.VisClient.root.

Referenced by org.hfbk.vis.VisClient.paintGL().

Here is the call graph for this function:

Here is the caller graph for this function:

void org.hfbk.vis.visnode.VisHUD.renderChildren ( List< AWTEvent >  events  )  [package]

Reimplemented from org.hfbk.vis.visnode.VisNode.

Definition at line 168 of file VisHUD.java.

References org.hfbk.vis.visnode.VisNode.children, org.hfbk.vis.visnode.VisRoot.client, and org.hfbk.vis.VisClient.hudEnabled.

void org.hfbk.vis.visnode.VisHUD.add ( VisNode  n  ) 

augmented to depth order incoming things

Reimplemented from org.hfbk.vis.visnode.VisRoot.

Definition at line 177 of file VisHUD.java.

References org.hfbk.vis.visnode.VisNode.children, org.hfbk.vis.visnode.VisNode.parent, and org.hfbk.vis.visnode.VisNode.position.

Referenced by org.hfbk.vis.visnode.VisVideoImage.handleEvent(), org.hfbk.vis.visnode.VisImage.handleEvent(), and org.hfbk.vis.visnode.VisHUD.VisHUD().

Here is the caller graph for this function:

void org.hfbk.vis.visnode.VisHUD.notifyUser (  ) 

notifies a user about some event by flashing transparent buttons

TODO sound a click

Definition at line 191 of file VisHUD.java.

References org.hfbk.vis.visnode.VisHUD.notify.

Referenced by org.hfbk.vis.VisClient.paintGL(), org.hfbk.vis.visnode.VisHUD.saveImages(), and org.hfbk.vis.visnode.VisHUD.VisHUD().

Here is the caller graph for this function:

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

display some infos: -timescale if not 1:1 -a list of pending fetches

Reimplemented from org.hfbk.vis.visnode.VisRoot.

Definition at line 201 of file VisHUD.java.

References org.hfbk.vis.visnode.VisNode.children, org.hfbk.vis.visnode.VisRoot.client, org.hfbk.vis.VisClient.dt, org.hfbk.vis.visnode.VisHUD.dtAvg, and org.hfbk.vis.VisClient.timescale.

void org.hfbk.vis.visnode.VisHUD.clear (  ) 

clears all non-ui hud items

Definition at line 246 of file VisHUD.java.

References org.hfbk.vis.visnode.VisNode.children, and org.hfbk.vis.visnode.VisNode.remove().

Referenced by org.hfbk.vis.visnode.Automator.renderSelf(), org.hfbk.vis.visnode.VisHUD.saveImages(), and org.hfbk.vis.visnode.VisHUD.VisHUD().

Here is the call graph for this function:

Here is the caller graph for this function:

void org.hfbk.vis.visnode.VisHUD.saveImages (  ) 

saves all currently shown images to disk and clears them out.

Definition at line 256 of file VisHUD.java.

References org.hfbk.vis.visnode.VisNode.children, org.hfbk.vis.visnode.VisHUD.clear(), and org.hfbk.vis.visnode.VisHUD.notifyUser().

Referenced by org.hfbk.vis.visnode.VisHUD.VisHUD().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

VisKeyboard org.hfbk.vis.visnode.VisHUD.osk

Definition at line 45 of file VisHUD.java.

Referenced by org.hfbk.vis.visnode.VisHUD.VisHUD().

BirdsEye org.hfbk.vis.visnode.VisHUD.map = new BirdsEye() [package]

Definition at line 46 of file VisHUD.java.

Referenced by org.hfbk.vis.visnode.VisHUD.render().

int org.hfbk.vis.visnode.VisHUD.notify = 0 [package]

Definition at line 192 of file VisHUD.java.

Referenced by org.hfbk.vis.visnode.VisHUD.notifyUser(), and org.hfbk.vis.visnode.VisHUD.render().

float org.hfbk.vis.visnode.VisHUD.dtAvg [package]

Definition at line 194 of file VisHUD.java.

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


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