5#ifndef BPP_PHYL_GRAPHICS_CLADOGRAMPLOT_H
6#define BPP_PHYL_GRAPHICS_CLADOGRAMPLOT_H
51 std::string
getName()
const override {
return "Cladogram"; }
Basic implementation of dendrogram plots.
const Tree & tree() const override
std::unique_ptr< TreeTemplate< INode > > tree_
bool hasTree() const override
CladogramDrawBranchEvent(const TreeDrawing *source, GraphicDevice *gd, const INode *node, double length_, const Cursor &cursor, short orientation)
Cursor getBranchCursor(double position) const
Cladogram representation of trees.
void recursivePlot_(GraphicDevice &gDevice, INode &node, double x, double &y, double hDirection, double vDirection, unsigned int &tipCounter) const
void treeHasChanged() override
Method to implement to deal with redrawing when the underlying tree has been modified.
std::string getName() const override
double getWidth() const override
double getHeight() const override
CladogramPlot * clone() const override
void drawDendrogram_(GraphicDevice &gDevice) const override
void setTree(const Tree &tree) override
Data structure describing a plotting direction.
Event class that uses INode object (more efficient than relying on nodes id, but less generic).
Basal interface for tree drawing classes.
Interface for phylogenetic tree objects.
Defines the basic types of data flow nodes.