1 #ifndef GUI_WIDGETS_SEQ_GRAPHIC___SEGMENT_SMEAR_GLYPH__HPP
2 #define GUI_WIDGETS_SEQ_GRAPHIC___SEGMENT_SMEAR_GLYPH__HPP
94 virtual void x_Draw()
const;
97 void x_DrawGaps()
const;
class CDensityMap generates a low-resolution view of a set of features.
CSegMap(TSeqPos start=0, TSeqPos stop=0, double window=1, accum_functor *func=NULL, TValueType def=0)
std::vector< SRangeItem > m_RangesCache
CSegMap(const objects::CBioseq_Handle &handle, double window=1, accum_functor *func=NULL, TValueType def=0)
vector< CRgbaColor > TColorCode
unique_ptr< CSegMap > m_SegMap
void SetColorCode(const TColorCode &colors)
CSegmentSmearGlyph inline methods.
TColorCode m_Colors
color code for segment map.
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 void x_UpdateBoundingBox()=0
Update the bounding box assuming children's sizes are fixed if any.
A very basic data-read interface.
A very basic data-write interface.
static const Colors colors
unsigned int TSeqPos
Type for sequence locations and lengths.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIWIDGETS_SEQGRAPHIC_EXPORT
range(_Ty, _Ty) -> range< _Ty >
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
TEMPLATE binary functor base struct.
void Serialize(CNcbiOstream &, const CRawScoreVector< Key, Score > &)
Generics These throw an exception; we must implement serialization for each type.
void Deserialize(CNcbiIstream &istr, CRawScoreVector< Key, Score > &)