131 string read_range = iter->second;
132 if (!read_range.empty()) {
133 string range_min, range_max;
135 if (!range_min.empty() && range_min !=
"inf") {
138 if (!range_max.empty() && range_max !=
"inf") {
160 const auto& fr = *
dynamic_cast<const CIntronGlyph*
>(gr.GetPointer());
187 string msg =
"Filtered (read count from ";
210 p_areas->push_back(area);
virtual void x_OnIconClicked(TIconID id)
Mouse left-click event handler on an icon.
virtual void x_OnLayoutPolicyChanged()
CRef< CColumnLayout > m_Column
CRef< CSGFeatureDS > m_DS
objects::SAnnotSelector m_FeatSel
virtual void x_ParseSettings(const TKeyValuePairs &settings)
@ eLayout_ExpandedColumn
show all features with column layout
@ eLayout_AdaptiveInline
adaptively switch between packed and inline
@ eLayout_ExpandedByPos
show all features, one per row sorted by pos
@ eLayout_ExpandedBySize
one feature per row sorted by size
ELinkedFeatDisplay m_LinkedFeat
virtual void x_UpdateBoundingBox()
Update the bounding box assuming children's sizes are fixed if any.
virtual void GetHTMLActiveAreas(TAreaVector *p_areas) const
Get html active areas.
CRef< CInlineLayout > m_Inline
CRef< CLayeredLayout > m_Layered
CRef< CSimpleLayout > m_Simple
@ fNoHighlight
no highlighting on mouse over
@ fDrawBackground
highlight background for this area
@ fComment
render a label/comment on client side
@ fNoSelection
the object can't be selected
@ fTooltipEmbedded
tooltip embedded
string m_ID
area identifier
int m_Flags
area flags, will need to replace m_Type
string m_ParentId
parent entity idendifier, such as track_id
bool m_PositiveStrand
the default is true
virtual void x_UpdateBoundingBox()
Update the bounding box assuming children's sizes are fixed if any.
virtual void x_OnIconClicked(TIconID id)
Mouse left-click event handler on an icon.
virtual void x_LoadFeatures(const TSeqRange &range, int feat_limit)
void x_OnSettingsIconClicked()
virtual void x_OnLayoutPolicyChanged()
virtual void x_ParseSettings(const TKeyValuePairs &settings)
CIntronTrack(CSGFeatureDS *ds, CRenderingContext *r_cntx)
CIntronTrack.
virtual void GetHTMLActiveAreas(TAreaVector *p_areas) const
Get html active areas.
void SetFillEmptySpaces(bool f=true)
@ eIcon_Settings
icon id for track settings
const string & GetId() const
TModelUnit x_GetTBHeight() const
Get title bar height including margin.
int TIconID
use int as TIconID instead of EIconID.
CRenderingContext offers the basic context and utility methods for rendering layout objects in featur...
const TModelUnit & GetScale() const
void SetSortBy(const string &sortby)
virtual void LoadFeatures(objects::SAnnotSelector &sel, const TSeqRange &range, TModelUnit window, TJobToken token=-1, int max_feat=-1, ELinkedFeatDisplay LinkedFeatDisplay=ELinkedFeatDisplay::eLFD_Default, const string &extra_filter="")
void x_InitHTMLActiveArea(CHTMLActiveArea &area) const
initialize the basic information for a given active area.
CRenderingContext * m_Context
the rendering context
virtual void SetHeight(TModelUnit h)
virtual TModelUnit GetTop() const
virtual TModelUnit GetHeight() const
virtual void SetTop(TModelUnit b)
vector< CHTMLActiveArea > TAreaVector
static void DecodeValueRange(const string &value_range, string &range_min, string &range_max, bool &range_auto)
void SetSorter(TSorter &sorter)
std::function< bool(const CRef< CSeqGlyph > &, const CRef< CSeqGlyph > &)> TSorter
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
void swap(NCBI_NS_NCBI::pair_base_member< T1, T2 > &pair1, NCBI_NS_NCBI::pair_base_member< T1, T2 > &pair2)
#define LOG_POST(message)
This macro is deprecated and it's strongly recomended to move in all projects (except tests) to macro...
const string & GetMsg(void) const
Get message string.
void Warning(CExceptionArgs_Base &args)
IRender & GetGl()
convenience function for getting current render manager
virtual bool IsPrinterFriendly() const =0
TObjectType * GetPointer(void) THROWS_NONE
Get pointer,.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static bool StringToBool(const CTempString str)
Convert string to bool.
static string Join(const TContainer &arr, const CTempString &delim)
Join strings using the specified delimiter.
static bool EqualNocase(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2)
Case-insensitive equality of a substring with another string.
static enable_if< is_arithmetic< TNumeric >::value||is_convertible< TNumeric, Int8 >::value, string >::type NumericToString(TNumeric value, TNumToStringFlags flags=0, int base=10)
Convert numeric value to string.
@ fConvErr_NoThrow
Do not throw an exception on error.
void SetFrom(TFrom value)
Assign a value to From data member.
void SetTo(TTo value)
Assign a value to To data member.
range(_Ty, _Ty) -> range< _Ty >
double f(double x_, const double &y_)