BioDynaMo  v1.05.159-3be850bb
neurite_bifurcation_event.h
Go to the documentation of this file.
1 // -----------------------------------------------------------------------------
2 //
3 // Copyright (C) 2021 CERN & University of Surrey for the benefit of the
4 // BioDynaMo collaboration. All Rights Reserved.
5 //
6 // Licensed under the Apache License, Version 2.0 (the "License");
7 // you may not use this file except in compliance with the License.
8 //
9 // See the LICENSE file distributed with this work for details.
10 // See the NOTICE file distributed with this work for additional information
11 // regarding copyright ownership.
12 //
13 // -----------------------------------------------------------------------------
14 
15 #ifndef NEUROSCIENCE_NEW_AGENT_EVENT_NEURITE_BIFURCATION_EVENT_H_
16 #define NEUROSCIENCE_NEW_AGENT_EVENT_NEURITE_BIFURCATION_EVENT_H_
17 
18 #include <array>
19 
22 
23 namespace bdm {
24 namespace neuroscience {
25 
33  static const NewAgentEventUid kUid;
34 
36  const Real3& direction_l, const Real3& direction_r)
37  : length(length),
38  diameter_left(diameter_l),
39  diameter_right(diameter_r),
40  direction_left(direction_l),
41  direction_right(direction_r) {}
42 
43  ~NeuriteBifurcationEvent() override = default;
44 
45  NewAgentEventUid GetUid() const override { return kUid; }
46 
59 };
60 
61 } // namespace neuroscience
62 } // namespace bdm
63 
64 #endif // NEUROSCIENCE_NEW_AGENT_EVENT_NEURITE_BIFURCATION_EVENT_H_
Definition: agent.cc:39
uint64_t NewAgentEventUid
double real_t
Definition: real_t.h:21
Contains the parameters to bifurcate a growth cone.
NeuriteBifurcationEvent(real_t length, real_t diameter_l, real_t diameter_r, const Real3 &direction_l, const Real3 &direction_r)
real_t diameter_right
diameter of new branch right
real_t diameter_left
diameter of new branch left