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

Search Toolkit Book for SeqTreeRootedLayout

#include <algo/structure/cd_utils/cuSeqTreeRootedLayout.hpp>

+ Inheritance diagram for SeqTreeRootedLayout:
+ Collaboration diagram for SeqTreeRootedLayout:

Public Member Functions

 SeqTreeRootedLayout (int yInterval=0)
void calculateNodePositions (SeqTree &treeData, int maxX, int maxY)
SeqTree::iterator findEdgeEnd (SeqTree &treeData, int x, int y, int edgeWidth)
void getSize (int &x, int &y)
virtual ~SeqTreeRootedLayout ()
- Public Member Functions inherited from SeqTreeLayout
virtual ~SeqTreeLayout ()

Private Member Functions

void calculateNodePositions (const SeqTree::iterator &cursor)
int getYInterval ()

Private Attributes

int m_yInterval
int m_numLeaf
int m_maxX
int m_maxY
double m_maxDist

Detailed Description

Definition at line 43 of file cuSeqTreeRootedLayout.hpp.

Constructor & Destructor Documentation

◆ SeqTreeRootedLayout()

SeqTreeRootedLayout::SeqTreeRootedLayout ( int  yInterval = 0)

Definition at line 37 of file cuSeqTreeRootedLayout.cpp.

◆ ~SeqTreeRootedLayout()

SeqTreeRootedLayout::~SeqTreeRootedLayout ( )

Definition at line 42 of file cuSeqTreeRootedLayout.cpp.

Member Function Documentation

◆ calculateNodePositions() [1/2]

void SeqTreeRootedLayout::calculateNodePositions ( const SeqTree::iterator cursor)

◆ calculateNodePositions() [2/2]

void SeqTreeRootedLayout::calculateNodePositions ( SeqTree treeData,
int  maxX,
int  maxY 

◆ findEdgeEnd()

SeqTree::iterator SeqTreeRootedLayout::findEdgeEnd ( SeqTree treeData,
int  x,
int  y,
int  edgeWidth 

◆ getSize()

void SeqTreeRootedLayout::getSize ( int x,
int y 

Implements SeqTreeLayout.

Definition at line 138 of file cuSeqTreeRootedLayout.cpp.

References getYInterval(), m_maxX, and m_numLeaf.

◆ getYInterval()

int SeqTreeRootedLayout::getYInterval ( )

Definition at line 126 of file cuSeqTreeRootedLayout.cpp.

References m_maxY, m_numLeaf, and m_yInterval.

Referenced by calculateNodePositions(), and getSize().

Member Data Documentation

◆ m_maxDist

double SeqTreeRootedLayout::m_maxDist

Definition at line 57 of file cuSeqTreeRootedLayout.hpp.

Referenced by calculateNodePositions().

◆ m_maxX

int SeqTreeRootedLayout::m_maxX

Definition at line 55 of file cuSeqTreeRootedLayout.hpp.

Referenced by calculateNodePositions(), and getSize().

◆ m_maxY

int SeqTreeRootedLayout::m_maxY

Definition at line 56 of file cuSeqTreeRootedLayout.hpp.

Referenced by calculateNodePositions(), and getYInterval().

◆ m_numLeaf

int SeqTreeRootedLayout::m_numLeaf

Definition at line 54 of file cuSeqTreeRootedLayout.hpp.

Referenced by calculateNodePositions(), getSize(), and getYInterval().

◆ m_yInterval

int SeqTreeRootedLayout::m_yInterval

Definition at line 53 of file cuSeqTreeRootedLayout.hpp.

Referenced by getYInterval().

The documentation for this class was generated from the following files:
Modified on Wed Jun 12 11:18:15 2024 by rev. 669887