#include <genesis/tree/drawing/layout_tree.hpp>
Inherits CommonEdgeData.
Data class for LayoutTreeEdges.
It is derived from tree::CommonEdgeData, so that it already contains a branch_length field.
Definition at line 163 of file layout_tree.hpp.
Public Member Functions | |
| LayoutEdgeData (LayoutEdgeData &&)=delete | |
| virtual | ~LayoutEdgeData () override=default |
| virtual std::unique_ptr< BaseEdgeData > | clone () const override |
| Polymorphically copy an instance of this class. Use instead of copy constructor. More... | |
| LayoutEdgeData & | operator= (LayoutEdgeData &&)=delete |
| virtual std::unique_ptr< BaseEdgeData > | recreate () const override |
| Polymorphically create a default-constructed instance of this class with the same derived type as it was called on. More... | |
Public Member Functions inherited from CommonEdgeData | |
| CommonEdgeData (CommonEdgeData &&)=delete | |
| virtual | ~CommonEdgeData () override=default |
| CommonEdgeData & | operator= (CommonEdgeData &&)=delete |
Public Member Functions inherited from BaseEdgeData | |
| BaseEdgeData (BaseEdgeData &&)=delete | |
| Deleted move constructor. More... | |
| virtual | ~BaseEdgeData ()=default |
| Virtual destructor. Needed for polymorphism. More... | |
| BaseEdgeData & | operator= (BaseEdgeData &&)=delete |
| Deleted move assignment. More... | |
Static Public Member Functions | |
| static std::unique_ptr< LayoutEdgeData > | create () |
Static Public Member Functions inherited from CommonEdgeData | |
| static std::unique_ptr< CommonEdgeData > | create () |
Static Public Member Functions inherited from BaseEdgeData | |
| static std::unique_ptr< BaseEdgeData > | create () |
| Create a new instance of this class. Use instead of default constructor. More... | |
Public Attributes | |
| utils::SvgStroke | distance_stroke |
| utils::SvgGroup | shape |
| utils::SvgStroke | spreading_stroke |
Public Attributes inherited from CommonEdgeData | |
| double | branch_length = 0.0 |
| Branch length of the edge. More... | |
Protected Member Functions | |
| LayoutEdgeData ()=default | |
| LayoutEdgeData (LayoutEdgeData const &)=default | |
| LayoutEdgeData & | operator= (LayoutEdgeData const &)=default |
Protected Member Functions inherited from CommonEdgeData | |
| CommonEdgeData ()=default | |
| CommonEdgeData (CommonEdgeData const &)=default | |
| CommonEdgeData & | operator= (CommonEdgeData const &)=default |
Protected Member Functions inherited from BaseEdgeData | |
| BaseEdgeData ()=default | |
| Protected default constructor. Called from the create() function. More... | |
| BaseEdgeData (BaseEdgeData const &)=default | |
| Protected copy constructor. Called from the clone() function. More... | |
| BaseEdgeData & | operator= (BaseEdgeData const &)=default |
| Protected copy assignment. Not used right now. More... | |
|
overridevirtualdefault |
|
delete |
|
protecteddefault |
|
protecteddefault |
|
inlineoverridevirtual |
Polymorphically copy an instance of this class. Use instead of copy constructor.
Reimplemented from CommonEdgeData.
Definition at line 197 of file layout_tree.hpp.
|
inlinestatic |
Definition at line 187 of file layout_tree.hpp.
|
delete |
|
protecteddefault |
|
inlineoverridevirtual |
Polymorphically create a default-constructed instance of this class with the same derived type as it was called on.
Reimplemented from CommonEdgeData.
Definition at line 192 of file layout_tree.hpp.
| utils::SvgStroke distance_stroke |
Definition at line 209 of file layout_tree.hpp.
| utils::SvgGroup shape |
Definition at line 211 of file layout_tree.hpp.
| utils::SvgStroke spreading_stroke |
Definition at line 208 of file layout_tree.hpp.