public class SWCModel
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.Integer,SWCPoint> |
points |
Constructor and Description |
---|
SWCModel() |
Modifier and Type | Method and Description |
---|---|
void |
addPoint(int pointIndex,
SWCPoint swcPoint) |
java.util.List<SWCPoint> |
getPoints() |
java.util.Map<java.lang.Integer,SWCPoint> |
getPointsMap() |
void |
resolve()
this method resolves parent indexes to actual SWCPoint objects
|
int |
size() |
private java.util.Map<java.lang.Integer,SWCPoint> points
public java.util.Map<java.lang.Integer,SWCPoint> getPointsMap()
public java.util.List<SWCPoint> getPoints()
public void addPoint(int pointIndex, SWCPoint swcPoint) throws SWCException
pointIndex
- swcPoint
- SWCException
public void resolve() throws SWCException
SWCException
public int size()