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

NCBI C++ ToolKit: src/gui/graph/graph_panel.cpp Source File

38

: m_pAxisArea(

NULL

),

41

m_GraphOffsetX(80), m_GraphOffsetY(10),

42

m_LegendOffsetX(80), m_LegendH(30),

43

m_LimitsModeX(eGraphLimits),

44

m_LimitsModeY(eGraphLimits),

47

m_bAntiAliasing(

true

),

48

m_BackColor(1.0f, 1.0f, 1.0f),

49

m_GraphBackColor(1.0f, 1.0f, 1.0f)

78  int

LegendOffsetX,

int

LegendH,

bool

bLayout)

140

rcX =

m_Graphs

.front()->GetLimits();

147  if

(rcX.

Width

() == 0)

157

rcY =

m_Graphs

.front()->GetLimits();

242

glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);

244

glEnable(GL_LINE_SMOOTH);

245

glHint(GL_LINE_SMOOTH_HINT, GL_NICEST);

247

glEnable(GL_POINT_SMOOTH);

248

glHint(GL_POINT_SMOOTH_HINT, GL_NICEST);

251

glDisable(GL_LINE_SMOOTH);

252

glDisable(GL_POINT_SMOOTH);

256

glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

262

glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);

class CRgbaColor provides a simple abstraction for managing colors.

#define NON_CONST_ITERATE(Type, Var, Cont)

Non constant version of ITERATE macro.

ELimitsMode m_LimitsModeX

void AddGraph(IGraph *pGraph)

void Render(CGlPane *pAreaPane, CGlPane *pPane, CRegularGridGen *pGenerator) const

void SetFixedLimits(const TModelRect &rcLimits)

vector< SGraphElem * > TElemVector

virtual CAxisArea * CreateAxisArea()

void Render(IGraph::TElemVector *elems=NULL)

void SetRect(const TVPRect &rcAll, bool bLayout=true)

list< IGraph * > TGraphCont

CRegularGridRenderer m_Grid

virtual void Render(CGlPane *pViewport, TElemVector *elems=NULL)

void SetIntegerMode(bool bIntegerX, bool bIntegerY)

void Render(CGlPane *pAreaPane, CGlPane *pGraphPane, CRegularGridGen *pGen)

void SetDrawAxes(bool bDraw)

CRgbaColor m_GraphBackColor

void EnableAntiAliasing(bool bEn)

ELimitsMode m_LimitsModeY

void SetLimitsMode(ELimitsMode ModeX, ELimitsMode ModeY)

void SetBackColor(const CRgbaColor &Color, const CRgbaColor &GraphColor)

void SetIntegerMode(bool IntegerX, bool IntegerY)

CRegularGridGen inline methods.

void SetDrawGrid(bool bDraw)

virtual CLegend * CreateLegend()

void SetLayout(int GraphOffsetX, int GraphOffsetY, int LegendOffsetX, int LegendH, bool bLayout=true)

void SetModelLimitsRect(const TModelRect &R)

void SetViewport(const TVPRect &R)

CGlRect & CombineWith(const CGlRect &r)

TVPRect & GetViewport(void)

TModelRect & GetModelLimitsRect(void)

void glColorC(const CRgbaColor &color)

float GetBlue(void) const

float GetGreen(void) const

float GetAlpha(void) const

float GetRed(void) const

Get specific channels in floating point values.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.


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