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