NCBI C++ ToolKit
Typedefs | Functions | Variables
segment_map_track.cpp File Reference
#include <ncbi_pch.hpp>
#include <gui/widgets/seq_graphic/segment_map_track.hpp>
#include <gui/widgets/seq_graphic/seqgraphic_job_result.hpp>
#include <gui/widgets/seq_graphic/seqgraphic_ds_manager.hpp>
#include <gui/widgets/seq_graphic/seqgraphic_utils.hpp>
#include <gui/widgets/seq_graphic/config_utils.hpp>
#include <gui/widgets/seq_graphic/layout_track_proxy.hpp>
#include <gui/widgets/seq_graphic/rendering_ctx.hpp>
#include <gui/widgets/seq_graphic/comment_glyph.hpp>
#include <gui/widgets/wx/wx_utils.hpp>
#include <gui/utils/rgba_color.hpp>
#include <gui/opengl/gltexturefont.hpp>
#include <gui/objutils/utils.hpp>
#include <gui/objutils/label.hpp>
#include <gui/objutils/registry.hpp>
#include <objmgr/util/feature.hpp>
#include <objmgr/util/sequence.hpp>
#include <objmgr/annot_ci.hpp>
#include <objects/seqfeat/SeqFeatData.hpp>
#include <wx/menu.h>
+ Include dependency graph for segment_map_track.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Typedefs

typedef SStaticPair< const char *, CSegmentMapTrack::TSegmentLevelTLevelStr
 
typedef CStaticArrayMap< string, CSegmentMapTrack::TSegmentLevelTLevelMap
 
typedef SStaticPair< const char *, CSegmentConfig::ELabelPositionTLabelPosStr
 
typedef CStaticArrayMap< string, CSegmentConfig::ELabelPositionTLabelPosMap
 

Functions

 USING_SCOPE (objects)
 
 DEFINE_STATIC_ARRAY_MAP (TLevelMap, sm_LevelMap, s_LevelStrs)
 
 DEFINE_STATIC_ARRAY_MAP (TLabelPosMap, sm_LabelPosMap, s_LabelPosStrs)
 

Variables

static const size_t kMaxSegmentMapRows = 6
 CSegmentMapTrack. More...
 
static const string kDefProfile = "Default"
 
static string kDefTrackTitle = "Segment Map"
 
static const string kBaseKey = "GBPlugins.SeqGraphicComponentMap"
 
static const int kSegmentCutoff = 500
 
static const size_t kCompactThreshold = 80
 
static const TLevelStr s_LevelStrs []
 
static const TLabelPosStr s_LabelPosStrs []
 

Typedef Documentation

◆ TLabelPosMap

Definition at line 120 of file segment_map_track.cpp.

◆ TLabelPosStr

Definition at line 112 of file segment_map_track.cpp.

◆ TLevelMap

Definition at line 84 of file segment_map_track.cpp.

◆ TLevelStr

Definition at line 76 of file segment_map_track.cpp.

Function Documentation

◆ DEFINE_STATIC_ARRAY_MAP() [1/2]

DEFINE_STATIC_ARRAY_MAP ( TLabelPosMap  ,
sm_LabelPosMap  ,
s_LabelPosStrs   
)

◆ DEFINE_STATIC_ARRAY_MAP() [2/2]

DEFINE_STATIC_ARRAY_MAP ( TLevelMap  ,
sm_LevelMap  ,
s_LevelStrs   
)

◆ USING_SCOPE()

USING_SCOPE ( objects  )

Variable Documentation

◆ kBaseKey

const string kBaseKey = "GBPlugins.SeqGraphicComponentMap"
static

◆ kCompactThreshold

const size_t kCompactThreshold = 80
static

Definition at line 74 of file segment_map_track.cpp.

Referenced by CSegmentMapTrack::x_AddSegmentMapLayout().

◆ kDefProfile

const string kDefProfile = "Default"
static

◆ kDefTrackTitle

string kDefTrackTitle = "Segment Map"
static

◆ kMaxSegmentMapRows

const size_t kMaxSegmentMapRows = 6
static

◆ kSegmentCutoff

const int kSegmentCutoff = 500
static

Definition at line 73 of file segment_map_track.cpp.

Referenced by CSegmentMapTrack::x_UpdateData().

◆ s_LabelPosStrs

const TLabelPosStr s_LabelPosStrs[]
static
Initial value:
= {
}
@ ePos_NoLabel
no label
@ ePos_Inside
inside the rendered bar
@ ePos_Above
above the rendered bar
@ ePos_Side
always on 5' side

Definition at line 113 of file segment_map_track.cpp.

◆ s_LevelStrs

const TLevelStr s_LevelStrs[]
static
Initial value:
= {
{ "Adaptive", CSGSegmentMapDS::eAdaptive },
{ "Component Map", CSGSegmentMapDS::eComponent },
{ "Contig Map", CSGSegmentMapDS::eContig },
}
@ eAdaptive
show either contigs or components based on range

Definition at line 77 of file segment_map_track.cpp.

Modified on Wed Feb 21 09:57:49 2024 by modify_doxy.py rev. 669887