nsol
0.4.1
Nsol - Neuroscience Objects Library
|
This class allows to compute stats for neurites. More...
#include <NeuriteStats.h>
Public Types | |
enum | TNeuriteStat { SURFACE = 0, VOLUME, LENGTH, BIFURCATIONS, NEURITE_NUM_STATS } |
Enumeration of the stats that can be computed for Neurite. | |
Public Types inherited from nsol::Neurite | |
enum | TNeuriteType { DENDRITE = 0, AXON } |
Possible types of neurite. | |
Public Member Functions | |
NeuriteStats (TNeuriteType neuriteType=DENDRITE) | |
Default constructor. | |
virtual NeuriteStats * | stats (void) |
Returns object as NeuriteStats. More... | |
virtual float | getStat (TNeuriteStat stat, TAggregation agg=TOTAL) const |
Computes the stat given. More... | |
Public Member Functions inherited from nsol::Neurite | |
Neurite (TNeuriteType neuriteType=DENDRITE) | |
Default constructor. | |
TNeuriteType & | neuriteType (void) |
Get the type of neurite. | |
NeuronMorphologyPtr | morphology (void) const |
NeuronMorphologyPtr | morphology (NeuronMorphologyPtr morphology) |
bool | hasMorphology (void) const |
NeuronMorphologySectionPtr | firstSection (void) const |
virtual void | firstSection (NeuronMorphologySectionPtr section) |
Sections | sections (void) const |
void | computeBranchBifurcations (void) |
unsigned int | numBranches (void) |
unsigned int | numBifurcations (void) |
virtual NeuritePtr | clone (void) const |
bool | operator== (Neurite &other) |
bool | operator!= (Neurite &other) |
Additional Inherited Members | |
Protected Member Functions inherited from nsol::Neurite | |
void | _addBifurcationCount (unsigned int numBifurcations) |
void | _addBranchCount (unsigned int numBranches) |
void | _clone (NeuritePtr neurite) const |
Protected Attributes inherited from nsol::Neurite | |
TNeuriteType | _neuriteType |
NeuronMorphologySectionPtr | _firstSection |
NeuronMorphologyPtr | _morphology |
unsigned int | _numBranches |
unsigned int | _numBifurcations |
This class allows to compute stats for neurites.
Using this class instead of Neurite when constructing the hierarchy allows to call the method stats from base Neurite class and get the corresponding volume, surface and length.
Example:
Definition at line 39 of file NeuriteStats.h.
|
virtual |
Computes the stat given.
stat | stat to compute |
agg | aggregation used |
Reimplemented in nsol::NeuriteCachedStats.
Referenced by nsol::NeuriteCachedStats::getStat(), and stats().
|
inlinevirtual |
Returns object as NeuriteStats.
Reimplemented from nsol::Neurite.
Reimplemented in nsol::DendriteCachedStats.
Definition at line 67 of file NeuriteStats.h.
References getStat().