bpp-phyl
2.2.0
|
#include <Bpp/Phyl/Graphics/PhylogramPlot.h>
Public Member Functions | |
PhylogramDrawBranchEvent (const TreeDrawing *source, GraphicDevice *gd, const INode *node, const Cursor &cursor, short orientation) | |
Cursor | getBranchCursor (double position) const |
const INode * | getINode () const |
virtual const TreeDrawing * | getTreeDrawing () const |
virtual GraphicDevice * | getGraphicDevice () const |
virtual int | getNodeId () const |
virtual const Cursor & | getCursor () const |
Private Attributes | |
double | orientation_ |
Definition at line 48 of file PhylogramPlot.h.
PhylogramDrawBranchEvent::PhylogramDrawBranchEvent | ( | const TreeDrawing * | source, |
GraphicDevice * | gd, | ||
const INode * | node, | ||
const Cursor & | cursor, | ||
short | orientation | ||
) |
Definition at line 49 of file PhylogramPlot.cpp.
References orientation_, and bpp::AbstractDendrogramPlot::ORIENTATION_LEFT_TO_RIGHT.
|
virtual |
position | The position of the point on the branch, as a proportion of the total branch length. |
Implements bpp::DrawBranchEvent.
Definition at line 55 of file PhylogramPlot.cpp.
References bpp::DrawBranchEvent::getCursor(), bpp::Node::getDistanceToFather(), bpp::DrawIBranchEvent::getINode(), bpp::Cursor::getTranslation(), bpp::DrawBranchEvent::getTreeDrawing(), bpp::TreeDrawing::getXUnit(), and orientation_.
|
inlinevirtualinherited |
Definition at line 197 of file TreeDrawing.h.
References bpp::DrawBranchEvent::cursor_.
Referenced by getBranchCursor(), and bpp::CladogramDrawBranchEvent::getBranchCursor().
|
inlinevirtualinherited |
Definition at line 195 of file TreeDrawing.h.
References bpp::DrawBranchEvent::gd_.
|
inlineinherited |
Definition at line 142 of file AbstractTreeDrawing.h.
References bpp::DrawIBranchEvent::node_.
Referenced by getBranchCursor(), and bpp::CladogramDrawBranchEvent::getBranchCursor().
|
inlinevirtualinherited |
Definition at line 196 of file TreeDrawing.h.
References bpp::DrawBranchEvent::id_.
Referenced by bpp::BranchLengthsTreeDrawingListener::afterDrawBranch(), and bpp::BootstrapValuesTreeDrawingListener::afterDrawBranch().
|
inlinevirtualinherited |
Definition at line 194 of file TreeDrawing.h.
References bpp::DrawBranchEvent::td_.
Referenced by getBranchCursor().
|
private |
Definition at line 52 of file PhylogramPlot.h.
Referenced by getBranchCursor(), and PhylogramDrawBranchEvent().