BioDynaMo
v1.05.120-25dc9790
neuroscience
new_agent_event
side_neurite_extension_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_SIDE_NEURITE_EXTENSION_EVENT_H_
16
#define NEUROSCIENCE_NEW_AGENT_EVENT_SIDE_NEURITE_EXTENSION_EVENT_H_
17
18
#include "
core/agent/new_agent_event.h
"
19
20
namespace
bdm
{
21
namespace
neuroscience {
22
27
struct
SideNeuriteExtensionEvent
:
public
NewAgentEvent
{
28
static
const
NewAgentEventUid
kUid
;
29
30
SideNeuriteExtensionEvent
(
real_t
length
,
real_t
diameter
,
31
const
Real3
direction
)
32
:
length
(
length
),
diameter
(
diameter
),
direction
(
direction
) {}
33
34
~SideNeuriteExtensionEvent
()
override
=
default
;
35
36
NewAgentEventUid
GetUid
()
const override
{
return
kUid
; }
37
39
real_t
length
;
41
real_t
diameter
;
43
Real3
direction
;
44
};
45
46
}
// namespace neuroscience
47
}
// namespace bdm
48
49
#endif // NEUROSCIENCE_NEW_AGENT_EVENT_SIDE_NEURITE_EXTENSION_EVENT_H_
bdm::NewAgentEvent
Definition:
new_agent_event.h:61
bdm::neuroscience::SideNeuriteExtensionEvent::SideNeuriteExtensionEvent
SideNeuriteExtensionEvent(real_t length, real_t diameter, const Real3 direction)
Definition:
side_neurite_extension_event.h:30
bdm::neuroscience::SideNeuriteExtensionEvent::length
real_t length
length of the new branch
Definition:
side_neurite_extension_event.h:39
bdm
Definition:
agent.cc:39
bdm::real_t
double real_t
Definition:
real_t.h:21
bdm::neuroscience::SideNeuriteExtensionEvent::direction
Real3 direction
direction of the new branch
Definition:
side_neurite_extension_event.h:43
new_agent_event.h
bdm::neuroscience::SideNeuriteExtensionEvent::diameter
real_t diameter
diameter of the new branch
Definition:
side_neurite_extension_event.h:41
bdm::NewAgentEventUid
uint64_t NewAgentEventUid
Definition:
new_agent_event.h:29
bdm::neuroscience::SideNeuriteExtensionEvent::GetUid
NewAgentEventUid GetUid() const override
Definition:
side_neurite_extension_event.h:36
bdm::neuroscience::SideNeuriteExtensionEvent
Contains the parameters to add a side neurite element.
Definition:
side_neurite_extension_event.h:27
bdm::neuroscience::SideNeuriteExtensionEvent::~SideNeuriteExtensionEvent
~SideNeuriteExtensionEvent() override=default
bdm::MathArray< real_t, 3 >
bdm::neuroscience::SideNeuriteExtensionEvent::kUid
static const NewAgentEventUid kUid
Definition:
side_neurite_extension_event.h:28
Generated by
1.8.17