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

NCBI C++ ToolKit: include/gui/opengl/glpane.hpp Source File

1 #ifndef GUI_GRAPH___GLPANE__HPP 2 #define GUI_GRAPH___GLPANE__HPP 94

fAdjustAll = fShiftToLimits | fScaleToLimits

103

fZoomXY = fZoomX | fZoomY

107  CGlPane

(EProjMatrixPolicy policy = eAlwaysUpdate);

112  void

SetViewport(

const TVPRect

&

R

);

114  const TVPRect

& GetViewport(

void

)

const

;

119  const TModelRect

& GetModelLimitsRect(

void

)

const

;

124  const TModelRect

& GetVisibleRect(

void

)

const

;

127  void

SetClipRect(

const TVPRect

* rc_clip =

NULL

);

130  const TVPRect

* GetClipRect()

const

;

136  void

EnableOffset(

bool

b_en =

true

);

141  bool

Open(EProjectionMode Mode);

145

EProjectionMode GetProjMode(

void

)

const

;

161  void

SetProportionalMode(

bool set

);

162  bool

IsProportionalMode(

void

)

const

;

164  void

SetOriginType(EOriginType type_x, EOriginType type_y);

165  void

SetAdjustmentPolicy(

int

adjust_x,

int

adjust_y);

166  void

SetAdjustToLimits(

bool

adjust_x,

bool

adjust_y);

169  void

EnableZoom(

bool

en_x,

bool

en_y);

170  bool

IsZoomInAvaiable(

void

);

171  bool

IsZoomOutAvaiable(

void

);

176  void

ZoomAll(

int

options = fZoomXY);

178  void

ZoomInCenter(

int

options = fZoomXY);

180  void

ZoomIn(

TModelPoint

p,

int

options = fZoomXY);

182  void

ZoomOutCenter(

int

options = fZoomXY);

184  void

ZoomOut(

TModelPoint

p,

int

options = fZoomXY);

200  void

SetExactOrthoProjection(

bool

exact_projection);

203  bool

NeedsScrollX(

void

)

const

;

204  bool

NeedsScrollY(

void

)

const

;

213  void

AdjustToLimits();

245  void

x_Open_SetViewport();

247  void

x_UpdateProjectMatrices(

void

);

252  void

x_ShiftToFitLimits(

void

);

253  void

x_ScaleToFitLimits(

void

);

254  void

x_AdjustVisibleRect(

void

);

258  void

x_AssertNotOpen(

void

)

const

;

259  void

x_AssertOrtho(

void

)

const

;

293

GLdouble m_mxProjection[16];

294

GLdouble m_mxModelView[16];

Include a standard set of the NCBI C++ Toolkit most basic headers.

TModelUnit GetZoomFactor(void) const

void SetMinScaleY(TModelUnit scale)

void SetModelLimitsRect(const TModelRect &R)

void ZoomPoint(TModelUnit x, TModelUnit y, TModelUnit factor, int options=fZoomXY)

EOriginType

Specifies what point should be preserved during various coordinate space adjustments.

CGlPaneGuard(CGlPane &pane, CGlPane::EProjectionMode mode)

const TVPRect * m_prcClip

void SetClipRect(const TVPRect *rc_clip=NULL)

set clipping rect that will be used by glScissor, NULL for reset

EAdjustmentPolicy

EAdjustmentPolicy specifies how visible area should be adjusted if some of the prjection parameters c...

EProjMatrixPolicy m_MatrixPolicy

TModelPoint GetOffset() const

CGlPaneGuard(const CGlPaneGuard &)

void x_ShiftToFitLimits(void)

TVPRect & GetViewport(void)

CGlPaneGuard & operator=(const CGlPaneGuard &)

TModelUnit GetOffsetY() const

const TVPRect * GetClipRect() const

returns clipping rect or NULL (if there is no clipping)

bool IsProportionalMode(void) const

TModelRect & GetModelLimitsRect(void)

void SetZoomFactor(TModelUnit factor=2.0)

bool Open(EProjectionMode Mode)

bool m_bExactOrthoProjection

TModelUnit m_OutputUnitScaler

void SetAdjustmentPolicy(int adjust_x, int adjust_y)

TModelUnit GetMinScaleY(void) const

void EnableZoom(bool en_x, bool en_y)

void ZoomIn(TModelUnit x, TModelUnit y, int options=fZoomXY)

void SetAdjustToLimits(bool adjust_x, bool adjust_y)

EZoomOptions

EZoomOptions flags control behavior of Zoom operations.

void SetProportionalMode(bool set)

CGlPane::EProjectionMode m_OrigMode

EProjectionMode GetProjMode(void) const

TModelRect & GetVisibleRect(void)

void SetMinScaleX(TModelUnit scale)

EProjMatrixPolicy

EProjMatrixPolicy controls CGlPane behavior in respect to obtaining projection matrices for future us...

void ZoomOut(TModelUnit x, TModelUnit y, int options=fZoomXY)

TModelUnit GetMinScaleX(void) const

TModelUnit GetOffsetX() const

void SetOutputUnitScaler(TModelUnit u)

Set/get output scaler.

void SetExactOrthoProjection(bool exact_projection)

TModelUnit GetOutputUnitScaler() const

CGlPoint< TModelUnit > TModelPoint

void SetOriginType(EOriginType type_x, EOriginType type_y)

TModelRect m_rcOrigVisible

void EnableOffset(bool b_en=true)

Offset is used as a workaround for OpenGL precision problems emerging when size of visible range is s...

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

#define NCBI_GUIOPENGL_EXPORT

double r(size_t dimension_, const Int4 *score_, const double *prob_, double theta_)


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