bpp-phyl
2.2.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 87 of file TreeDrawing.h.
|
inline |
Definition at line 97 of file TreeDrawing.h.
|
inline |
|
inline |
|
inline |
Definition at line 103 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 104 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 109 of file TreeDrawing.h.
References addX(), and addY().
Referenced by bpp::PhylogramDrawBranchEvent::getBranchCursor(), and bpp::CladogramDrawBranchEvent::getBranchCursor().
|
inline |
Definition at line 105 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 101 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 102 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 92 of file TreeDrawing.h.
Referenced by getAngle().
|
private |
Definition at line 93 of file TreeDrawing.h.
Referenced by getHPos().
|
private |
Definition at line 94 of file TreeDrawing.h.
Referenced by getVPos().
|
private |
Definition at line 90 of file TreeDrawing.h.
|
private |
Definition at line 91 of file TreeDrawing.h.