A toolkit for working with phylogenetic data.
v0.18.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RectangularLayout Class Reference

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

Inherits LayoutBase.

Detailed Description

Definition at line 48 of file rectangular_layout.hpp.

Public Member Functions

 RectangularLayout ()=default
 
 RectangularLayout (Tree const &orig_tree, Type const drawing_type=Type::kPhylogram)
 
 RectangularLayout (RectangularLayout const &)=default
 
 RectangularLayout (RectangularLayout &&)=default
 
virtual ~RectangularLayout ()=default
 
RectangularLayoutoperator= (RectangularLayout const &)=default
 
RectangularLayoutoperator= (RectangularLayout &&)=default
 
RectangularLayoutscaler_x (double const sx)
 
double scaler_x () const
 
RectangularLayoutscaler_y (double const sy)
 
double scaler_y () const
 
- Public Member Functions inherited from LayoutBase
 LayoutBase ()=default
 
 LayoutBase (Type const drawing_type)
 
 LayoutBase (LayoutBase const &)=default
 
 LayoutBase (LayoutBase &&)=default
 
virtual ~LayoutBase ()=default
 
LayoutBaseoperator= (LayoutBase const &)=default
 
LayoutBaseoperator= (LayoutBase &&)=default
 
void set_edge_strokes (std::vector< utils::SvgStroke > const &strokes)
 
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)
 
Tree const & tree () const
 
void type (Type const drawing_type)
 
Type type () const
 

Additional Inherited Members

- Public Types inherited from LayoutBase
enum  Type { kPhylogram, kCladogram }
 
- Protected Member Functions inherited from LayoutBase
Treetree ()
 

Constructor & Destructor Documentation

RectangularLayout ( )
default
RectangularLayout ( Tree const &  orig_tree,
Type const  drawing_type = Type::kPhylogram 
)

Definition at line 55 of file rectangular_layout.cpp.

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

Member Function Documentation

RectangularLayout& operator= ( RectangularLayout const &  )
default
RectangularLayout& operator= ( RectangularLayout &&  )
default
RectangularLayout & scaler_x ( double const  sx)

Definition at line 66 of file rectangular_layout.cpp.

double scaler_x ( ) const

Definition at line 72 of file rectangular_layout.cpp.

RectangularLayout & scaler_y ( double const  sy)

Definition at line 77 of file rectangular_layout.cpp.

double scaler_y ( ) const

Definition at line 83 of file rectangular_layout.cpp.


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