Public Member Functions | Friends
morphio::mut::Soma Class Reference

#include <soma.h>

Public Member Functions

 Soma (const Soma &soma)=default
 
 Soma (const Property::PointLevel &pointProperties)
 
 Soma (const morphio::Soma &soma)
 
std::vector< morphio::floatType > & diameters () noexcept
 
const std::vector< morphio::floatType > & diameters () const noexcept
 
SomaType type () const noexcept
 
Point center () const
 
floatType surface () const
 
floatType maxDistance () const
 
Property::PointLevelproperties () noexcept
 
const Property::PointLevelproperties () const noexcept
 
std::vector< Point > & points () noexcept
 
const std::vector< Point > & points () const noexcept
 

Friends

class Morphology
 

Detailed Description

Mutable(editable) morphio::Soma

Member Function Documentation

◆ center()

Point morphio::mut::Soma::center ( ) const

Return the center of gravity of the soma points

◆ diameters()

const std::vector< morphio::floatType > & morphio::mut::Soma::diameters ( )
inlinenoexcept

Return the diameters of all soma points

◆ maxDistance()

floatType morphio::mut::Soma::maxDistance ( ) const

Return the maximum distance between the center of gravity and any of the soma points

◆ points()

const std::vector< Point > & morphio::mut::Soma::points ( )
inlinenoexcept

Return the coordinates (x,y,z) of all soma point

◆ surface()

floatType morphio::mut::Soma::surface ( ) const

Return the soma surface Note: the soma surface computation depends on the soma type

◆ type()

SomaType morphio::mut::Soma::type ( ) const
inlinenoexcept

Return the soma type