#include <section.h>
Public Member Functions | |
uint32_t | id () const noexcept |
const std::shared_ptr< Section > & | parent () const |
bool | isRoot () const |
const std::vector< std::shared_ptr< Section > > & | children () const |
depth_iterator | depth_begin () const |
depth_iterator | depth_end () const |
breadth_iterator | breadth_begin () const |
breadth_iterator | breadth_end () const |
upstream_iterator | upstream_begin () const |
upstream_iterator | upstream_end () const |
std::shared_ptr< Section > | appendSection (const morphio::Section &, bool recursive=false) |
std::shared_ptr< Section > | appendSection (std::shared_ptr< Section > original_section, bool recursive=false) |
std::shared_ptr< Section > | appendSection (const Property::PointLevel &, SectionType sectionType=SectionType::SECTION_UNDEFINED) |
SectionType & | type () noexcept |
const SectionType & | type () const noexcept |
std::vector< Point > & | points () noexcept |
const std::vector< Point > & | points () const noexcept |
std::vector< morphio::floatType > & | diameters () noexcept |
const std::vector< morphio::floatType > & | diameters () const noexcept |
std::vector< morphio::floatType > & | perimeters () noexcept |
const std::vector< morphio::floatType > & | perimeters () const noexcept |
Property::PointLevel & | properties () noexcept |
const Property::PointLevel & | properties () const noexcept |
Friends | |
class | Morphology |
Mutable(editable) morphio::Section
const std::vector<std::shared_ptr<Section> >& morphio::mut::Section::children | ( | ) | const |
Return a vector of children IDs
|
inlinenoexcept |
Return the diameters of all points of this section
|
inlinenoexcept |
Return the section ID
bool morphio::mut::Section::isRoot | ( | ) | const |
Return true if section is a root section
const std::shared_ptr<Section>& morphio::mut::Section::parent | ( | ) | const |
Get the parent ID
Note: Root sections return -1
|
inlinenoexcept |
Return the perimeters of all points of this section
|
inlinenoexcept |
Return the coordinates (x,y,z) of all points of this section
|
inlinenoexcept |
Return the PointLevel instance that contains this section's data
|
inlinenoexcept |
Return the morphological type of this section (dendrite, axon, ...)