Class Grid3DProjectionDecorator
- java.lang.Object
-
- repast.simphony.visualization.decorator.AbstractProjectionDecorator<Grid>
-
- repast.simphony.visualization.grid.Grid3DProjectionDecorator
-
- All Implemented Interfaces:
ProjectionDecorator3D<Grid>
public class Grid3DProjectionDecorator extends AbstractProjectionDecorator<Grid> implements ProjectionDecorator3D<Grid>
Decorator for 2D and 3D grids when displayed in 3D. This can draw grid lines in 2 or 3 dimensions.- Version:
- $Revision$ $Date$
- Author:
- Nick Collier
-
-
Field Summary
Fields Modifier and Type Field Description static String
GRID_3D_DECORATOR
-
Fields inherited from class repast.simphony.visualization.decorator.AbstractProjectionDecorator
color, COLOR, projection, SHOW_DECORATOR, TYPE_KEY, UNIT_SIZE, unitSize
-
-
Constructor Summary
Constructors Constructor Description Grid3DProjectionDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init(Display3D display, org.jogamp.java3d.Group parent)
Initializes the decorator by adding a 2 or 3D grid to the parent.void
update()
Updates the decorator.-
Methods inherited from class repast.simphony.visualization.decorator.AbstractProjectionDecorator
getColor, getProjection, getUnitSize, setColor, setProjection, setUnitSize
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface repast.simphony.visualization.decorator.ProjectionDecorator3D
getProjection, setProjection
-
-
-
-
Field Detail
-
GRID_3D_DECORATOR
public static final String GRID_3D_DECORATOR
-
-
Method Detail
-
init
public void init(Display3D display, org.jogamp.java3d.Group parent)
Initializes the decorator by adding a 2 or 3D grid to the parent.- Specified by:
init
in interfaceProjectionDecorator3D<Grid>
- Parameters:
display
-parent
- the parent to which the decoration should be added
-
update
public void update()
Updates the decorator. This does nothing in this implementation- Specified by:
update
in interfaceProjectionDecorator3D<Grid>
-
-