#include <section.h>
Mutable(editable) morphio::Section
◆ children()
const std::vector<std::shared_ptr<Section> >& morphio::mut::Section::children |
( |
| ) |
const |
Return a vector of children IDs
◆ diameters()
const std::vector< morphio::floatType > & morphio::mut::Section::diameters |
( |
| ) |
|
|
inlinenoexcept |
Return the diameters of all points of this section
◆ hasSameShape()
bool morphio::mut::Section::hasSameShape |
( |
const Section & |
other | ) |
const |
|
noexcept |
Return true if the both sections have the same points, diameters and perimeters
◆ id()
uint32_t morphio::mut::Section::id |
( |
| ) |
const |
|
inlinenoexcept |
◆ isHeterogeneous()
bool morphio::mut::Section::isHeterogeneous |
( |
bool |
downstream = true | ) |
const |
Return true if the sections of the tree downstream (downstream = true) or upstream (donwstream = false) have the same section type as the current section.
◆ isRoot()
bool morphio::mut::Section::isRoot |
( |
| ) |
const |
Return true if section is a root section
◆ parent()
const std::shared_ptr<Section>& morphio::mut::Section::parent |
( |
| ) |
const |
Get the parent ID
Note: Root sections return -1
◆ perimeters()
const std::vector< morphio::floatType > & morphio::mut::Section::perimeters |
( |
| ) |
|
|
inlinenoexcept |
Return the perimeters of all points of this section
◆ points()
const std::vector< Point > & morphio::mut::Section::points |
( |
| ) |
|
|
inlinenoexcept |
Return the coordinates (x,y,z) of all points of this section
◆ properties()
Return the PointLevel instance that contains this section's data
◆ type()
Return the morphological type of this section (dendrite, axon, ...)