Class NetworkDisplayLayer3D
java.lang.Object
repast.simphony.visualization.visualization3D.AbstractDisplayLayer3D
repast.simphony.visualization.network.NetworkDisplayLayer3D
- All Implemented Interfaces:
ProjectionListener
,IDisplayLayer<VisualItem3D>
,IDisplayLayer3D
- Author:
- Nick Collier
-
Field Summary
Fields inherited from class repast.simphony.visualization.visualization3D.AbstractDisplayLayer3D
adder, objsToAdd, objsToRemove, parentGroup, style, visualItemMap
-
Constructor Summary
ConstructorDescriptionNetworkDisplayLayer3D
(Network<?> net, EdgeStyle3D style, org.jogamp.java3d.Group topGroup, Display3D display) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
createItemsForAddedObjects
(Layout layout, boolean doLayout) protected Label
protected VisualItem3D
createVisualItem
(Object obj) void
void
Invoked when a projection event occurs.void
setNetworkDirected
(boolean directed) Methods inherited from class repast.simphony.visualization.visualization3D.AbstractDisplayLayer3D
addObject, applyUpdates, findObjsForItem, getVisualItem, removeItemsForRemovedObjects, removeObject, setStyle, update
-
Constructor Details
-
NetworkDisplayLayer3D
public NetworkDisplayLayer3D(Network<?> net, EdgeStyle3D style, org.jogamp.java3d.Group topGroup, Display3D display)
-
-
Method Details
-
getEdgeStyle
-
createItemsForAddedObjects
- Specified by:
createItemsForAddedObjects
in classAbstractDisplayLayer3D
-
createVisualItem
-
createLabel
- Specified by:
createLabel
in classAbstractDisplayLayer3D
-
doUpdate
- Specified by:
doUpdate
in classAbstractDisplayLayer3D
-
setNetworkDirected
public void setNetworkDirected(boolean directed) -
projectionEventOccurred
Description copied from interface:ProjectionListener
Invoked when a projection event occurs.- Specified by:
projectionEventOccurred
in interfaceProjectionListener
- Parameters:
evt
- the object describing the event
-