11 #include <morphio/types.h>
12 #include <morphio/vasc/iterators.hpp>
13 #include <morphio/vasc/properties.h>
16 namespace vasculature {
18 using graph_iterator = graph_iterator_t<Section, Vasculature>;
45 std::vector<Section>
sections()
const;
69 inline const Points&
points()
const noexcept;
74 inline const std::vector<morphio::floatType>&
diameters()
const noexcept;
79 inline const std::vector<property::SectionType::Type>&
sectionTypes()
const noexcept;
84 const std::vector<morphio::vasculature::property::Connection::Type>&
sectionConnectivity()
const
94 std::shared_ptr<property::Properties> properties_;
96 template <
typename Property>
97 inline const std::vector<typename Property::Type>& get()
const noexcept;
100 template <
typename Property>
101 inline const std::vector<typename Property::Type>& Vasculature::get() const noexcept {
102 return properties_->get<Property>();
106 return get<property::Point>();
110 return get<property::Diameter>();
114 return get<property::SectionType>();