bpp-phyl3
3.0.0
|
Data structure describing a plotting direction. More...
#include <Bpp/Phyl/Graphics/TreeDrawing.h>
Public Member Functions | |
Cursor (double x, double y, double angle=0, short hpos=GraphicDevice::TEXT_HORIZONTAL_CENTER, short vpos=GraphicDevice::TEXT_VERTICAL_CENTER) | |
double | getX () const |
double | getY () const |
double | getAngle () const |
short | getHPos () const |
short | getVPos () const |
double | addX (double increment) |
double | addY (double increment) |
Cursor | getTranslation (double x, double y) const |
Private Attributes | |
double | x_ |
double | y_ |
double | angle_ |
short | hpos_ |
short | vpos_ |
Data structure describing a plotting direction.
Definition at line 52 of file TreeDrawing.h.
|
inline |
Definition at line 62 of file TreeDrawing.h.
|
inline |
|
inline |
|
inline |
Definition at line 68 of file TreeDrawing.h.
References angle_.
Referenced by bpp::BranchLengthsTreeDrawingListener::afterDrawBranch(), bpp::BootstrapValuesTreeDrawingListener::afterDrawBranch(), bpp::NodesIdTreeDrawingListener::afterDrawNode(), bpp::LeafNamesTreeDrawingListener::afterDrawNode(), bpp::LabelInnerNodesTreeDrawingListener::afterDrawNode(), and bpp::LabelCollapsedNodesTreeDrawingListener::afterDrawNode().
|
inline |
Definition at line 69 of file TreeDrawing.h.
References hpos_.
Referenced by bpp::BootstrapValuesTreeDrawingListener::afterDrawBranch(), bpp::NodesIdTreeDrawingListener::afterDrawNode(), bpp::LeafNamesTreeDrawingListener::afterDrawNode(), bpp::LabelInnerNodesTreeDrawingListener::afterDrawNode(), and bpp::LabelCollapsedNodesTreeDrawingListener::afterDrawNode().
|
inline |
Definition at line 74 of file TreeDrawing.h.
References addX(), and addY().
Referenced by bpp::CladogramDrawBranchEvent::getBranchCursor(), and bpp::PhylogramDrawBranchEvent::getBranchCursor().
|
inline |
Definition at line 70 of file TreeDrawing.h.
References vpos_.
Referenced by bpp::NodesIdTreeDrawingListener::afterDrawNode(), bpp::LeafNamesTreeDrawingListener::afterDrawNode(), bpp::LabelInnerNodesTreeDrawingListener::afterDrawNode(), and bpp::LabelCollapsedNodesTreeDrawingListener::afterDrawNode().
|
inline |
Definition at line 66 of file TreeDrawing.h.
References x_.
Referenced by bpp::BranchLengthsTreeDrawingListener::afterDrawBranch(), bpp::BootstrapValuesTreeDrawingListener::afterDrawBranch(), bpp::NodesIdTreeDrawingListener::afterDrawNode(), bpp::LeafNamesTreeDrawingListener::afterDrawNode(), bpp::LabelInnerNodesTreeDrawingListener::afterDrawNode(), and bpp::LabelCollapsedNodesTreeDrawingListener::afterDrawNode().
|
inline |
Definition at line 67 of file TreeDrawing.h.
References y_.
Referenced by bpp::BranchLengthsTreeDrawingListener::afterDrawBranch(), bpp::BootstrapValuesTreeDrawingListener::afterDrawBranch(), bpp::NodesIdTreeDrawingListener::afterDrawNode(), bpp::LeafNamesTreeDrawingListener::afterDrawNode(), bpp::LabelInnerNodesTreeDrawingListener::afterDrawNode(), and bpp::LabelCollapsedNodesTreeDrawingListener::afterDrawNode().
|
private |
Definition at line 57 of file TreeDrawing.h.
Referenced by getAngle().
|
private |
Definition at line 58 of file TreeDrawing.h.
Referenced by getHPos().
|
private |
Definition at line 59 of file TreeDrawing.h.
Referenced by getVPos().
|
private |
Definition at line 55 of file TreeDrawing.h.
|
private |
Definition at line 56 of file TreeDrawing.h.