A toolkit for working with phylogenetic data.
v0.20.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 47 of file rectangular_layout.hpp.

Public Member Functions

 RectangularLayout ()=default
 
 RectangularLayout (Tree const &orig_tree, LayoutType const drawing_type=LayoutType::kCladogram, bool ladderize=true)
 
 RectangularLayout (RectangularLayout const &)=default
 
 RectangularLayout (RectangularLayout &&)=default
 
virtual ~RectangularLayout ()=default
 
RectangularLayoutheight (double const value)
 
double height () const
 
RectangularLayoutoperator= (RectangularLayout const &)=default
 
RectangularLayoutoperator= (RectangularLayout &&)=default
 
RectangularLayoutwidth (double const value)
 
double width () 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
 
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
 

Additional Inherited Members

- Protected Member Functions inherited from LayoutBase
Treetree ()
 

Constructor & Destructor Documentation

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

Definition at line 56 of file rectangular_layout.hpp.

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

Member Function Documentation

RectangularLayout & height ( double const  value)

Definition at line 58 of file rectangular_layout.cpp.

double height ( ) const

Definition at line 64 of file rectangular_layout.cpp.

RectangularLayout& operator= ( RectangularLayout const &  )
default
RectangularLayout& operator= ( RectangularLayout &&  )
default
RectangularLayout & width ( double const  value)

Definition at line 47 of file rectangular_layout.cpp.

double width ( ) const

Definition at line 53 of file rectangular_layout.cpp.


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