39 unsigned int parent()
const;
58 const vector< unsigned int >&
children()
const;
99 const map< Id, unsigned int >& nodeMap,
100 const vector< NeuroNode >& nodes );
108 vector< NeuroNode >& nodes );
125 const vector< NeuroNode >& nodes );
140 vector< NeuroNode >& nodes,
unsigned int start );
146 vector< NeuroNode >& tree,
147 const vector< NeuroNode >& nodes,
148 vector< unsigned int >& seen
160 static void buildTree( vector< NeuroNode >& nodes,
161 vector< ObjId > elist );
163 vector< ObjId >& elist, vector< NeuroNode >& nodes,
164 vector< Id >& shaftId, vector< Id >& headId,
165 vector< unsigned int >& spineParent );
167 vector< NeuroNode >& nodes,
168 const unordered_map< Id, unsigned int >& dendMap );
185 vector< Id >& shaftId, vector< Id >& headId,
186 vector< unsigned int >& parent );
225 #endif // _NEURO_NODE_H
static void buildSpinyTree(vector< ObjId > &elist, vector< NeuroNode > &nodes, vector< Id > &shaftId, vector< Id > &headId, vector< unsigned int > &spineParent)
void setParent(unsigned int parent)
static void traverse(vector< NeuroNode > &nodes, unsigned int start)
static void filterSpines(vector< NeuroNode > &nodes, vector< Id > &shaftId, vector< Id > &headId, vector< unsigned int > &parent)
static void buildTree(vector< NeuroNode > &nodes, vector< ObjId > elist)
static unsigned int findStartNode(const vector< NeuroNode > &nodes)
unsigned int startFid() const
const vector< unsigned int > & children() const
void innerTraverse(vector< NeuroNode > &tree, const vector< NeuroNode > &nodes, vector< unsigned int > &seen) const
double calculateLength(const CylBase &parent)
Id elecCompt_
Id of electrical compartment in which this diffusive compt lives.
unsigned int parent() const
void findConnectedCompartments(const map< Id, unsigned int > &nodeMap, const vector< NeuroNode > &nodes)
void setStartFid(unsigned int f)
void setParentAndChildren(unsigned int index, int dendParent, vector< NeuroNode > &nodes, const unordered_map< Id, unsigned int > &dendMap)
static unsigned int removeDisconnectedNodes(vector< NeuroNode > &nodes)
vector< unsigned int > children_
void addChild(unsigned int child)