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