NCBI C++ ToolKit
Static Public Member Functions | List of all members
CGraphUtils Class Reference

Search Toolkit Book for CGraphUtils

#include <gui/widgets/seq_graphic/graph_utils.hpp>

Static Public Member Functions

static void CalcGraphLevels (const string &annotName, objects::CScope &scope, const objects::CSeq_loc &loc, set< int > &levels)
 
help methods about coverage graph levels.

Return the nearest level available for a given zoom level.

Parameters
zoomis measured as number of bases per screen pixel Initialize levels on which coverage graphs are avaiable.
annotthe original annotation name
static int GetNearestLevel (const set< int > &levels, double zoom)
 

Detailed Description

Definition at line 46 of file graph_utils.hpp.

Member Function Documentation

◆ CalcGraphLevels()

void CGraphUtils::CalcGraphLevels ( const string annotName,
objects::CScope &  scope,
const objects::CSeq_loc &  loc,
set< int > &  levels 
)
static

◆ GetNearestLevel()

int CGraphUtils::GetNearestLevel ( const set< int > &  levels,
double  zoom 
)
static

The documentation for this class was generated from the following files:
Modified on Wed Apr 17 13:08:38 2024 by modify_doxy.py rev. 669887