nsol
0.4.1
Nsol - Neuroscience Objects Library
|
Class to represent the soma of neurons. More...
#include <Soma.h>
Public Member Functions | |
Soma (void) | |
Default constructor. | |
virtual | ~Soma (void) |
Destructor. | |
Vec3f | center (void) const |
Method to get the center of the soma. More... | |
Nodes & | nodes (void) |
Method to get the container of nodes. More... | |
const float & | maxRadius (void) const |
Method to get the max radius of the soma. More... | |
const float & | minRadius (void) const |
Method to get the min radius of the soma. More... | |
const float & | meanRadius (void) const |
Method to get the mean radius of the soma. More... | |
void | center (const Vec3f ¢er_) |
Method to set the center of the soma. More... | |
void | addNode (NodePtr node) |
Method to add a node to the soma. More... | |
void | computeParams (void) |
Method to force the compute of the soma parameters (center and radii) | |
virtual const SomaStats * | stats (void) const |
virtual SomaPtr | clone (void) const |
bool | operator== (Soma &other) |
bool | operator!= (Soma &other) |
Protected Attributes | |
Vec3f | _center |
Center of the soma. | |
Nodes | _nodes |
Container of nodes of the soma. | |
float | _maxRadius |
Maximum radius of the soma. | |
float | _minRadius |
Minimum radius of the soma. | |
float | _meanRadius |
Mean radius of the soma. | |
Class to represent the soma of neurons.
This class represents the soma and holds a container of the nodes that have been traced of its contour
void nsol::Soma::addNode | ( | NodePtr | node | ) |
Method to add a node to the soma.
node | pointer to the node to add |
Referenced by nsol::AscReaderTemplated< ASC_READER_TEMPLATE_CLASSES >::_ReadSoma(), and nsol::SwcReaderTemplated< SWC_READER_TEMPLATE_CLASSES >::readMorphology().
Vec3f nsol::Soma::center | ( | void | ) | const |
Method to get the center of the soma.
Referenced by nsol::AscReaderTemplated< ASC_READER_TEMPLATE_CLASSES >::readMorphology(), and nsol::SwcReaderTemplated< SWC_READER_TEMPLATE_CLASSES >::readMorphology().
void nsol::Soma::center | ( | const Vec3f & | center_ | ) |
Method to set the center of the soma.
center_ | New center of the soma |
const float& nsol::Soma::maxRadius | ( | void | ) | const |
Method to get the max radius of the soma.
const float& nsol::Soma::meanRadius | ( | void | ) | const |
Method to get the mean radius of the soma.
const float& nsol::Soma::minRadius | ( | void | ) | const |
Method to get the min radius of the soma.
Nodes& nsol::Soma::nodes | ( | void | ) |
Method to get the container of nodes.