DECLARE_EVENT_TABLE()
185 void OnLeftUp(wxMouseEvent& event);
186 void OnMotion(wxMouseEvent& event);
214 typedeflist<CHitElemGlyph*>
TPath;
CHitElemGlyph is a simple graphical object representing a Hit Element.
double GetDistPixels(CGlPane &pane, const TVPPoint &pt) const
return shortest distance in pixels from the given point in viewport to the graphical representation o...
void GetModelRect(TModelRect &rc) const
void Render(CGlPane &pane, ERenderingPass what)
void SetSelected(bool b_set)
void SetColorIndex(int index)
int GetColorIndex() const
bool InRect(CGlPane &pane, const TVPRect &rc) const
returns true if hit is contained by the given rectangle (in VP coordinates)
bool Intersects(CGlPane &pane, const TVPRect &rc) const
returns true if hit is intersected by the given rectangle (in VP coordinates)
const IHitElement * m_HitElem
CHitElemGlyph(const IHitElement &hit_elem)
const IHitElement & GetHitElem() const
CHitGlyph is a simple graphical object representing a Hit as a set of corresponding Hit Elements.
const IHit & GetHit() const
CHitGlyph(const IHit &p_hit)
c'tor creates child CHitElemGlyph-s
vector< CHitElemGlyph > TElemGlyphCont
TElemGlyphCont & GetElems()
void Render(CGlPane &pane, CHitElemGlyph::ERenderingPass what)
void SetColorIndex(int index)
CRgbaColor m_HighLightColor
void OnMotion(wxMouseEvent &event)
list< CHitElemGlyph * > TPath
THitGlyphVector m_vGlyphs
void x_CancelSelRectMode()
CRgbaGradColorTable m_ColorTable
IHitMatrixGraphHost * m_Host
event handling
void DrawConnections(bool draw)
virtual void x_RenderPath(CGlPane &pane)
bool x_SelectTest() const
CRgbaColor m_ProjLinesColor
void OnLeftUp(wxMouseEvent &event)
CRgbaColor m_ProjBackColor
const TElemGlyphSet & GetSelectedGlyphs() const
void AssignColorsByScore(const SHitColoringParams *params)
virtual void SetPane(CGlPane *pane)
virtual void x_RenderSelection(CGlPane &pane)
const CRgbaColor & GetColorByIndex(int index)
void Render(CGlPane &pane)
void SelectGlyph(const CHitGlyph &glyph)
virtual void DeleteGlyphs()
const SHitColoringParams * m_ColoringParams
virtual wxEvtHandler * GetEvtHandler()
void x_OnSelectCursor(void)
const THitGlyphVector & GetGlyphs() const
CRgbaColor m_DefaultColor
void OnLeftDown(wxMouseEvent &event)
event handlers
virtual void x_RenderEventHandler(CGlPane &pane)
void OnMouseCaptureLost(wxMouseCaptureLostEvent &evt)
void OnKeyEvent(wxKeyEvent &event)
virtual void CreateGlyph(const IHit &hit_elem)
vector< CHitGlyph * > THitGlyphVector
bool x_SelectByPoint(bool b_inc, bool toggle)
bool m_MoveDuringSelection
@ eSelRect
selecting a single glyph by point
void x_SelectByRect(bool inc, bool neg)
inc - incremental, "neg" - negative (toggle select)
bool x_IsColoringEnabled()
void ResetGlyphSelection()
set< CHitElemGlyph * > TElemGlyphSet
IGenericHandlerHost * GetGenericHost()
virtual void x_RenderHits(CGlPane &pane)
TElemGlyphSet m_SelGlyphs
primary storage for glyphs
int m_CurrColorIndex
rendering state
TPathCont m_Paths
set of selected Glyphs (hit elements)
void SetHost(IHitMatrixGraphHost *host)
class CRgbaColor provides a simple abstraction for managing colors.
CRgbaGradColorTable Provides a storage for colors (to eliminate color creation overhead) and Function...
virtual ~IHitMatrixGraphHost()
virtual TVPUnit HMGH_GetVPPosByY(int y) const =0
virtual void HMGH_OnChanged(void)=0
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
The NCBI C++/STL use hints.
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