Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

TPTree Class Reference

#include <TPhyloTree.h>

List of all members.

Public Member Functions

 TPTree ()
virtual ~TPTree ()
virtual wxString scanNewick (wxString s)
virtual void setWeight (double w)
virtual void setName (wxString n)
virtual float getWeight ()
virtual wxString getName ()
virtual bool isLeaf ()
virtual double getMaxWeight ()
virtual double getCurrentWeight ()
virtual int getMaxDepth ()
virtual int getCurrentDepth ()
virtual int countLeafs ()
virtual int numberLeafs (int i=0)
virtual void filterDepth (int depth, vector< TPTree * > &vt)
virtual void getAll (vector< TPTree * > &vt)
virtual void averageY ()
virtual void drawRecursive (wxDC &dc, wxString mode)

Public Attributes

wxRect rect
vector< TPTree * > children

Private Member Functions

virtual void dedigitize (wxString &s)

Private Attributes

double weight
wxString name
int leafNumber

Constructor & Destructor Documentation

TPTree::TPTree  ) 

TPTree::~TPTree  )  [virtual]

Member Function Documentation

void TPTree::averageY  )  [virtual]

int TPTree::countLeafs  )  [virtual]

void TPTree::dedigitize wxString &  s  )  [private, virtual]

void TPTree::drawRecursive wxDC &  dc,
wxString  mode

void TPTree::filterDepth int  depth,
vector< TPTree * > &  vt

void TPTree::getAll vector< TPTree * > &  vt  )  [virtual]

int TPTree::getCurrentDepth  )  [virtual]

double TPTree::getCurrentWeight  )  [virtual]

int TPTree::getMaxDepth  )  [virtual]

double TPTree::getMaxWeight  )  [virtual]

virtual wxString TPTree::getName  )  [inline, virtual]

virtual float TPTree::getWeight  )  [inline, virtual]

virtual bool TPTree::isLeaf  )  [inline, virtual]

int TPTree::numberLeafs int  i = 0  )  [virtual]

wxString TPTree::scanNewick wxString  s  )  [virtual]

virtual void TPTree::setName wxString  n  )  [inline, virtual]

virtual void TPTree::setWeight double  w  )  [inline, virtual]

Member Data Documentation

vector<TPTree*> TPTree::children

int TPTree::leafNumber [private]

wxString TPTree::name [private]

TPTree* TPTree::parent [private]

wxRect TPTree::rect

double TPTree::weight [private]

The documentation for this class was generated from the following files:
Generated on Fri Aug 11 16:19:49 2006 for GENtle by  doxygen 1.4.1