A toolkit for working with phylogenetic data.
v0.24.0
CircularLayout Class Reference

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

Inherits LayoutBase.

Detailed Description

Definition at line 47 of file circular_layout.hpp.

Public Member Functions

 CircularLayout ()=default
 
 CircularLayout (Tree const &orig_tree, LayoutType const drawing_type=LayoutType::kCladogram, bool ladderize=true)
 
 CircularLayout (CircularLayout const &)=default
 
 CircularLayout (CircularLayout &&)=default
 
virtual ~CircularLayout () override=default
 
CircularLayoutoperator= (CircularLayout const &)=default
 
CircularLayoutoperator= (CircularLayout &&)=default
 
CircularLayoutradius (double const value)
 
double radius () const
 
- Public Member Functions inherited from LayoutBase
 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
 
void align_labels (bool value)
 Align the taxon labels/node names/texts to each other. More...
 
bool align_labels () const
 
void extra_spacer (double value)
 Set some extra space betwen the tree nodes and their labels when align_labels() is set to true. More...
 
double extra_spacer () const
 
void inner_node_spreading (LayoutSpreading value)
 
LayoutSpreading inner_node_spreading () const
 
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_label_spacer_strokes (utils::SvgStroke const &stroke, LayoutSpreading spreading=LayoutSpreading::kLeafNodesOnly)
 
void set_label_spacer_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
 

Additional Inherited Members

- Protected Member Functions inherited from LayoutBase
Treetree ()
 

Constructor & Destructor Documentation

◆ CircularLayout() [1/4]

CircularLayout ( )
default

◆ CircularLayout() [2/4]

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

Definition at line 56 of file circular_layout.hpp.

◆ ~CircularLayout()

virtual ~CircularLayout ( )
overridevirtualdefault

◆ CircularLayout() [3/4]

CircularLayout ( CircularLayout const &  )
default

◆ CircularLayout() [4/4]

CircularLayout ( CircularLayout &&  )
default

Member Function Documentation

◆ operator=() [1/2]

CircularLayout& operator= ( CircularLayout const &  )
default

◆ operator=() [2/2]

CircularLayout& operator= ( CircularLayout &&  )
default

◆ radius() [1/2]

CircularLayout & radius ( double const  value)

Definition at line 50 of file circular_layout.cpp.

◆ radius() [2/2]

double radius ( ) const

Definition at line 56 of file circular_layout.cpp.


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