anl.aida.viz3d
Class NetworkVizCreator
java.lang.Object
anl.aida.viz3d.NetworkVizCreator
public class NetworkVizCreator
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCALE_FACTOR
private static int SCALE_FACTOR
layout
private Layout2D<TermNode> layout
nodePaint
private java.awt.Color nodePaint
width
private float width
height
private float height
edgeStyler
private EdgeStyler edgeStyler
emptyNodes
private java.util.List<VSpatial> emptyNodes
emptyNodesVisible
private boolean emptyNodesVisible
NetworkVizCreator
public NetworkVizCreator(float width,
float height,
Layout2D<TermNode> layout)
isEmptyNodesVisible
public boolean isEmptyNodesVisible()
- Gets whether or not the empty nodes are visible.
- Returns:
- whether or not the empty nodes are visible.
setEmptyNodesVisible
public void setEmptyNodesVisible(boolean visible)
- Sets the visibility of empty nodes.
- Parameters:
visible
-
updateLayout
public void updateLayout(VSpatial spatial,
javax.vecmath.Point3f localTrans)
- Updates the location of the specified spatial to the
local transform.
- Parameters:
spatial
- the spatial whose location we should updatelocalTrans
- the new location
addTo
public void addTo(ConceptGraph<TermNode> graph,
VNode parent,
anl.aida.util.DateRange date)