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/ld__glyph_8cpp_source.html below:

NCBI C++ ToolKit: src/gui/packages/pkg_snp/ld/ld_glyph.cpp Source File

51  CRegexp

rgxChr(

"(\\d\\d)(\\.\\d+)?$"

);

56  else if

(

id

.IsOther())

57

acc =

id

.GetOther().GetAccession();

62  string

sub = rgxChr.

GetSub

(acc,1);

86  string

url, url_base, start, stop, chr;

87

url_base =

"https://hapmap1.be-md.ncbi.nlm.nih.gov/cgi-perl/gbrowse/hapmap27_B36/?"

;

94

url = url_base + start + stop + chr;

123  const int

binHeight = 10;

151  unsigned int

dc = (

unsigned int

)((cScore * 9)+.5);

152

dc = min<unsigned int>(dc, 6);

153  unsigned char B

= 225 + (5 *dc);

154  unsigned char G

= 32 + (32*dc);

155  unsigned char R

= 32 + (32*dc);

164

gl.

Begin

(GL_TRIANGLE_STRIP);

virtual bool OnLeftDblClick(const TModelPoint &p)

virtual void x_Draw() const

The default renderer for this layout object.

virtual void x_UpdateBoundingBox()

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

virtual bool IsClickable() const

Query if this glyph is clickable.

CConstRef< objects::CSeq_loc > m_Location

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

Get the tooltip if available.

virtual TSeqRange GetRange(void) const

get the total range of this object.

CLDBlockGlyph(const objects::CMappedFeat &feat)

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

Check if need to show tooltip.

void TextOut(const CGlTextureFont *font, const char *text, TModelUnit x, TModelUnit y, bool center, bool adjust_flip=true) const

const TModelUnit & GetOffset() const

void DrawRect(const TModelRect &rc) const

objects::CScope & GetScope()

bool WillLabelFit(const TModelRect &rc) const

class CRgbaColor provides a simple abstraction for managing colors.

CRenderingContext * m_Context

the rendering context

virtual void SetHeight(TModelUnit h)

virtual void SetWidth(TModelUnit w)

virtual void SetLeft(TModelUnit l)

virtual TModelUnit GetTop() const

virtual TModelUnit GetHeight() const

namespace ncbi::objects::

const CUser_field & GetField(const string &str, const string &delim=".", NStr::ECase use_case=NStr::eCase) const

Access a named field in this user object.

virtual void Begin(GLenum mode)=0

Start rendering.

void Color3f(GLfloat r, GLfloat g, GLfloat b)

IRender & GetGl()

convenience function for getting current render manager

void Vertex2d(GLdouble x, GLdouble y)

virtual void ShadeModel(GLenum mode)=0

Set shade model for default lighting: glShadeModel(GL_FLAT or GL_SMOOTH)

virtual void End()=0

Finish rendering (create buffer and send to renderer)

virtual void ColorC(const CRgbaColor &c)=0

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

@ eFontFace_Helvetica_Bold

virtual void AddRow(const string &sContents="", unsigned colspan=2)=0

add a row with a cell, spanning across all columns

void Lighten(float scale)

static bool PopupURL(const string &url)

launch an application to handle a URL

const CSeq_id * GetId(void) const

Get the id of the location return NULL if has multiple ids or no id at all.

string GetAccessionForGi(TGi gi, CScope &scope, EAccessionVersion use_version=eWithAccessionVersion, EGetIdType flags=0)

Retrieve the accession for a given GI.

const CSeq_loc & GetLocation(void) const

const CSeq_feat & GetOriginalFeature(void) const

Get original feature with unmapped location/product.

void Reset(void)

Reset reference object.

position_type GetLength(void) const

position_type GetToOpen(void) const

bool IsMatch(CTempString str, TMatch flags=fMatch_default)

Check existence substring which match a specified pattern.

CTempString GetSub(CTempString str, size_t idx=0) const

Get pattern/subpattern from previous GetMatch().

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

static string DoubleToString(double value, int precision=-1, TNumToStringFlags flags=0)

Convert double to string.

static int StringToInt(const CTempString str, TStringToNumFlags flags=0, int base=10)

Convert string to int.

static string IntToString(int value, TNumToStringFlags flags=0, int base=10)

Convert int to string.

static const char label[]

TFrom GetFrom(void) const

Get the From member data.

const TData & GetData(void) const

Get the Data member data.

TInt GetInt(void) const

Get the variant data.

TReal GetReal(void) const

Get the variant data.

const TData & GetData(void) const

Get the Data member data.

const TUser & GetUser(void) const

Get the variant data.

unsigned int

A callback function used to compare two keys in a database.

static string s_ChrName(const CSeq_loc &loc, CScope *scope)

C++ wrappers for the Perl-compatible regular expression (PCRE) library.


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