nsol  0.4.1
Nsol - Neuroscience Objects Library
nsol::SomaStats Class Reference
+ Inheritance diagram for nsol::SomaStats:
+ Collaboration diagram for nsol::SomaStats:

Public Types

enum  TSomaStat { SURFACE = 0, VOLUME, SOMA_NUM_STATS }
 

Public Member Functions

 SomaStats ()
 Default constructor.
 
virtual ~SomaStats ()
 Destructor.
 
virtual const SomaStatsstats (void) const
 
virtual float getStat (TSomaStat stat) const
 
- Public Member Functions inherited from nsol::Soma
 Soma (void)
 Default constructor.
 
virtual ~Soma (void)
 Destructor.
 
Vec3f center (void) const
 Method to get the center of the soma. More...
 
Nodesnodes (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 &center_)
 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 SomaPtr clone (void) const
 
bool operator== (Soma &other)
 
bool operator!= (Soma &other)
 

Additional Inherited Members

- Protected Attributes inherited from nsol::Soma
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.
 

Detailed Description

Definition at line 31 of file SomaStats.h.


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