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