Class Grid3DLayout
- java.lang.Object
-
- repast.simphony.visualization.grid.Grid3DLayout
-
-
Field Summary
Fields Modifier and Type Field Description protected float[]
point
-
Constructor Summary
Constructors Constructor Description Grid3DLayout()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Box
getBoundingBox()
Gets a bounding box that describes the extent of this layout in location coordinates.VisualizationProperties
getLayoutProperties()
Gets the layout properties for this layout.float[]
getLocation(Object obj)
Gets the location of the specified object as determined by this layout.String
getName()
Gets the name of the layoutvoid
setLayoutProperties(VisualizationProperties props)
Sets the layout properties for this layout.void
setProjection(Grid grid)
Sets the projection associated with this Layout.void
update()
Updates this layout.
-
-
-
Method Detail
-
setProjection
public void setProjection(Grid grid)
Description copied from interface:Layout
Sets the projection associated with this Layout.- Specified by:
setProjection
in interfaceLayout<Object,Grid>
- Parameters:
grid
- the associated projection.
-
setLayoutProperties
public void setLayoutProperties(VisualizationProperties props)
Sets the layout properties for this layout.- Specified by:
setLayoutProperties
in interfaceLayout<Object,Grid>
- Parameters:
props
- the layout properties
-
getLayoutProperties
public VisualizationProperties getLayoutProperties()
Gets the layout properties for this layout.- Specified by:
getLayoutProperties
in interfaceLayout<Object,Grid>
- Returns:
- the layout properties for this layout.
-
getLocation
public float[] getLocation(Object obj)
Description copied from interface:Layout
Gets the location of the specified object as determined by this layout.- Specified by:
getLocation
in interfaceLayout<Object,Grid>
- Parameters:
obj
- the object whose location we want.- Returns:
- the location of the object.
-
update
public void update()
Description copied from interface:Layout
Updates this layout.
-
getName
public String getName()
Description copied from interface:Layout
Gets the name of the layout
-
getBoundingBox
public Box getBoundingBox()
Description copied from interface:Layout
Gets a bounding box that describes the extent of this layout in location coordinates.- Specified by:
getBoundingBox
in interfaceLayout<Object,Grid>
- Returns:
- a bounding box that describes the extent of this layout in location coordinates, or a 0 size box if the extent is unknown.
-
-