org.hfbk.vis.visnode.VisFilesysTree Class Reference

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

Inheritance graph
Collaboration diagram for org.hfbk.vis.visnode.VisFilesysTree:

Collaboration graph
List of all members.

Public Member Functions

 VisFilesysTree (Node n, Vector3f position)
void render (List< AWTEvent > events)

Package Functions

int scanfile (String startatdir, Node parentnode)
void transform ()
void renderSelf ()

Package Attributes

final int DELAY = 1000
Graph tree = new Graph()
boolean dirty = false
float inset = 0.9f


class  FileBox

Detailed Description

a visualisation that scans files inside the running below a directory.

directorys and files are visualised as rectangular treemap.


Definition at line 28 of file

Constructor & Destructor Documentation

org.hfbk.vis.visnode.VisFilesysTree.VisFilesysTree ( Node  n,
Vector3f  position 

set up this scanner by starting the scanner thread

Definition at line 161 of file

References org.hfbk.vis.visnode.VisFilesysTree.DELAY, org.hfbk.vis.visnode.VisFilesysTree.dirty, org.hfbk.vis.visnode.VisFilesysTree.scanfile(), org.dronus.graph.Node.text, and org.hfbk.vis.visnode.VisFilesysTree.tree.

Here is the call graph for this function:

Member Function Documentation

int org.hfbk.vis.visnode.VisFilesysTree.scanfile ( String  startatdir,
Node  parentnode 
) [package]

called by scanner thread to do one thread sample. recursively samples filesystem and adds samples to filesystem graph.

Definition at line 191 of file

References org.dronus.graph.Graph.addEdge(), org.dronus.graph.Graph.addNode(), org.dronus.graph.Graph.findNode(), org.dronus.graph.Node.text, and org.hfbk.vis.visnode.VisFilesysTree.tree.

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

Here is the call graph for this function:

Here is the caller graph for this function:

void org.hfbk.vis.visnode.VisFilesysTree.transform (  )  [package]

actually applies this nodes transform. should be overridden for abitrary transform changes, eg. animation, billboarding etc.

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

Definition at line 237 of file

void org.hfbk.vis.visnode.VisFilesysTree.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 244 of file

References org.hfbk.vis.visnode.VisNode.add(), org.hfbk.vis.visnode.VisNode.children, org.hfbk.vis.visnode.VisFilesysTree.dirty, org.dronus.graph.Graph.getRoot(), and org.hfbk.vis.visnode.VisFilesysTree.tree.

Here is the call graph for this function:

void org.hfbk.vis.visnode.VisFilesysTree.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:

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

Definition at line 255 of file

Member Data Documentation

final int org.hfbk.vis.visnode.VisFilesysTree.DELAY = 1000 [package]

milliseconds between thread samples

Definition at line 31 of file

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

Graph org.hfbk.vis.visnode.VisFilesysTree.tree = new Graph() [package]

the abstract directory tree

Definition at line 34 of file

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

boolean org.hfbk.vis.visnode.VisFilesysTree.dirty = false [package]

Definition at line 37 of file

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

float org.hfbk.vis.visnode.VisFilesysTree.inset = 0.9f [package]

Definition at line 39 of file

Referenced by org.hfbk.vis.visnode.VisFilesysTree.FileBox.FileBox().

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