NCBI C++ ToolKit
Typedefs | Functions | Variables
feature_graph.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbistd.hpp>
#include <gui/widgets/aln_multiple/aln_vec_iterator.hpp>
#include <gui/widgets/aln_multiple/feature_graph.hpp>
#include <gui/widgets/aln_multiple/alnmulti_ds.hpp>
#include <gui/widgets/seq_graphic/seq_glyph.hpp>
#include <gui/widgets/seq_graphic/feature_glyph.hpp>
#include <gui/opengl/glhelpers.hpp>
#include <gui/opengl/irender.hpp>
#include <gui/types.hpp>
#include <gui/objutils/utils.hpp>
#include <gui/objutils/label.hpp>
#include <gui/utils/event_translator.hpp>
#include <objmgr/util/sequence.hpp>
#include <objmgr/impl/synonyms.hpp>
#include <math.h>
#include <memory>
#include <vector>
+ Include dependency graph for feature_graph.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Typedefs

typedef CRange< TSeqPosTFeatRange
 
typedef pair< size_t, TSeqPosTIndexLenPair
 

Functions

 USING_SCOPE (objects)
 
 ON_EVENT (CAppJobNotification, CAppJobNotification::eStateChanged, &CFeatureGraph::OnAJNotification) TVPPoint CFeatureGraph
 
CRgbaColor GetRandomColor (int i_color)
 
CRgbaColorGetColor (CSeqFeatData::ESubtype subtype)
 
static bool s_ILPLonger (const TIndexLenPair &p1, const TIndexLenPair &p2)
 
static bool s_FRPLPLonger (const CAlignedFeatureGraph::TFeatRecPtrLenPair &p1, const CAlignedFeatureGraph::TFeatRecPtrLenPair &p2)
 

Variables

static const int kGradColors = 32
 CFeatureGraph. More...
 
static const int kTextOff = 2
 
static const int kLayerH = 12
 CAlignedFeatureGraph. More...
 
static const int kLayerOffY = 2
 
static const int kTootipPix = 2
 
static const int kBins = 2048
 

Typedef Documentation

◆ TFeatRange

Definition at line 852 of file feature_graph.cpp.

◆ TIndexLenPair

typedef pair<size_t, TSeqPos> TIndexLenPair

Definition at line 1160 of file feature_graph.cpp.

Function Documentation

◆ GetColor()

CRgbaColor& GetColor ( CSeqFeatData::ESubtype  subtype)

◆ GetRandomColor()

CRgbaColor GetRandomColor ( int  i_color)

Definition at line 902 of file feature_graph.cpp.

References CRgbaColor::RotateColor().

Referenced by GetColor().

◆ ON_EVENT()

◆ s_FRPLPLonger()

Definition at line 1389 of file feature_graph.cpp.

Referenced by CAlignedFeatureGraph::x_GetRecsSortedByLength().

◆ s_ILPLonger()

static bool s_ILPLonger ( const TIndexLenPair p1,
const TIndexLenPair p2 
)
static

Definition at line 1161 of file feature_graph.cpp.

Referenced by CAlignedFeatureGraph::x_Layout().

◆ USING_SCOPE()

USING_SCOPE ( objects  )

Variable Documentation

◆ kBins

const int kBins = 2048
static

Definition at line 1646 of file feature_graph.cpp.

Referenced by CFeatHistogramDS::Update().

◆ kGradColors

const int kGradColors = 32
static

CFeatureGraph.

Definition at line 231 of file feature_graph.cpp.

◆ kLayerH

const int kLayerH = 12
static

CAlignedFeatureGraph.

Definition at line 779 of file feature_graph.cpp.

◆ kLayerOffY

const int kLayerOffY = 2
static

Definition at line 780 of file feature_graph.cpp.

Referenced by CAlignedFeatureGraph::x_RenderFeature().

◆ kTextOff

const int kTextOff = 2
static

Definition at line 381 of file feature_graph.cpp.

Referenced by ON_EVENT(), and CFeatureGraph::x_RenderStatusText().

◆ kTootipPix

const int kTootipPix = 2
static

Definition at line 1004 of file feature_graph.cpp.

Referenced by CAlignedFeatureGraph::NeedTooltip().

Modified on Sat Jun 22 10:37:54 2024 by modify_doxy.py rev. 669887