BioDynaMo
v1.05.120-25dc9790
|
Go to the documentation of this file.
15 #ifndef NEUROSCIENCE_NEURON_SOMA_H_
16 #define NEUROSCIENCE_NEURON_SOMA_H_
18 #include <unordered_map>
26 namespace neuroscience {
96 const std::vector<AgentPointer<NeuriteElement>>&
GetDaughters()
const;
120 void PrintSWC(std::ostream& out)
const;
134 #endif // NEUROSCIENCE_NEURON_SOMA_H_
Spinlock * GetLock() override
std::unordered_map< AgentUid, Real3 > daughters_coord_
void Update(const NewAgentEvent &event) override
This method is used to update attributes after a cell division. or new neurite branching event.
void Initialize(const NewAgentEvent &event) override
This method is used to initialise the values of daughter 2 for a cell division event.
BDM_AGENT_HEADER(NeuronSoma, Cell, 1)
NeuronSoma(const NeuronSoma &other)
void PrintSWC(std::ostream &out) const
Exports the soma and the attached neurite elements to the SWC file format.
void UpdateDependentPhysicalVariables() override
std::vector< AgentPointer< NeuriteElement > > daughters_
void CriticalRegion(std::vector< AgentPointer<>> *aptrs) override
void UpdateRelative(const NeuronOrNeurite &old_rel, const NeuronOrNeurite &new_rel) override
const AgentUid & GetUid() const override
const std::vector< AgentPointer< NeuriteElement > > & GetDaughters() const
Real3 OriginOf(const AgentUid &daughter_uid) const override
void RemoveDaughter(const AgentPointer< NeuriteElement > &daughter) override
NeuriteElement * ExtendNewNeurite(const Real3 &direction, NeuriteElement *prototype=nullptr)
Extend a new neurite from this soma.