nsol
0.4.1
Nsol - Neuroscience Objects Library
|
Public Member Functions | |
MorphologyPtr | loadMorphology (const std::vector< float > &points_, const std::vector< unsigned int > &segments_) |
Creates a generic morphology using a vector of points and segments. More... | |
Protected Member Functions | |
void | _groupSections (const SectionPtr section_, std::set< SectionPtr > &uniqueSections_) |
Definition at line 44 of file VectorsReader.h.
MorphologyPtr nsol::VectorsReaderTemplated< VECTORS_READER_TEMPLATE_CLASSES >::loadMorphology | ( | const std::vector< float > & | points_, |
const std::vector< unsigned int > & | segments_ | ||
) |
Creates a generic morphology using a vector of points and segments.
points_ | each point or node is represented by four floats (position {x,y,z} and radius). |
segments_ | each segment is represented by two unsigned integers (indices of the two nodes belonging to the segment). Indices must have values from 0 to (#points-1). |
Definition at line 76 of file VectorsReader.h.
References nsol::Section::addBackwardNode(), nsol::Section::addForwardNode(), nsol::Section::backwardNeighbors(), and nsol::Section::forwardNeighbors().