bpp-phyl3
3.0.0
|
Event class that uses INode object (more efficient than relying on nodes id, but less generic). More...
#include <Bpp/Phyl/Graphics/AbstractTreeDrawing.h>
Public Member Functions | |
DrawIBranchEvent (const TreeDrawing *source, GraphicDevice *gd, const INode *node, const Cursor &cursor) | |
DrawIBranchEvent (const DrawIBranchEvent &dne) | |
DrawIBranchEvent & | operator= (const DrawIBranchEvent &dne) |
const INode * | getINode () const |
virtual const TreeDrawing * | getTreeDrawing () const |
virtual GraphicDevice * | getGraphicDevice () const |
virtual int | getNodeId () const |
virtual const Cursor & | getCursor () const |
virtual Cursor | getBranchCursor (double position) const =0 |
Private Attributes | |
const INode * | node_ |
const TreeDrawing * | td_ |
GraphicDevice * | gd_ |
int | id_ |
Cursor | cursor_ |
Event class that uses INode object (more efficient than relying on nodes id, but less generic).
Definition at line 80 of file AbstractTreeDrawing.h.
|
inline |
Definition at line 87 of file AbstractTreeDrawing.h.
|
inline |
Definition at line 92 of file AbstractTreeDrawing.h.
|
pure virtualinherited |
position | The position of the point on the branch, as a proportion of the total branch length. |
Implemented in bpp::PhylogramDrawBranchEvent, and bpp::CladogramDrawBranchEvent.
|
inlinevirtualinherited |
Definition at line 158 of file TreeDrawing.h.
References bpp::DrawBranchEvent::cursor_.
Referenced by bpp::CladogramDrawBranchEvent::getBranchCursor(), and bpp::PhylogramDrawBranchEvent::getBranchCursor().
|
inlinevirtualinherited |
Definition at line 156 of file TreeDrawing.h.
References bpp::DrawBranchEvent::gd_.
|
inline |
Definition at line 104 of file AbstractTreeDrawing.h.
References node_.
Referenced by bpp::CladogramDrawBranchEvent::getBranchCursor(), and bpp::PhylogramDrawBranchEvent::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 bpp::PhylogramDrawBranchEvent::getBranchCursor().
|
inline |
Definition at line 96 of file AbstractTreeDrawing.h.
References node_, and bpp::DrawBranchEvent::operator=().
|
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=().
|
private |
Definition at line 84 of file AbstractTreeDrawing.h.
Referenced by getINode(), and operator=().
|
privateinherited |
Definition at line 129 of file TreeDrawing.h.
Referenced by bpp::DrawBranchEvent::getTreeDrawing(), and bpp::DrawBranchEvent::operator=().