A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/gmark__glyph_8cpp_source.html below:

NCBI C++ ToolKit: src/gui/packages/pkg_snp/bins/gmark_glyph.cpp Source File

50  const string

& annot_name,

53  const string

& trackSubType)

75

sprintf(buff,

"gi|%d-%08x-%08x-%04x-%08x-%08x"

,

77  type

, checksum, checksum_name);

88

objects::CScope * scope)

90

, m_GeneMarkers(GeneMarkers)

91

, m_bHasSignatures(

false

)

110  TSeqRange

range = (*iGeneMarkers)->range;

126

p_areas->push_back(area);

142  TSeqRange

range = (*iGeneMarkers)->range;

144  if

(range.

GetFrom

() <= pos.

X

() && pos.

X

() <= range.

GetTo

()) {

181

(*iGeneMarkers)->range,

182

(*iGeneMarkers)->m_SigEntry->trackSubType);

209  string

sColorKey(

"Default"

);

216

sColorBinKey =

"PValue"

;

221  TSeqRange

range = (*iGeneMarkers)->range;

224

x2 = range.

GetTo

() + 1;

230

gl.

Color4f

(.76f,.76f,.76f, 1.0f);

234

gl.

Color4f

(0.0f, 0.0f,0.0f, 1.0f);

static CRef< CScope > m_Scope

Checksum and hash calculation classes.

CConstRef< CSeqGraphicConfig > GetGlobalConfig() const

expose global configuration

CChecksum – Checksum calculator.

void x_BuildSignatures() const

const string & GetAnnotName() const

const string & GetTitle() const

list< CRef< objects::NSnpBins::SBin > > TGeneMarkers

virtual void x_UpdateBoundingBox()

Update the bounding box assuming children's sizes are fixed if any.

CGeneMarkerGlyph(const TGeneMarkers &values, const objects::CSeq_loc &loc, objects::CScope *scope)

virtual void GetTooltip(const TModelPoint &p, ITooltipFormatter &tt, string &t_title) const

Get the tooltip if available.

CRef< objects::CScope > m_Scope

virtual void GetHTMLActiveAreas(TAreaVector *p_areas) const

Get html active areas.

virtual bool NeedTooltip(const TModelPoint &p, ITooltipFormatter &tt, string &t_title) const

Check if need to show tooltip.

CConstRef< objects::CSeq_loc > m_Location

string x_GetColorTheme() const

static string GenerateGeneMarkerSignature(const string &title, const string &annot_name, TGi gi, TSeqRange range, const string &trackSubType)

virtual bool IsClickable() const

Query if this glyph is clickable.

TGeneMarkers m_GeneMarkers

virtual bool OnLeftDblClick(const TModelPoint &p)

virtual void x_Draw() const

The default renderer for this layout object.

virtual TSeqRange GetRange(void) const

get the total range of this object.

static CGuiRegistry & GetInstance()

access the application-wide singleton

@ fNoPin

tooltip is not pinnable

@ fNoSelection

the object can't be selected

int m_Flags

area flags, will need to replace m_Type

class CRegistryReadView provides a nested hierarchical view at a particular key.

TVPUnit SeqToScreenXClipped(const TModelUnit &size) const

void DrawRect(const TModelRect &rc) const

void DrawQuad(const TModelRect &rc, bool border=false) const

bool IsFlippedStrand() const

class CRgbaColor provides a simple abstraction for managing colors.

static CRegistryReadView GetColorReadView(const CGuiRegistry &reg, const string &base_key, const string &sect, const string &key, const string &def_sect="")

Create a read view specifically for 'Color' section.

static void GetColor(const CRegistryReadView &view, const string &key, CRgbaColor &color)

class CSeqGlyph defines an interface that wraps a rectilinear abstract object.

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)

const CRenderingContext * GetRenderingContext() const

Get the rendering context.

virtual void SetWidth(TModelUnit w)

virtual void SetLeft(TModelUnit l)

virtual TModelUnit GetTop() const

vector< CHTMLActiveArea > TAreaVector

const CSeqGlyph * GetParent(void) const

const string & GetColorTheme() const

@ eGAP

dbGaP analysis files

#define ITERATE(Type, Var, Cont)

ITERATE macro to sequence through container elements.

#define NON_CONST_ITERATE(Type, Var, Cont)

Non constant version of ITERATE macro.

void AddLine(const char *line, size_t len)

Uint4 GetChecksum(void) const

Return calculated checksum.

IRender & GetGl()

convenience function for getting current render manager

void Color4f(GLfloat r, GLfloat g, GLfloat b, GLfloat a)

void SetHorz(T left, T right)

virtual void ColorC(const CRgbaColor &c)=0

Set current color (glColor{3,4}{f,d}{v,})

static string PValueAsColorKey(double pvalue)

preferred colorings for a given pvalue

virtual bool IsEmpty() const =0

Indicates if the tooltip is empty.

static void GetBinTooltip(const NSnpBins::SBin &bin, CIRef< ITooltipFormatter > pFormatter, TGi gi, const std::string &colorTheme)

generate a tooltip for a given bin object and put it into the formatter

static const int c_BinHeight

TGi GetGiForId(const objects::CSeq_id &id, CScope &scope, EGetIdType flags=0)

Given a Seq-id retrieve the corresponding GI.

uint32_t Uint4

4-byte (32-bit) unsigned integer

uint16_t Uint2

2-byte (16-bit) unsigned integer

position_type GetLength(void) const

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

TTo GetTo(void) const

Get the To member data.

TFrom GetFrom(void) const

Get the From member data.


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