Package | Description |
---|---|
sc.fiji.snt |
SNT core classes
|
sc.fiji.snt.analysis.graph |
Classes for handling neuronal reconstructions as graphs
|
sc.fiji.snt.io |
Classes for importing reconstructions into SNT.
|
sc.fiji.snt.util |
Miscellaneous SNT utilities, including classes defining reconstruction nodes.
|
Modifier and Type | Method and Description |
---|---|
org.jgrapht.graph.DefaultDirectedGraph<SWCPoint,org.jgrapht.graph.DefaultWeightedEdge> |
Tree.getGraph()
Assembles a DirectedGraph from this Tree.
|
java.util.Collection<SWCPoint> |
Tree.getNodesAsSWCPoints() |
java.util.List<SWCPoint> |
PathAndFillManager.getSWCFor(java.util.Collection<Path> paths)
Gets the list of SWCPoints associated with a collection of Paths.
|
Modifier and Type | Method and Description |
---|---|
static PathAndFillManager |
PathAndFillManager.createFromNodes(java.util.Collection<SWCPoint> nodes)
Creates a PathAndFillManager instance from a collection of reconstruction
nodes.
|
java.util.Map<java.lang.String,Tree> |
PathAndFillManager.importNeurons(java.util.Map<java.lang.String,java.util.TreeSet<SWCPoint>> map,
org.scijava.util.ColorRGB color,
java.lang.String spatialUnit)
Import neuron(s) as a collection of reconstruction nodes (SWC points)
|
Constructor and Description |
---|
Tree(java.util.Collection<SWCPoint> nodes,
java.lang.String label)
Instantiates a Tree from a collection of reconstruction nodes.
|
Modifier and Type | Method and Description |
---|---|
static org.jgrapht.graph.DefaultDirectedGraph<SWCPoint,org.jgrapht.graph.DefaultWeightedEdge> |
GraphUtils.createGraph(java.util.Collection<SWCPoint> nodes,
boolean assignDistancesToWeights)
Creates a DirectedGraph from a collection of reconstruction nodes.
|
static org.jgrapht.graph.DefaultDirectedGraph<SWCPoint,org.jgrapht.graph.DefaultWeightedEdge> |
GraphUtils.createGraph(Tree tree)
Creates a DirectedGraph from a Tree.
|
Modifier and Type | Method and Description |
---|---|
static org.jgrapht.graph.DefaultDirectedGraph<SWCPoint,org.jgrapht.graph.DefaultWeightedEdge> |
GraphUtils.createGraph(java.util.Collection<SWCPoint> nodes,
boolean assignDistancesToWeights)
Creates a DirectedGraph from a collection of reconstruction nodes.
|
static Tree |
GraphUtils.createTree(org.jgrapht.graph.DefaultDirectedGraph<SWCPoint,?> graph)
Creates a
Tree from a graph. |
Modifier and Type | Method and Description |
---|---|
SWCPoint |
MouseLightQuerier.getSoma()
Retrieves the soma (single-point representation) of the loaded neuron.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.String,java.util.TreeSet<SWCPoint>> |
MouseLightLoader.extractNodes(java.io.File jsonFile,
java.lang.String compartment)
Extracts reconstruction(s) from a JSON file.
|
java.util.TreeSet<SWCPoint> |
MouseLightQuerier.getAxonNodes()
Extracts the nodes of the axonal arbor of loaded neuron.
|
java.util.TreeSet<SWCPoint> |
MouseLightQuerier.getDendriteNodes()
Extracts the nodes of the dendritic arbor of loaded neuron.
|
java.util.TreeSet<SWCPoint> |
MouseLightQuerier.getNodes()
Extracts the nodes (single-point soma, axonal and dendritic arbor) of the
loaded neuron.
|
java.util.TreeSet<SWCPoint> |
MouseLightLoader.getNodes()
Extracts the nodes (single-point soma, axonal and dendritic arbor) of the
loaded neuron.
|
java.util.TreeSet<SWCPoint> |
MouseLightQuerier.getNodes(java.lang.String compartment)
Script-friendly method to extract the nodes of a compartment.
|
java.util.TreeSet<SWCPoint> |
MouseLightLoader.getNodes(java.lang.String compartment)
Script-friendly method to extract the nodes of a cellular compartment.
|
Modifier and Type | Method and Description |
---|---|
SWCPoint |
SWCPoint.getPreviousPoint()
Returns the preceding node (if any)
|
Modifier and Type | Method and Description |
---|---|
java.util.List<SWCPoint> |
SWCPoint.getNextPoints()
Returns the list holding the subsequent nodes in the reconstructed structure
after this one.
|
Modifier and Type | Method and Description |
---|---|
int |
SWCPoint.compareTo(SWCPoint o) |
void |
SWCPoint.setPreviousPoint(SWCPoint previousPoint)
Sets the preceding node in the reconstruction
|
Modifier and Type | Method and Description |
---|---|
static java.io.StringReader |
SWCPoint.collectionAsReader(java.util.Collection<SWCPoint> points)
Converts a collection of SWC points into a Reader.
|
static void |
SWCPoint.flush(java.util.Collection<SWCPoint> points,
java.io.PrintWriter pw)
Prints a list of points as space-separated values.
|
void |
BoundingBox.inferSpacing(java.util.Collection<SWCPoint> points)
Infers the voxel spacing of this box from the inter-node distances of a
Collection of
SWCPoint s. |