NCBI C++ ToolKit
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
CPhyloTreeRectCalculator Class Reference

Search Toolkit Book for CPhyloTreeRectCalculator

#include <gui/widgets/phylo_tree/phylo_tree_algorithm.hpp>

+ Inheritance diagram for CPhyloTreeRectCalculator:
+ Collaboration diagram for CPhyloTreeRectCalculator:

Public Member Functions

 CPhyloTreeRectCalculator (TTreeType *tree)
 
virtual ~CPhyloTreeRectCalculator ()
 
const TModelRectGetRect () const
 
void Init ()
 
- Public Member Functions inherited from IPhyloTreeVisitor
 IPhyloTreeVisitor (TTreeType *tree)
 
virtual ~IPhyloTreeVisitor ()
 
ETreeTraverseCode operator() (TTreeType &tree, TTreeIdx tree_node, int delta)
 

Protected Member Functions

virtual ETreeTraverseCode x_OnStep (TTreeIdx node_idx, int delta)
 
- Protected Member Functions inherited from IPhyloTreeVisitor
virtual ETreeTraverseCode x_OnStepRight (TTreeIdx x_node)
 
virtual ETreeTraverseCode x_OnStepLeft (TTreeIdx x_node)
 
virtual ETreeTraverseCode x_OnStepDown (TTreeIdx x_node)
 

Private Attributes

TModelRect m_Rect
 

Additional Inherited Members

- Public Types inherited from IPhyloTreeVisitor
typedef CPhyloTree TTreeType
 
typedef CPhyloTree::TTreeIdx TTreeIdx
 
typedef CPhyloTree::TNodeType TNodeType
 
- Protected Attributes inherited from IPhyloTreeVisitor
TTreeTypem_Tree
 

Detailed Description

Definition at line 170 of file phylo_tree_algorithm.hpp.

Constructor & Destructor Documentation

◆ CPhyloTreeRectCalculator()

CPhyloTreeRectCalculator::CPhyloTreeRectCalculator ( TTreeType tree)
inline

Definition at line 173 of file phylo_tree_algorithm.hpp.

References Init().

◆ ~CPhyloTreeRectCalculator()

virtual CPhyloTreeRectCalculator::~CPhyloTreeRectCalculator ( )
inlinevirtual

Definition at line 177 of file phylo_tree_algorithm.hpp.

Member Function Documentation

◆ GetRect()

const TModelRect& CPhyloTreeRectCalculator::GetRect ( ) const
inline

Definition at line 178 of file phylo_tree_algorithm.hpp.

References m_Rect.

Referenced by CPhyloTreeDataSource::GetBoundRect().

◆ Init()

void CPhyloTreeRectCalculator::Init ( void  )

◆ x_OnStep()

ETreeTraverseCode CPhyloTreeRectCalculator::x_OnStep ( TTreeIdx  node_idx,
int  delta 
)
protectedvirtual

Member Data Documentation

◆ m_Rect

TModelRect CPhyloTreeRectCalculator::m_Rect
private

Definition at line 183 of file phylo_tree_algorithm.hpp.

Referenced by GetRect(), Init(), and x_OnStep().


The documentation for this class was generated from the following files:
Modified on Wed Jul 24 17:23:24 2024 by modify_doxy.py rev. 669887