Public Member Functions | |
void | add (VisNode node) |
Package Functions | |
VisPartitionNode (Vector3f position) | |
void | balance () |
void | renderSelf () |
Package Attributes | |
float | scale |
boolean | dirty = false |
HashMap< Triple, VisPartitionNode > | partition = new HashMap<Triple,VisPartitionNode>() |
final Random | hasher = new Random() |
Classes | |
class | Triple |
currently used for the VisLog which places many nodes on a large plane.
Definition at line 25 of file VisPartitionNode.java.
org.hfbk.vis.visnode.VisPartitionNode.VisPartitionNode | ( | Vector3f | position | ) | [package] |
Definition at line 30 of file VisPartitionNode.java.
Referenced by org.hfbk.vis.visnode.VisPartitionNode.balance().
Here is the caller graph for this function:
void org.hfbk.vis.visnode.VisPartitionNode.add | ( | VisNode | node | ) |
add a child node.
node | node to add |
Reimplemented from org.hfbk.vis.visnode.VisNode.
Definition at line 34 of file VisPartitionNode.java.
References org.hfbk.vis.visnode.VisPartitionNode.dirty, and org.hfbk.vis.visnode.VisNode.node.
Referenced by org.hfbk.vis.visnode.VisLog.addIncoming(), and org.hfbk.vis.visnode.VisPartitionNode.balance().
Here is the caller graph for this function:
void org.hfbk.vis.visnode.VisPartitionNode.balance | ( | ) | [package] |
Definition at line 46 of file VisPartitionNode.java.
References org.hfbk.vis.visnode.VisPartitionNode.add(), org.hfbk.vis.visnode.VisNode.center(), org.hfbk.vis.visnode.VisNode.children, org.hfbk.vis.visnode.VisNode.getExtends(), org.hfbk.vis.visnode.VisNode.node, org.hfbk.vis.visnode.VisNode.parent, org.hfbk.vis.visnode.VisPartitionNode.partition, org.hfbk.vis.visnode.VisNode.position, org.hfbk.vis.visnode.VisPartitionNode.scale, and org.hfbk.vis.visnode.VisPartitionNode.VisPartitionNode().
Referenced by org.hfbk.vis.visnode.VisPartitionNode.renderSelf().
Here is the call graph for this function:
Here is the caller graph for this function:
void org.hfbk.vis.visnode.VisPartitionNode.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.
Reimplemented in org.hfbk.vis.visnode.VisLog.
Definition at line 100 of file VisPartitionNode.java.
References org.hfbk.vis.visnode.VisPartitionNode.balance(), and org.hfbk.vis.visnode.VisPartitionNode.dirty.
Here is the call graph for this function:
float org.hfbk.vis.visnode.VisPartitionNode.scale [package] |
Definition at line 26 of file VisPartitionNode.java.
Referenced by org.hfbk.vis.visnode.VisLog.addIncoming(), and org.hfbk.vis.visnode.VisPartitionNode.balance().
boolean org.hfbk.vis.visnode.VisPartitionNode.dirty = false [package] |
Definition at line 27 of file VisPartitionNode.java.
Referenced by org.hfbk.vis.visnode.VisPartitionNode.add(), and org.hfbk.vis.visnode.VisPartitionNode.renderSelf().
HashMap<Triple,VisPartitionNode> org.hfbk.vis.visnode.VisPartitionNode.partition = new HashMap<Triple,VisPartitionNode>() [package] |
space partitioning map
Definition at line 42 of file VisPartitionNode.java.
Referenced by org.hfbk.vis.visnode.VisPartitionNode.balance().
final Random org.hfbk.vis.visnode.VisPartitionNode.hasher = new Random() [package] |
Definition at line 80 of file VisPartitionNode.java.
Referenced by org.hfbk.vis.visnode.VisPartitionNode.Triple.hashCode().