Public Member Functions | Protected Member Functions | Protected Attributes
morphio::vasculature::Section Class Reference

#include <section.h>

Public Member Functions

 Section (const Section &section)=default
 
Sectionoperator= (const Section &section)
 
 Section (uint32_t id, const std::shared_ptr< property::Properties > &morphology)
 
bool operator== (const Section &section) const
 
bool operator!= (const Section &section) const
 
bool operator< (const Section &other) const
 
std::vector< Sectionpredecessors () const
 
std::vector< Sectionsuccessors () const
 
std::vector< Sectionneighbors () const
 
uint32_t id () const noexcept
 
floatType length () const
 
graph_iterator begin () const
 
graph_iterator end () const
 
range< const Point > points () const
 
range< const floatType > diameters () const
 
VascularSectionType type () const
 

Protected Member Functions

template<typename Property >
range< const typename Property::Type > get () const
 

Protected Attributes

uint32_t id_
 
SectionRange range_
 
std::shared_ptr< property::Propertiesproperties_
 

Detailed Description

Vasculature section

Member Function Documentation

◆ diameters()

range<const floatType> morphio::vasculature::Section::diameters ( ) const

◆ id()

uint32_t morphio::vasculature::Section::id ( ) const
noexcept

Return the ID of this section.

◆ length()

floatType morphio::vasculature::Section::length ( ) const

Euclidian distance between first and last point of the section

◆ neighbors()

std::vector<Section> morphio::vasculature::Section::neighbors ( ) const

Returns a list of all neighbors of the section

◆ points()

range<const Point> morphio::vasculature::Section::points ( ) const

◆ predecessors()

std::vector<Section> morphio::vasculature::Section::predecessors ( ) const

Returns a list of predecessors or parents of the section

◆ successors()

std::vector<Section> morphio::vasculature::Section::successors ( ) const

Returns a list of successors or children of the section

◆ type()

VascularSectionType morphio::vasculature::Section::type ( ) const

Return the morphological type of this section (artery, vein, capillary, ...)