ReadSwc Class Reference

#include <ReadSwc.h>

List of all members.

Public Member Functions

 ReadSwc (const string &fname)
bool validate () const
void assignKids ()
void cleanZeroLength ()
void parseBranches ()
void traverseBranch (const SwcSegment &s, double &len, double &L, vector< int > &cable) const
bool build (Id parent, double lambda, double RM, double RA, double CM)
void diagnostics () const

Detailed Description

This class is used to read in SWC files as found in NeuroMorph.org and other places. Note that these are only passive models at this stage.


Constructor & Destructor Documentation

ReadSwc::ReadSwc ( const string &  fname  ) 

Each line is of the form n T x y z R P


Member Function Documentation

void ReadSwc::assignKids (  ) 

References SwcSegment::myIndex(), and SwcSegment::parent().

Here is the call graph for this function:

bool ReadSwc::build ( Id  parent,
double  lambda,
double  RM,
double  RA,
double  CM 
)

References Shell::doAddMsg(), makeCompt(), SwcSegment::myIndex(), SwcSegment::parent(), and SwcBranch::segs_.

Here is the call graph for this function:

void ReadSwc::cleanZeroLength (  ) 
void ReadSwc::diagnostics (  )  const

References SwcSegment::type(), and SwcSegment::typeName.

Here is the call graph for this function:

void ReadSwc::parseBranches (  ) 

References SwcSegment::kids(), SwcSegment::OK(), and traverseBranch().

Here is the call graph for this function:

void ReadSwc::traverseBranch ( const SwcSegment s,
double &  len,
double &  L,
vector< int > &  cable 
) const

Referenced by parseBranches().

bool ReadSwc::validate (  )  const

References SwcSegment::myIndex(), SwcSegment::parent(), and SwcSegment::radius().

Here is the call graph for this function:


The documentation for this class was generated from the following files:

Generated on 1 Jul 2015 for MOOSE by  doxygen 1.6.1