1 #ifndef GUI_PACKAGES_SNP_BINS_TRACK__GMARK_GLYPH__HPP
2 #define GUI_PACKAGES_SNP_BINS_TRACK__GMARK_GLYPH__HPP
65 static string GenerateGeneMarkerSignature(
const string& title,
66 const string& annot_name,
69 const string& trackSubType);
76 const objects::CSeq_loc& loc,
77 objects::CScope * scope);
94 void SetAnnotName(
const string& name);
95 const string& GetAnnotName()
const;
104 virtual void x_Draw()
const;
115 void x_BuildSignatures()
const;
116 string x_GetColorTheme()
const;
const string & GetAnnotName() const
const string & GetTitle() const
list< CRef< objects::NSnpBins::SBin > > TGeneMarkers
void SetTitle(const string &title)
CGeneMarkerGlyph inline method implementation.
CRef< objects::CScope > m_Scope
CConstRef< objects::CSeq_loc > m_Location
TGeneMarkers m_GeneMarkers
void SetAnnotName(const string &name)
class CSeqGlyph defines an interface that wraps a rectilinear abstract object.
virtual bool IsClickable() const
Query if this glyph is clickable.
virtual void x_Draw() const =0
The default renderer for this layout object.
virtual void GetTooltip(const TModelPoint &, ITooltipFormatter &tt, string &t_title) const
Get the tooltip if available.
virtual bool NeedTooltip(const TModelPoint &, ITooltipFormatter &, string &) const
Check if need to show tooltip.
virtual bool OnLeftDblClick(const TModelPoint &)
virtual TSeqRange GetRange(void) const
get the total range of this object.
virtual void GetHTMLActiveAreas(TAreaVector *) const
Get html active areas.
virtual void x_UpdateBoundingBox()=0
Update the bounding box assuming children's sizes are fixed if any.
vector< CHTMLActiveArea > TAreaVector
NCBI_XOBJUTIL_EXPORT string GetTitle(const CBioseq_Handle &hnd, TGetTitleFlags flags=0)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIWIDGETS_SNP_EXPORT
range(_Ty, _Ty) -> range< _Ty >
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
static void SetTitle(CRef< CSeq_entry > entry, string title)