bpp-phyl3
3.0.0
|
A TreeDrawingListener implementation that writes nodes id. More...
#include <Bpp/Phyl/Graphics/TreeDrawingListener.h>
Public Member Functions | |
NodesIdTreeDrawingListener (const TreeDrawingSettings *settings, bool autonomous=false) | |
NodesIdTreeDrawingListener (const NodesIdTreeDrawingListener &lntdl) | |
NodesIdTreeDrawingListener & | operator= (const NodesIdTreeDrawingListener &lntdl) |
NodesIdTreeDrawingListener * | clone () const |
void | afterDrawNode (const DrawNodeEvent &event) |
void | beforeDrawTree (const DrawTreeEvent &event) |
void | afterDrawTree (const DrawTreeEvent &event) |
void | beforeDrawNode (const DrawNodeEvent &event) |
void | beforeDrawBranch (const DrawBranchEvent &event) |
void | afterDrawBranch (const DrawBranchEvent &event) |
bool | isAutonomous () const |
Tells if the listener is autonomous. If so, it will never be hard-copied or deleted. More... | |
bool | isEnabled () const |
void | enable (bool tf) |
Private Attributes | |
const TreeDrawingSettings * | settings_ |
bool | autonomous_ |
bool | enabled_ |
A TreeDrawingListener implementation that writes nodes id.
Definition at line 73 of file TreeDrawingListener.h.
|
inline |
Definition at line 80 of file TreeDrawingListener.h.
Referenced by clone().
|
inline |
Definition at line 85 of file TreeDrawingListener.h.
|
inlinevirtualinherited |
Implements bpp::TreeDrawingListener.
Reimplemented in bpp::BootstrapValuesTreeDrawingListener, and bpp::BranchLengthsTreeDrawingListener.
Definition at line 63 of file TreeDrawingListener.h.
|
virtual |
Reimplemented from bpp::TreeDrawingListenerAdapter.
Definition at line 17 of file TreeDrawingListener.cpp.
References bpp::GraphicDevice::drawText(), bpp::Cursor::getAngle(), bpp::GraphicDevice::getCurrentFont(), bpp::Cursor::getHPos(), bpp::DrawNodeEvent::getNodeId(), bpp::Cursor::getVPos(), bpp::Cursor::getX(), bpp::Cursor::getY(), and bpp::GraphicDevice::setCurrentFont().
|
inlinevirtualinherited |
Implements bpp::TreeDrawingListener.
Definition at line 59 of file TreeDrawingListener.h.
|
inlinevirtualinherited |
Implements bpp::TreeDrawingListener.
Definition at line 62 of file TreeDrawingListener.h.
|
inlinevirtualinherited |
Implements bpp::TreeDrawingListener.
Definition at line 60 of file TreeDrawingListener.h.
|
inlinevirtualinherited |
Implements bpp::TreeDrawingListener.
Definition at line 58 of file TreeDrawingListener.h.
|
inlinevirtual |
Implements bpp::TreeDrawingListener.
Definition at line 96 of file TreeDrawingListener.h.
References NodesIdTreeDrawingListener().
|
inlinevirtualinherited |
Implements bpp::TreeDrawingListener.
Definition at line 66 of file TreeDrawingListener.h.
References bpp::TreeDrawingListenerAdapter::enabled_.
|
inlinevirtualinherited |
Tells if the listener is autonomous. If so, it will never be hard-copied or deleted.
Implements bpp::TreeDrawingListener.
Definition at line 64 of file TreeDrawingListener.h.
References bpp::TreeDrawingListenerAdapter::autonomous_.
|
inlinevirtualinherited |
Implements bpp::TreeDrawingListener.
Definition at line 65 of file TreeDrawingListener.h.
References bpp::TreeDrawingListenerAdapter::enabled_.
|
inline |
Definition at line 89 of file TreeDrawingListener.h.
References settings_.
|
privateinherited |
Definition at line 51 of file TreeDrawingListener.h.
Referenced by bpp::TreeDrawingListenerAdapter::isAutonomous().
|
privateinherited |
Definition at line 52 of file TreeDrawingListener.h.
Referenced by bpp::TreeDrawingListenerAdapter::enable(), and bpp::TreeDrawingListenerAdapter::isEnabled().
|
private |
Definition at line 77 of file TreeDrawingListener.h.
Referenced by operator=().