public class Group extends VariableOrganizer
gRowHighlitedState, gRowSaveSelectedState, gRowSelectedState
Constructor and Description |
---|
Group()
Standard constructor for the Group class
|
Group(Constraint aConstraint)
Standard constructor for the Group class
|
Group(GridSpace3D aGridSpace)
Standard constructor for the Group class
|
Modifier and Type | Method and Description |
---|---|
void |
addConstraint(Constraint aConstraint)
install a spatial constraint for the Group
|
void |
asSpatialMap()
Creates a presenter and plots the locations
|
void |
asSpatialMap(boolean xDirection,
boolean yDirection)
Creates a presenter and plots the locations
|
void |
asSpatialMap(GridSpace3D theGridSpace,
boolean xDirection,
boolean yDirection)
Creates a presenter and plots the locations
|
CaptureVariable |
getCaptureVariable(int Num)
returns a specific Animal from the Population
|
CaptureVariable |
getCenterLocations()
returns a CaptureVariable with the arithmnetic centers for all members at any given time
|
Group |
getConsolidatedTimeLine(boolean interpolate)
It coordinates times for all captures to conform to the same underlying timeline
|
Constraint |
getConstraint()
returns the spatial constraint for the group
|
long |
getEarliestTimeRef()
returns the earliest time reference for the group
|
GridSpace3D |
getGridSpaceFromVars()
creates a new Constraint that includes all selected coordinates of all selected animals
|
long |
getLatestTimeRef()
returns the latest time reference for the group
|
CaptureVariable |
getMember(int Num)
returns a specific Animal from the entire group
|
int |
getNMembers()
returns the number of members in the group
|
void |
register(Variable theCaptures)
registers an Animal in the group
|
Group |
sampleConstantStepSize(long num)
returns a specific Animal from the entire group
|
void |
setConstraint(Constraint aConstraint)
install a spatial constraint for the Group
|
void |
writeKMLFile(java.lang.String name)
export the coordinates into a KML file for display in Google Earth
|
addSelectRows, asConcatStrVariable, asDataTable, asDoubleArray, asJAMAMatrix, asProximity, asStringArray, asTablePresenter, asVariableOrganizerX, asVariableOrganizerY, checkMinVars, checkValidRowRange, clearAllDesignRoles, clearVariableDesignRoles, confirmMinXVariables, confirmMinYVariables, copySelectStateFrom, deleteAllRows, deleteCol, deleteCols, deleteColsNonX, deleteColsNonY, deleteNonSelectedRows, deleteRow, deleteSelectedRows, deselectAllRows, deselectRowsWithMissing, findFirstSelectedRow, findLastSelectedRow, findNextSelectedRow, findPreviousSelectedRow, getDataFileName, getFirstLabelColumn, getFirstXColumn, getFirstYColumn, getHighlitedRow, getItemValues, getLabels, getNextSelectLabelIndex, getNextSelectXColumnIndex, getNextSelectYColumnIndex, getNLabels, getNRows, getNSelectRows, getNValidRows, getNVariables, getNXVariables, getNYVariables, getParser, getSelectCell, getSelectRow, getVariable, getVariable, getVariableDesignRole, getVariableIndex, getVariableMeans, getVariableNames, getVariablePosition, hasLabel, invertSelectedRows, itemsAsDistanceMatrix, listDescriptives, listRow, listRows, listRows, listRows, listSelectedRows, listSelectState, listSelectState, listVariables, moveCol, restoreSelectedRows, restrictToMatchingUseRows, reverseRows, saveSelectedRows, selectAbove, selectAllRows, selectBelow, selectEveryNthRow, selectRange, selectRows, selectValue, setAutoColumnColors, setDataFileName, setHighlitedRow, setNRows, setSelectRow, setVariable, setVariableDesignRole, setVariableDesignRoleForAll, sort, stackYs, subSelectRows, swapRows, toFile, toFile, updateDesignRoleSums
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSize
public Group()
public Group(Constraint aConstraint) throws java.lang.Exception
aConstraint
- a spatial constraint for the groupjava.lang.Exception
public Group(GridSpace3D aGridSpace) throws java.lang.Exception
aGridSpace
- the spatial grid for the groupjava.lang.Exception
public int getNMembers() throws java.lang.Exception
java.lang.Exception
public GridSpace3D getGridSpaceFromVars() throws java.lang.Exception
java.lang.Exception
public void addConstraint(Constraint aConstraint) throws java.lang.Exception
aConstraint
- a spatial constraint for the groupjava.lang.Exception
public void setConstraint(Constraint aConstraint) throws java.lang.Exception
aConstraint
- a spatial constraint for the groupjava.lang.Exception
public Constraint getConstraint()
public void register(Variable theCaptures) throws java.lang.Exception
register
in class VariableOrganizer
theCaptures
- the variable to registerjava.lang.Exception
public long getEarliestTimeRef() throws java.lang.Exception
java.lang.Exception
public long getLatestTimeRef() throws java.lang.Exception
java.lang.Exception
public Group getConsolidatedTimeLine(boolean interpolate) throws java.lang.Exception
interpolate
- fill the missing datapoints by interpolationjava.lang.Exception
public Group sampleConstantStepSize(long num) throws java.lang.Exception
num
- the number of the animaljava.lang.Exception
public CaptureVariable getMember(int Num) throws java.lang.Exception
Num
- the number of the animaljava.lang.Exception
public CaptureVariable getCaptureVariable(int Num) throws java.lang.Exception
Num
- the number of the animaljava.lang.Exception
public CaptureVariable getCenterLocations() throws java.lang.Exception
java.lang.Exception
public void asSpatialMap() throws java.lang.Exception
java.lang.Exception
public void asSpatialMap(boolean xDirection, boolean yDirection) throws java.lang.Exception
xDirection
- do x values increase from left to right?yDirection
- do y values increase from top to bottom?java.lang.Exception
public void asSpatialMap(GridSpace3D theGridSpace, boolean xDirection, boolean yDirection) throws java.lang.Exception
theGridSpace
- the coordinate system for the mapxDirection
- do x values increase from left to right?yDirection
- do y values increase from top to bottom?java.lang.Exception
public void writeKMLFile(java.lang.String name) throws java.lang.Exception
java.lang.Exception
RH, 2017