A toolkit for working with phylogenetic data.
v0.19.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
LayoutBase Class Referenceabstract

#include <genesis/tree/drawing/layout_base.hpp>

Inherited by CircularLayout, and RectangularLayout.

Detailed Description

Definition at line 63 of file layout_base.hpp.

Public Member Functions

 LayoutBase ()=default
 
 LayoutBase (Tree const &orig_tree, LayoutType const drawing_type=LayoutType::kCladogram, bool ladderize=true)
 
 LayoutBase (LayoutBase const &)=default
 
 LayoutBase (LayoutBase &&)=default
 
virtual ~LayoutBase ()=default
 
LayoutBaseoperator= (LayoutBase const &)=default
 
LayoutBaseoperator= (LayoutBase &&)=default
 
void set_edge_distance_strokes (utils::SvgStroke const &stroke)
 
void set_edge_distance_strokes (std::vector< utils::SvgStroke > const &strokes)
 
void set_edge_shapes (utils::SvgGroup const &shape)
 
void set_edge_shapes (std::vector< utils::SvgGroup > const &shapes)
 
void set_edge_spreading_strokes (utils::SvgStroke const &stroke)
 
void set_edge_spreading_strokes (std::vector< utils::SvgStroke > const &strokes)
 
void set_edge_strokes (utils::SvgStroke const &stroke)
 
void set_edge_strokes (std::vector< utils::SvgStroke > const &strokes)
 
void set_node_shapes (utils::SvgGroup const &shape)
 
void set_node_shapes (std::vector< utils::SvgGroup > const &shapes)
 
void text_template (utils::SvgText const &tt)
 
utils::SvgTexttext_template ()
 
utils::SvgText const & text_template () const
 
utils::SvgDocument to_svg_document () const
 
void tree (Tree const &orig_tree, bool ladderize=true)
 
Tree const & tree () const
 
void type (LayoutType const drawing_type)
 
LayoutType type () const
 

Protected Member Functions

virtual utils::SvgDocument to_svg_document_ () const =0
 
Treetree ()
 

Constructor & Destructor Documentation

LayoutBase ( )
default
LayoutBase ( Tree const &  orig_tree,
LayoutType const  drawing_type = LayoutType::kCladogram,
bool  ladderize = true 
)
inline

Definition at line 73 of file layout_base.hpp.

virtual ~LayoutBase ( )
virtualdefault
LayoutBase ( LayoutBase const &  )
default
LayoutBase ( LayoutBase &&  )
default

Member Function Documentation

LayoutBase& operator= ( LayoutBase const &  )
default
LayoutBase& operator= ( LayoutBase &&  )
default
void set_edge_distance_strokes ( utils::SvgStroke const &  stroke)

Definition at line 110 of file layout_base.cpp.

void set_edge_distance_strokes ( std::vector< utils::SvgStroke > const &  strokes)

Definition at line 117 of file layout_base.cpp.

void set_edge_shapes ( utils::SvgGroup const &  shape)

Definition at line 134 of file layout_base.cpp.

void set_edge_shapes ( std::vector< utils::SvgGroup > const &  shapes)

Definition at line 141 of file layout_base.cpp.

void set_edge_spreading_strokes ( utils::SvgStroke const &  stroke)

Definition at line 86 of file layout_base.cpp.

void set_edge_spreading_strokes ( std::vector< utils::SvgStroke > const &  strokes)

Definition at line 93 of file layout_base.cpp.

void set_edge_strokes ( utils::SvgStroke const &  stroke)

Definition at line 74 of file layout_base.cpp.

void set_edge_strokes ( std::vector< utils::SvgStroke > const &  strokes)

Definition at line 80 of file layout_base.cpp.

void set_node_shapes ( utils::SvgGroup const &  shape)

Definition at line 158 of file layout_base.cpp.

void set_node_shapes ( std::vector< utils::SvgGroup > const &  shapes)

Definition at line 165 of file layout_base.cpp.

void text_template ( utils::SvgText const &  tt)

Definition at line 344 of file layout_base.cpp.

utils::SvgText & text_template ( )

Definition at line 349 of file layout_base.cpp.

utils::SvgText const & text_template ( ) const

Definition at line 354 of file layout_base.cpp.

utils::SvgDocument to_svg_document ( ) const
inline

Definition at line 116 of file layout_base.hpp.

virtual utils::SvgDocument to_svg_document_ ( ) const
protectedpure virtual
void tree ( Tree const &  orig_tree,
bool  ladderize = true 
)

Definition at line 52 of file layout_base.cpp.

Tree const & tree ( ) const

Definition at line 69 of file layout_base.cpp.

Tree & tree ( )
protected

Definition at line 64 of file layout_base.cpp.

void type ( LayoutType const  drawing_type)

Definition at line 359 of file layout_base.cpp.

LayoutType type ( ) const

Definition at line 367 of file layout_base.cpp.


The documentation for this class was generated from the following files: