#include <mito_section.h>
Public Member Functions | |
MitoSection (Mitochondria *mitochondria, unsigned int id, const Property::MitochondriaPointLevel &pointProperties) | |
MitoSection (Mitochondria *mitochondria, unsigned int id, const morphio::MitoSection §ion) | |
MitoSection (Mitochondria *mitochondria, unsigned int id, const MitoSection §ion) | |
std::shared_ptr< MitoSection > | appendSection (const Property::MitochondriaPointLevel &points) |
Append a MitoSection. | |
std::shared_ptr< MitoSection > | appendSection (const std::shared_ptr< MitoSection > &original_section, bool recursive) |
std::shared_ptr< MitoSection > | appendSection (const morphio::MitoSection §ion, bool recursive) |
std::shared_ptr< MitoSection > | parent () const |
Get the Section parent. | |
bool | isRoot () const |
Return true if section is a root section. | |
const std::vector< std::shared_ptr< MitoSection > > & | children () const |
Get the Section children. | |
bool | hasSameShape (const MitoSection &other) const noexcept |
Return true if the both sections have the same neuriteSectionIds, diameters and pathLengths. | |
uint32_t | id () const noexcept |
Return the section id. | |
const std::vector< morphio::floatType > & | diameters () const noexcept |
std::vector< morphio::floatType > & | diameters () noexcept |
const std::vector< uint32_t > & | neuriteSectionIds () const noexcept |
std::vector< uint32_t > & | neuriteSectionIds () noexcept |
const std::vector< morphio::floatType > & | pathLengths () const noexcept |
std::vector< morphio::floatType > & | pathLengths () noexcept |
Public Attributes | |
Property::MitochondriaPointLevel | _mitoPoints |
Mutable(editable) morphio::MitoSection
std::shared_ptr<MitoSection> morphio::mut::MitoSection::appendSection | ( | const morphio::MitoSection & | section, |
bool | recursive | ||
) |
Append a MitoSection
If recursive == true, all descendent mito sections will be appended as well
std::shared_ptr<MitoSection> morphio::mut::MitoSection::appendSection | ( | const std::shared_ptr< MitoSection > & | original_section, |
bool | recursive | ||
) |
Append a MitoSection
If recursive == true, all descendent mito sections will be appended as well
|
inlinenoexcept |
Return the diameters of all points of this section
|
inlinenoexcept |
Return the neurite section Ids of all points of this section
|
inlinenoexcept |
Return the relative distance (between 0 and 1) between the start of the neuronal section and each point of this mitochondrial section