mitochondria.h
1 /* Copyright (c) 2013-2023, EPFL/Blue Brain Project
2  *
3  * SPDX-License-Identifier: Apache-2.0
4  */
5 #pragma once
6 
7 #include <memory>
8 #include <vector>
9 
10 #include <morphio/morphology.h> // Morphology
11 #include <morphio/properties.h> // Property
12 
13 namespace morphio {
23 {
24  public:
26  MitoSection section(uint32_t id) const;
27 
29  std::vector<MitoSection> rootSections() const;
30 
36  std::vector<MitoSection> sections() const;
37 
38  private:
39  explicit Mitochondria(const std::shared_ptr<Property::Properties>& properties)
40  : properties_(properties) {}
41  std::shared_ptr<Property::Properties> properties_;
42 
43  friend class Morphology;
44 };
45 } // namespace morphio
morphio::MitoSection
Definition: mito_section.h:21
morphio::Mitochondria::section
MitoSection section(uint32_t id) const
Return the Section with the given id.
morphio::Morphology
Definition: morphology.h:26
morphio::Mitochondria::sections
std::vector< MitoSection > sections() const
morphio::Mitochondria::rootSections
std::vector< MitoSection > rootSections() const
Return a vector of all root sections.
morphio::Mitochondria
Definition: mitochondria.h:22