Class Continuous3DLayout
java.lang.Object
repast.simphony.visualization.continuous.Continuous3DLayout
- All Implemented Interfaces:
Layout<Object,
ContinuousSpace>
3D Layout for a 3D continuous space.
- Author:
- Nick Collier, Jerry Vos
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets a bounding box that describes the extent of this layout in location coordinates.Gets the layout properties for this layout.float[]
getLocation
(Object obj) Gets the location of the specified object as determined by this layout.getName()
Gets the name of the layoutvoid
Sets the layout properties for this layout.void
setProjection
(ContinuousSpace space) Sets the projection associated with this Layout.void
update()
Updates this layout.
-
Field Details
-
point
protected float[] point
-
-
Constructor Details
-
Continuous3DLayout
public Continuous3DLayout() -
Continuous3DLayout
-
-
Method Details
-
setProjection
Description copied from interface:Layout
Sets the projection associated with this Layout.- Specified by:
setProjection
in interfaceLayout<Object,
ContinuousSpace> - Parameters:
space
- the associated projection.
-
setLayoutProperties
Sets the layout properties for this layout.- Specified by:
setLayoutProperties
in interfaceLayout<Object,
ContinuousSpace> - Parameters:
props
- the layout properties
-
getLayoutProperties
Gets the layout properties for this layout.- Specified by:
getLayoutProperties
in interfaceLayout<Object,
ContinuousSpace> - Returns:
- the layout properties for this layout.
-
getLocation
Description copied from interface:Layout
Gets the location of the specified object as determined by this layout.- Specified by:
getLocation
in interfaceLayout<Object,
ContinuousSpace> - 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.- Specified by:
update
in interfaceLayout<Object,
ContinuousSpace>
-
getName
Description copied from interface:Layout
Gets the name of the layout- Specified by:
getName
in interfaceLayout<Object,
ContinuousSpace> - Returns:
- name of the layout type
-
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,
ContinuousSpace> - Returns:
- a bounding box that describes the extent of this layout in location coordinates, or a 0 size box if the extent is unknown.
-