NCBI C++ ToolKit
Typedefs | Functions | Variables
feature_track.cpp File Reference
#include <ncbi_pch.hpp>
#include <gui/widgets/seq_graphic/feature_track.hpp>
#include <gui/widgets/seq_graphic/intron_track.hpp>
#include <gui/widgets/seq_graphic/seqgraphic_ds_manager.hpp>
#include <gui/widgets/seq_graphic/seqgraphic_utils.hpp>
#include <gui/widgets/seq_graphic/layout_track_proxy.hpp>
#include <gui/widgets/seq_graphic/rendering_ctx.hpp>
#include <gui/widgets/seq_graphic/histogram_glyph.hpp>
#include <gui/widgets/seq_graphic/clone_placement_glyph.hpp>
#include <gui/widgets/seq_graphic/config_utils.hpp>
#include <gui/widgets/seq_graphic/feature_filter.hpp>
#include <gui/widgets/seq_graphic/gene_model_group.hpp>
#include <gui/widgets/seq_graphic/named_group.hpp>
#include <gui/widgets/seq_graphic/clone_feature_sorter.hpp>
#include <gui/widgets/seq_graphic/dbvar_feature_sorter.hpp>
#include <gui/widgets/wx/wx_utils.hpp>
#include <gui/utils/rgba_color.hpp>
#include <gui/objutils/utils.hpp>
#include <gui/objutils/label.hpp>
#include <objmgr/util/feature.hpp>
#include <objmgr/util/sequence.hpp>
#include <objmgr/annot_ci.hpp>
#include <objects/seqfeat/SeqFeatData.hpp>
#include <objects/general/Object_id.hpp>
#include <objects/general/User_object.hpp>
#include <wx/menu.h>
+ Include dependency graph for feature_track.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Typedefs

typedef SStaticPair< const char *, CFeatureTrack::ELayoutTLayoutStr
 CFeatureTrack. More...
 
typedef CStaticArrayMap< string, CFeatureTrack::ELayoutTLayoutMap
 
typedef SStaticPair< const char *, ELinkedFeatDisplayTLinkedFeatStr
 
typedef CStaticArrayMap< string, ELinkedFeatDisplayTLinkedFeatMap
 

Functions

 USING_SCOPE (objects)
 
 DEFINE_STATIC_ARRAY_MAP (TLayoutMap, sm_LayoutMap, s_LayoutStrs)
 
 DEFINE_STATIC_ARRAY_MAP (TLinkedFeatMap, sm_LinkedFeatMap, s_LinkedFeatStrs)
 
bool s_IsSetWeight (const CSeq_feat &feat)
 
int s_GetWeight (const CSeq_feat &feat)
 
static bool s_FeatByWeight (const CRef< CSeqGlyph > &g1, const CRef< CSeqGlyph > &g2)
 

Variables

static const string kBaseKey = "GBPlugins.SeqGraphicFeatureTrack"
 
static const TLayoutStr s_LayoutStrs []
 
static const TLinkedFeatStr s_LinkedFeatStrs []
 
static const string kWeightKey = "Weight"
 
static const string kDispSettings = "DisplaySettings"
 

Typedef Documentation

◆ TLayoutMap

Definition at line 85 of file feature_track.cpp.

◆ TLayoutStr

CFeatureTrack.

Definition at line 73 of file feature_track.cpp.

◆ TLinkedFeatMap

Definition at line 120 of file feature_track.cpp.

◆ TLinkedFeatStr

Definition at line 110 of file feature_track.cpp.

Function Documentation

◆ DEFINE_STATIC_ARRAY_MAP() [1/2]

DEFINE_STATIC_ARRAY_MAP ( TLayoutMap  ,
sm_LayoutMap  ,
s_LayoutStrs   
)

◆ DEFINE_STATIC_ARRAY_MAP() [2/2]

DEFINE_STATIC_ARRAY_MAP ( TLinkedFeatMap  ,
sm_LinkedFeatMap  ,
s_LinkedFeatStrs   
)

◆ s_FeatByWeight()

static bool s_FeatByWeight ( const CRef< CSeqGlyph > &  g1,
const CRef< CSeqGlyph > &  g2 
)
static

Definition at line 1075 of file feature_track.cpp.

References s_GetWeight().

Referenced by CFeatureTrack::x_SortFeaturesByWeight().

◆ s_GetWeight()

int s_GetWeight ( const CSeq_feat feat)

◆ s_IsSetWeight()

bool s_IsSetWeight ( const CSeq_feat feat)

◆ USING_SCOPE()

USING_SCOPE ( objects  )

Variable Documentation

◆ kBaseKey

const string kBaseKey = "GBPlugins.SeqGraphicFeatureTrack"
static

Definition at line 67 of file feature_track.cpp.

Referenced by CFeatureTrack::x_LoadSettings().

◆ kDispSettings

const string kDispSettings = "DisplaySettings"
static

Definition at line 412 of file feature_track.cpp.

Referenced by s_GetWeight(), and s_IsSetWeight().

◆ kWeightKey

const string kWeightKey = "Weight"
static

Definition at line 411 of file feature_track.cpp.

Referenced by s_GetWeight(), and s_IsSetWeight().

◆ s_LayoutStrs

const TLayoutStr s_LayoutStrs[]
static
Initial value:
= {
{ "Adaptive - inline", CFeatureTrack::eLayout_AdaptiveInline },
{ "Expanded by position", CFeatureTrack::eLayout_ExpandedByPos },
{ "Expanded by size", CFeatureTrack::eLayout_ExpandedBySize },
}
@ eLayout_ExpandedColumn
show all features with column layout
@ eLayout_AdaptiveInline
adaptively switch between packed and inline
@ eLayout_Packed
pack all feature into a histogram
@ eLayout_ExpandedLayered
show all features with layered layout
@ eLayout_OneLine
pack all feature into one line
@ eLayout_AdaptiveLayered
adaptively switch between packed and layered
@ eLayout_ExpandedByPos
show all features, one per row sorted by pos
@ eLayout_ExpandedBySize
one feature per row sorted by size

Definition at line 74 of file feature_track.cpp.

◆ s_LinkedFeatStrs

const TLinkedFeatStr s_LinkedFeatStrs[]
static
Initial value:
= {
}
@ eLFD_Default
@ eLFD_Expandable
@ eLFD_ParentHidden
@ eLFD_Hidden
@ eLFD_PackedWithParent
@ eLFD_Packed

Definition at line 111 of file feature_track.cpp.

Modified on Mon Jun 17 05:04:12 2024 by modify_doxy.py rev. 669887