org.hfbk.vis.visnode.VisEdges Class Reference

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

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

Collaboration graph
List of all members.

Package Functions

 VisEdges ()
void renderSelf ()
void recurse (VisNode node, Vector3f pos)

Package Attributes

VisRoot root
HashMap< VisNode, Vector3f > positions = new HashMap<VisNode, Vector3f>()

Detailed Description

a helper node rendering some edges for the visible nodes.

these are: -child-to-parent edges showing hierarchy in thin white -node-to-sourcenode edges showing sourcenodes for tree roots in bright red -this are completed to full association chain pathes by routing the source nodes to the parent sourced node which already connects his source and so on and on...

by "tree root" we denote a node which is the root of the result of one source fetch. by "sourcenode" we denote a node which is used as the keyword for a source fetch. by a "sourced node" we denote a tree root which is the root of a fetched graph invoked by a given source node.

this one must allways be added to root as it renders relative to world coordinate space.

needs some optimisations.


Definition at line 35 of file

Constructor & Destructor Documentation

org.hfbk.vis.visnode.VisEdges.VisEdges (  )  [package]

Definition at line 37 of file

References org.hfbk.vis.visnode.VisNode.radius.

Member Function Documentation

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

renders the edges of the graph network spanned by visible nodes.

TODO caching. positions can be reused until changed.

Implements org.hfbk.vis.visnode.VisNode.

Definition at line 53 of file

References org.hfbk.vis.visnode.VisNode.getRoot(), org.hfbk.vis.visnode.VisRoot.nodesBySource, org.hfbk.vis.visnode.VisNode.parent, org.hfbk.vis.visnode.VisEdges.positions, org.hfbk.vis.visnode.VisEdges.recurse(), org.hfbk.vis.visnode.VisEdges.root, org.hfbk.vis.visnode.VisRoot.sourceNodesBySource, and org.hfbk.vis.visnode.VisNode.url.

Here is the call graph for this function:

void org.hfbk.vis.visnode.VisEdges.recurse ( VisNode  node,
Vector3f  pos 
) [package]

recursively gathers absolute world positions

only handles translations so far.

node the node to recurse
pos current position

Definition at line 129 of file

References org.hfbk.vis.visnode.VisNode.node, and org.hfbk.vis.visnode.VisEdges.positions.

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

Here is the caller graph for this function:

Member Data Documentation

VisRoot org.hfbk.vis.visnode.VisEdges.root [package]

Definition at line 43 of file

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

HashMap<VisNode,Vector3f> org.hfbk.vis.visnode.VisEdges.positions = new HashMap<VisNode, Vector3f>() [package]

Definition at line 45 of file

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

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