eLayout_Default = eLayout_AdaptiveLayered
81eIcon_Score = eIcon_MaxTrackIconID + 1
84 staticELayout LayoutStrToValue(
const string& layout);
85 static const string& LayoutValueToStr(ELayout layout);
115 voidSetAnnot(
const string& annot);
116 voidExcludeAnnotName(
const string& annot);
117 voidSetFeatSubtype(
intsubtype);
118 voidSetLayout(ELayout layout);
122 virtual string GetAnnot()
const{
returnm_Annot;}
153 virtual voidx_LoadFeatures(
const TSeqRange& range,
intfeat_limit);
167 boolx_NeedHighlight(
const CSeqGlyph* glyph)
const;
178 intcurr_level,
boolcompact_mode);
183 int&
count,
boolis_overview);
185 voidx_OnContentIconClicked();
186 voidx_OnLayoutIconClicked();
188 virtual voidx_OnLayoutPolicyChanged();
190 voidx_AdjustFeatureLayout();
192 boolx_HasLinkedFeats()
const;
213 intm_MaxAdaptiveHeight = 400;
260 virtualTTrackMap CreateTracks(
264 constSExtraParams& params = SExtraParams(),
265 constTAnnotMetaDataList& src_annots = TAnnotMetaDataList())
const;
267 virtual voidGetMatchedAnnots(
268 constTAnnotMetaDataList& src_annots,
270TAnnotNameTitleMap& out_annots)
const;
297GetSettings(
const string& profile,
298 constTKeyValuePairs& settings,
304 virtual stringGetExtensionIdentifier()
const;
305 virtual stringGetExtensionLabel()
const;
309x_GetSettings(
constTKeyValuePairs& settings,
const CTempTrackProxy* track_proxy,
boolis_intron_track)
const;
CAppJobNotification Notification send by CAppJobEventTranslator.
CDataTrack - a abstract base class for layout tracks which need to deal with background data retrieva...
virtual CRef< CSGGenBankDS > GetDataSource()=0
Method for accessing the data source.
virtual void x_UpdateData()=0
update track content.
virtual void x_OnJobCompleted(CAppJobNotification ¬ify)=0
static const CTrackTypeInfo & GetTypeInfo()
virtual bool NeedBackgroundInit() const
Background track initialization.
CFeatureTrack::ELayout m_DefaultLayout
ELinkedFeatDisplay m_DefaultLinkedFeat
virtual const CTrackTypeInfo & GetThisTypeInfo() const
virtual bool UnderstandLevel() const
Have any concept of level.
virtual bool SupportsExportToAsn1() const
virtual string GetAnnot() const
int m_FeatLimits
maximal number of features shown in on track.
int GetFeatSubtype() const
virtual void GetFeatSubtypes(set< objects::CSeqFeatData::ESubtype > &subtypes) const
CRef< CLayeredLayout > m_GroupLayered
virtual CRef< CSGGenBankDS > GetDataSource()
CFeatureTrack inline methods.
CRef< CColumnLayout > m_Column
CSeqGraphicConfig::TFeatSubtype m_Subtype
CRef< CSGFeatureDS > m_DS
objects::SAnnotSelector m_FeatSel
virtual bool CheckRange(TSeqRange range, string &, size_t &)
void SetLayout(ELayout layout)
CRef< CLayeredLayout > m_LinkedGroup
CRef< CCompactLayout > m_Compact
bool x_HasLinkedFeats() const
CRef< CSimpleLayout > m_GroupSimple
int m_MaxRow
Maximal number of feature rows in one feature track.
size_t m_HistThreshold
An independent histogram threshold used by SViewer.
CFeatureTrack(const CFeatureTrack &)
CFeatureTrack & operator=(const CFeatureTrack &)
CRef< CBoundaryParams > m_GroupConfig
static CTrackTypeInfo m_TypeInfo
@ 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_None
unassigned layout
@ eLayout_ExpandedBySize
one feature per row sorted by size
ELinkedFeatDisplay m_LinkedFeat
virtual bool BypassStage1()
int m_CompactThreshold
Feature number threshold between compact mode and non-compact mode.
virtual const CTrackTypeInfo & GetTypeInfo() const
CJobResultBase â the basic job result class holding a token.
CLayoutGroup is a container of CSeqGlyphs (layout objects).
virtual void x_SaveSettings(const string &preset_style)
save the track settings to a profile string.
virtual void x_LoadSettings(const string &preset_style, const TKeyValuePairs &settings)
load the track settings.
virtual void x_OnIconClicked(TIconID id)
Mouse left-click event handler on an icon.
virtual string GetFullTitle() const
get a more meaningful title.
CLinkedFeatsGroup is a container class contains related features.
CRenderingContext offers the basic context and utility methods for rendering layout objects in featur...
CSGJobResult â the data structure holding the seqgraphic job results.
class CSeqGlyph defines an interface that wraps a rectilinear abstract object.
list< CRef< CSeqGlyph > > TObjects
int TFeatSubtype
we use int instead of CSeqFeatData::ESubtype for two reasons:
CTrackTypeInfo - holds description of a layout track type.
IAsn1Generator interface for tracks capable of generating an ASN1 seq_entry for their data.
virtual void GenerateAsn1(objects::CSeq_entry &seq_entry, TSeqRange range)=0
IExtension IExtension interface represents an abstract pluggable component.
ISGDSManager is seqgraphic data source manage that serves as an data source context.
ITrackConfigurable interface for tracks that are configurable.
map< string, string > TKeyValuePairs
iterator_bool insert(const value_type &val)
objects::CSeqFeatData::ESubtype GetFeatSubtype(const string &feat_type)
TObjectType * GetPointer(void) THROWS_NONE
Get pointer,.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIWIDGETS_SEQGRAPHIC_EXPORT
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4