Report.java
import ru.biosoft.physicell.core.ReportGenerator;
import ru.biosoft.physicell.core.Cell;
public class Report extends ReportGenerator
{
public String[] getReportHeaderElements()
{
return new String[] {"ID", "X", "Y", "Z", "Oncoprotein"};
}
public Object[] getReportElements(Cell cell) throws Exception
{
return new Object[] {cell.ID, cell.position[0], cell.position[1], cell.position[2], cell.getModel().signals.getSingleSignal( cell, "custom:oncoprotein" ) };
}
}