40 #ifndef _TREEDRAWINGLISTENER_H_ 41 #define _TREEDRAWINGLISTENER_H_ 45 #include <Bpp/Clonable.h> 56 public virtual Clonable
59 #ifndef NO_VIRTUAL_COV 80 virtual void enable(
bool tf) = 0;
132 TreeDrawingListenerAdapter::operator=(lntdl);
167 TreeDrawingListenerAdapter::operator=(lntdl);
206 TreeDrawingListenerAdapter::operator=(lntdl);
244 TreeDrawingListenerAdapter::operator=(lntdl);
302 #endif //_TREEDRAWINGLISTENER_H_ BootstrapValuesTreeDrawingListener & operator=(const BootstrapValuesTreeDrawingListener &lntdl)
virtual bool isEnabled() const =0
LabelCollapsedNodesTreeDrawingListener * clone() const
LabelInnerNodesTreeDrawingListener * clone() const
LabelInnerNodesTreeDrawingListener(bool autonomous=false)
BootstrapValuesTreeDrawingListener(const TreeDrawingSettings *settings, bool autonomous=false)
A TreeDrawingListener implementation that write the bootstrap values of inner nodes.
void afterDrawNode(const DrawNodeEvent &event)
virtual void beforeDrawTree(const DrawTreeEvent &event)=0
void afterDrawBranch(const DrawBranchEvent &event)
TreeDrawingListenerAdapter(bool autonomous)
BootstrapValuesTreeDrawingListener * clone() const
bool isAutonomous() const
Tells if the listener is autonomous. If so, it will never be hard-copied or deleted.
void afterDrawBranch(const DrawBranchEvent &event)
BranchLengthsTreeDrawingListener(const BranchLengthsTreeDrawingListener &lntdl)
const TreeDrawingSettings * settings_
void afterDrawNode(const DrawNodeEvent &event)
virtual void enable(bool tf)=0
virtual void afterDrawBranch(const DrawBranchEvent &event)=0
BranchLengthsTreeDrawingListener * clone() const
NodesIdTreeDrawingListener(const TreeDrawingSettings *settings, bool autonomous=false)
void afterDrawBranch(const DrawBranchEvent &event)
virtual void beforeDrawNode(const DrawNodeEvent &event)=0
LeafNamesTreeDrawingListener(const TreeDrawingSettings *settings, bool autonomous=false)
const TreeDrawingSettings * settings_
BranchLengthsTreeDrawingListener(const TreeDrawingSettings *settings, bool autonomous=false)
LabelCollapsedNodesTreeDrawingListener(bool autonomous=false)
BootstrapValuesTreeDrawingListener(const BootstrapValuesTreeDrawingListener &lntdl)
A set of options to tune the display of a TreeDrawing object.
void beforeDrawNode(const DrawNodeEvent &event)
NodesIdTreeDrawingListener & operator=(const NodesIdTreeDrawingListener &lntdl)
A TreeDrawingListener implementation that write the branch lengths of inner nodes.
void afterDrawNode(const DrawNodeEvent &event)
LeafNamesTreeDrawingListener(const LeafNamesTreeDrawingListener &lntdl)
Event class used by TreeDrawing classes.
virtual bool isAutonomous() const =0
Tells if the listener is autonomous. If so, it will never be hard-copied or deleted.
An empty implementation of the TreeDrawingListener interface.
Interface allowing to capture drawing events.
LeafNamesTreeDrawingListener & operator=(const LeafNamesTreeDrawingListener &lntdl)
virtual void afterDrawTree(const DrawTreeEvent &event)=0
A TreeDrawingListener implementation that write the names of inner nodes.
const TreeDrawingSettings * settings_
void beforeDrawTree(const DrawTreeEvent &event)
Event class used by TreeDrawing classes.
A TreeDrawingListener implementation that write leaf names.
void afterDrawNode(const DrawNodeEvent &event)
virtual void beforeDrawBranch(const DrawBranchEvent &event)=0
const TreeDrawingSettings * settings_
virtual void afterDrawNode(const DrawNodeEvent &event)=0
NodesIdTreeDrawingListener * clone() const
void afterDrawTree(const DrawTreeEvent &event)
LeafNamesTreeDrawingListener * clone() const
void afterDrawNode(const DrawNodeEvent &event)
NodesIdTreeDrawingListener(const NodesIdTreeDrawingListener &lntdl)
BranchLengthsTreeDrawingListener & operator=(const BranchLengthsTreeDrawingListener &lntdl)
A TreeDrawingListener implementation that writes nodes id.
void beforeDrawBranch(const DrawBranchEvent &event)
TreeDrawingListener * clone() const =0
Event class used by TreeDrawing classes.
A TreeDrawingListener implementation that label the collapsed nodes.