#include <Spine.h>
Public Member Functions | |
Spine () | |
Spine (const Neuron *parent) | |
Id | getShaft (const Eref &e) const |
Id | getHead (const Eref &e) const |
void | setShaftLength (const Eref &e, double len) |
double | getShaftLength (const Eref &e) const |
void | setShaftDiameter (const Eref &e, double dia) |
double | getShaftDiameter (const Eref &e) const |
void | setHeadLength (const Eref &e, double len) |
double | getHeadLength (const Eref &e) const |
void | setHeadDiameter (const Eref &e, double dia) |
double | getHeadDiameter (const Eref &e) const |
void | setTotalLength (const Eref &e, double len) |
double | getTotalLength (const Eref &e) const |
void | setAngle (const Eref &e, double theta) |
double | getAngle (const Eref &e) const |
void | setInclination (const Eref &e, double phi) |
double | getInclination (const Eref &e) const |
Static Public Member Functions | |
static const Cinfo * | initCinfo () |
The Spine is a dendritic spine, typically with 2 compartments, the shaft and the head. It is a FieldElement, so it gets all its values from the parent Neuron. Later we can put in a maturation profile, so that a linear number from 0 to 1 will define all the stages of spine growth from stub to filopodium to mature spine.
Spine::Spine | ( | ) |
Spine::Spine | ( | const Neuron * | parent | ) |
double Spine::getAngle | ( | const Eref & | e | ) | const |
Referenced by initCinfo().
double Spine::getHeadDiameter | ( | const Eref & | e | ) | const |
References Eref::fieldIndex(), and Neuron::spineIds().
Referenced by initCinfo().
double Spine::getHeadLength | ( | const Eref & | e | ) | const |
References Eref::fieldIndex(), and Neuron::spineIds().
Referenced by getTotalLength(), initCinfo(), and setTotalLength().
double Spine::getInclination | ( | const Eref & | e | ) | const |
Referenced by initCinfo().
double Spine::getShaftDiameter | ( | const Eref & | e | ) | const |
References Eref::fieldIndex(), and Neuron::spineIds().
Referenced by initCinfo().
double Spine::getShaftLength | ( | const Eref & | e | ) | const |
References Eref::fieldIndex(), and Neuron::spineIds().
Referenced by getTotalLength(), initCinfo(), and setTotalLength().
double Spine::getTotalLength | ( | const Eref & | e | ) | const |
References getHeadLength(), and getShaftLength().
Referenced by initCinfo().
const Cinfo * Spine::initCinfo | ( | ) | [static] |
References getAngle(), getHeadDiameter(), getHeadLength(), getInclination(), getShaftDiameter(), getShaftLength(), getTotalLength(), Neutral::initCinfo(), setAngle(), setHeadDiameter(), setHeadLength(), setInclination(), setShaftDiameter(), setShaftLength(), and setTotalLength().
Referenced by Neuron::initCinfo().
void Spine::setAngle | ( | const Eref & | e, | |
double | theta | |||
) |
Referenced by initCinfo().
void Spine::setHeadDiameter | ( | const Eref & | e, | |
double | dia | |||
) |
References Eref::fieldIndex(), Neuron::scaleBufAndRates(), Neuron::scaleHeadDiffusion(), and Neuron::spineIds().
Referenced by initCinfo().
void Spine::setHeadLength | ( | const Eref & | e, | |
double | len | |||
) |
References Eref::fieldIndex(), Neuron::scaleBufAndRates(), Neuron::scaleHeadDiffusion(), and Neuron::spineIds().
Referenced by initCinfo(), and setTotalLength().
void Spine::setInclination | ( | const Eref & | e, | |
double | phi | |||
) |
Referenced by initCinfo().
void Spine::setShaftDiameter | ( | const Eref & | e, | |
double | dia | |||
) |
References Eref::fieldIndex(), Neuron::scaleShaftDiffusion(), and Neuron::spineIds().
Referenced by initCinfo().
void Spine::setShaftLength | ( | const Eref & | e, | |
double | len | |||
) |
References Eref::fieldIndex(), Neuron::scaleShaftDiffusion(), and Neuron::spineIds().
Referenced by initCinfo(), and setTotalLength().
void Spine::setTotalLength | ( | const Eref & | e, | |
double | len | |||
) |
References getHeadLength(), getShaftLength(), setHeadLength(), and setShaftLength().
Referenced by initCinfo().