bpp-phyl3
3.0.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_ |
const INode * | node_ |
const TreeDrawing * | td_ |
GraphicDevice * | gd_ |
int | id_ |
Cursor | cursor_ |
Definition at line 13 of file PhylogramPlot.h.
PhylogramDrawBranchEvent::PhylogramDrawBranchEvent | ( | const TreeDrawing * | source, |
GraphicDevice * | gd, | ||
const INode * | node, | ||
const Cursor & | cursor, | ||
short | orientation | ||
) |
Definition at line 14 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 20 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 158 of file TreeDrawing.h.
References bpp::DrawBranchEvent::cursor_.
Referenced by bpp::CladogramDrawBranchEvent::getBranchCursor(), and getBranchCursor().
|
inlinevirtualinherited |
Definition at line 156 of file TreeDrawing.h.
References bpp::DrawBranchEvent::gd_.
|
inlineinherited |
Definition at line 104 of file AbstractTreeDrawing.h.
References bpp::DrawIBranchEvent::node_.
Referenced by bpp::CladogramDrawBranchEvent::getBranchCursor(), and getBranchCursor().
|
inlinevirtualinherited |
Definition at line 157 of file TreeDrawing.h.
References bpp::DrawBranchEvent::id_.
Referenced by bpp::BranchLengthsTreeDrawingListener::afterDrawBranch(), and bpp::BootstrapValuesTreeDrawingListener::afterDrawBranch().
|
inlinevirtualinherited |
Definition at line 155 of file TreeDrawing.h.
References bpp::DrawBranchEvent::td_.
Referenced by getBranchCursor().
|
privateinherited |
Definition at line 132 of file TreeDrawing.h.
Referenced by bpp::DrawBranchEvent::getCursor(), and bpp::DrawBranchEvent::operator=().
|
privateinherited |
Definition at line 130 of file TreeDrawing.h.
Referenced by bpp::DrawBranchEvent::getGraphicDevice(), and bpp::DrawBranchEvent::operator=().
|
privateinherited |
Definition at line 131 of file TreeDrawing.h.
Referenced by bpp::DrawBranchEvent::getNodeId(), and bpp::DrawBranchEvent::operator=().
|
privateinherited |
Definition at line 84 of file AbstractTreeDrawing.h.
Referenced by bpp::DrawIBranchEvent::getINode(), and bpp::DrawIBranchEvent::operator=().
|
private |
Definition at line 17 of file PhylogramPlot.h.
Referenced by getBranchCursor(), and PhylogramDrawBranchEvent().
|
privateinherited |
Definition at line 129 of file TreeDrawing.h.
Referenced by bpp::DrawBranchEvent::getTreeDrawing(), and bpp::DrawBranchEvent::operator=().