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

NCBI C++ ToolKit: include/gui/graph/regular_grid.hpp Source File

1 #ifndef GUI_GRAPH___REGULAR_GRID__HPP 2 #define GUI_GRAPH___REGULAR_GRID__HPP 62  void

SetIntegerMode(

bool

IntegerX,

bool

IntegerY);

65  void

SetCellLimits(

int

Min,

int

Max);

68  void

EnableOneBased(

bool

en_x,

bool

en_y);

69  void

EnableMinusOneBased(

bool

en_x,

bool

en_y);

72  void

SetStep(

double

step);

73  void

SetAutoStepUpdate(

bool f

);

76  void

GenerateGrid(

CGlPane

* pPane,

bool

bHorz);

81  static double

SelectBaseStep(

double

MinV,

double

MaxV );

82  static void

RoundRangeToStep(

double

& Start,

double

& Finish,

double

Step );

83  static double

SelectScreenStep(

double

BaseStep,

double

MinStep,

double

MaxStep);

85  static const int

ms_StepK[];

118

: m_Start(0), m_Finish(0), m_Step(0), m_Iter(0), m_Value(1) {}

121

: m_Start(Start), m_Finish(Finish), m_Step(Step), m_Iter(0), m_Value(Start) {}

140  return

(IsEnd() && I.

IsEnd

()) ||

146  return

! (*

this

==I);

149  bool IsEnd

()

const

{

return

m_Value > m_Finish; }

152

m_Value = m_Start + (++m_Iter) * m_Step;

154  double

snr =

fabs

(m_Value/m_Step);

159  if

(m_Value > m_Finish)

183

{ m_HorzColor = m_VertColor =

color

; }

186

{ m_HorzColor =

color

; }

189

{ m_VertColor =

color

; }

192

{ m_ShowHorzGrid =

f

; }

195

{ m_ShowVertGrid =

f

; }

class CRgbaColor provides a simple abstraction for managing colors.

bool m_AutoStepUpdate

Automatic step generation.

void EnableOneBased(bool en_x, bool en_y)

plus/minus one base to align grid to ruler bars.

bool operator!=(const const_iterator &I) const

void SetShowVertGrid(bool f)

void SetCellLimits(int Min, int Max)

set limitations on the CellSize in pixels.

void SetColor(const CRgbaColor &color)

bool operator==(const const_iterator &I) const

void SetShowHorzGrid(bool f)

const_iterator end() const

void SetAutoStepUpdate(bool f)

const_iterator operator++(int)

const_reference operator*() const

const_iterator(double Start, double Finish, double Step)

void EnableMinusOneBased(bool en_x, bool en_y)

const_iterator begin() const

void SetStep(double step)

allow adjusting step externally.

const_iterator & operator++()

void SetIntegerMode(bool IntegerX, bool IntegerY)

CRegularGridGen inline methods.

void EnableIntegerCentering(bool b_en)

const value_type & const_reference

void SetHorzColor(const CRgbaColor &color)

bool m_bHorz

Generation context.

void SetVertColor(const CRgbaColor &color)

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

#define NCBI_GUIGRAPH_EXPORT

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