7 #include <morphio/types.h>
8 #include <morphio/vasc/iterators.hpp>
9 #include <morphio/vasc/properties.h>
12 namespace vasculature {
14 using graph_iterator = graph_iterator_t<Section, Vasculature>;
41 std::vector<Section>
sections()
const;
65 inline const Points&
points()
const noexcept;
70 inline const std::vector<morphio::floatType>&
diameters()
const noexcept;
75 inline const std::vector<property::SectionType::Type>&
sectionTypes()
const noexcept;
80 const std::vector<morphio::vasculature::property::Connection::Type>&
sectionConnectivity()
const
90 std::shared_ptr<property::Properties> properties_;
92 template <
typename Property>
93 inline const std::vector<typename Property::Type>& get()
const noexcept;
96 template <
typename Property>
97 inline const std::vector<typename Property::Type>& Vasculature::get() const noexcept {
98 return properties_->get<Property>();
102 return get<property::Point>();
106 return get<property::Diameter>();
110 return get<property::SectionType>();