ucl.physiol.neuroconstruct.project
Class GeneratedCellPositions
java.lang.Object
ucl.physiol.neuroconstruct.project.GeneratedCellPositions
public class GeneratedCellPositions
- extends Object
Storage for the positions generated when the Generate cell positions... button
is pressed
- Author:
- Padraig Gleeson
GeneratedCellPositions
public GeneratedCellPositions(Project project)
reset
public void reset()
setRandomSeed
public void setRandomSeed(long rs)
getRandomSeed
public long getRandomSeed()
addPosition
public void addPosition(String cellGroupName,
int cellIndex,
float xPos,
float yPos,
float zPos)
addPosition
public void addPosition(String cellGroupName,
PositionRecord posRecord)
getPositionRecords
public ArrayList<PositionRecord> getPositionRecords(String cellGroupName)
getAllPositionRecords
public ArrayList<PositionRecord> getAllPositionRecords()
getNamesGeneratedCellGroups
public Iterator<String> getNamesGeneratedCellGroups()
getNonEmptyCellGroups
public ArrayList<String> getNonEmptyCellGroups()
getNumberInAllCellGroups
public int getNumberInAllCellGroups()
getNumberNonEmptyCellGroups
public int getNumberNonEmptyCellGroups()
getNumberInCellGroup
public int getNumberInCellGroup(String cellGroupName)
getOneCellPosition
public Point3f getOneCellPosition(String cellGroupName,
int index)
getNumberPositionRecords
public int getNumberPositionRecords()
getHtmlReport
public String getHtmlReport()
toString
public String toString()
- Overrides:
toString in class Object
details
public String details()
details
public String details(boolean html)
toLongString
public String toLongString(boolean html)
saveToFile
public void saveToFile(File positionFile)
throws IOException
- Throws:
IOException
loadFromFile
public void loadFromFile(File positionFile)
throws IOException
- Throws:
IOException
getNetworkMLElement
public SimpleXMLElement getNetworkMLElement()
throws NeuroMLException
- Throws:
NeuroMLException
getNetworkMLElements
public ArrayList<SimpleXMLElement> getNetworkMLElements(NeuroMLConstants.NeuroMLVersion version)
throws NeuroMLException
- Throws:
NeuroMLException
main
public static void main(String[] args)