nsol
0.4.1
Nsol - Neuroscience Objects Library
|
This class allows to compute stats for dendrites. More...
#include <DendriteCachedStats.h>
Public Member Functions | |
DendriteCachedStats (TDendriteType dendriteType_=BASAL) | |
virtual NeuriteStats * | stats (void) |
Returns object as NeuriteStats. More... | |
Public Member Functions inherited from nsol::DendriteStats | |
DendriteStats (TDendriteType dendriteType_=BASAL) | |
Public Member Functions inherited from nsol::Dendrite | |
Dendrite (TDendriteType dendriteType=BASAL) | |
TDendriteType & | dendriteType (void) |
Get the type of neurite. | |
virtual NeuritePtr | clone (void) const final |
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 |
Sections | sections (void) const |
void | computeBranchBifurcations (void) |
unsigned int | numBranches (void) |
unsigned int | numBifurcations (void) |
bool | operator== (Neurite &other) |
bool | operator!= (Neurite &other) |
Public Member Functions inherited from nsol::NeuriteStats | |
NeuriteStats (TNeuriteType neuriteType=DENDRITE) | |
Default constructor. | |
Public Member Functions inherited from nsol::NeuriteCachedStats | |
NeuriteCachedStats (TNeuriteType neuriteType=DENDRITE) | |
Default constructor. | |
virtual | ~NeuriteCachedStats (void) |
Default destructor. | |
virtual void | setAndPropagateDirty (unsigned int id) |
Set dirty a cached stat and propagates dirty to parent neurite. More... | |
virtual void | setAndPropagateDirty (void) |
Set dirty all cached stats and propagates dirty to parent neurite. | |
virtual void | firstSection (NeuronMorphologySectionPtr section) |
Set dirty all cached stats and propagates dirty to parent neurite. | |
virtual float | getStat (TNeuriteStat stat, TAggregation agg=TOTAL) const |
Returns the stat given if the cache is clean and if it is dirty then computes the stat and stores the value in the cache. More... | |
Public Member Functions inherited from nsol::Cached<> | |
bool | dirty (unsigned int id_) const |
void | setDirty (unsigned int id_) |
void | setDirty (void) |
void | cacheValue (const unsigned int id_, floatvalue_) const |
float | getValue (const unsigned int id_) const |
Additional Inherited Members | |
Public Types inherited from nsol::Dendrite | |
enum | TDendriteType { BASAL = 0, APICAL } |
Type of dendrite. | |
typedef enum nsol::Dendrite::TDendriteType | TDendriteType |
Type of dendrite. | |
Public Types inherited from nsol::Neurite | |
enum | TNeuriteType { DENDRITE = 0, AXON } |
Possible types of neurite. | |
Public Types inherited from nsol::NeuriteStats | |
enum | TNeuriteStat { SURFACE = 0, VOLUME, LENGTH, BIFURCATIONS, NEURITE_NUM_STATS } |
Enumeration of the stats that can be computed for Neurite. | |
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::Dendrite | |
TDendriteType | _dendriteType |
Type of dendrite. | |
Protected Attributes inherited from nsol::Neurite | |
TNeuriteType | _neuriteType |
NeuronMorphologySectionPtr | _firstSection |
NeuronMorphologyPtr | _morphology |
unsigned int | _numBranches |
unsigned int | _numBifurcations |
Protected Attributes inherited from nsol::Cached<> | |
std::map< unsigned int, float > | _values |
Container of the cached values. Is mutable to allow const methods to modify the cache if needed. | |
This class allows to compute stats for dendrites.
Using this class instead of Dendrite when constructing the hierarchy allows to call the method stats from base Dendrite class and get the corresponding volume, surface and length.
Example:
Definition at line 40 of file DendriteCachedStats.h.
|
inlinevirtual |
Returns object as NeuriteStats.
Reimplemented from nsol::NeuriteStats.
Definition at line 51 of file DendriteCachedStats.h.