();
198 virtual void Viewport(GLint x, GLint y, GLsizei width, GLsizei height);
207 virtual voidMultMatrixf(
constGLfloat* m);
208 virtual voidMultMatrixd(
constGLdouble* m);
214 virtual void Rotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
215 virtual void Rotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
216 virtual voidScaled(GLdouble x, GLdouble y, GLdouble z);
217 virtual void Scalef(GLfloat x, GLfloat y, GLfloat z);
218 virtual void Translated(GLdouble x, GLdouble y, GLdouble z);
219 virtual void Translatef(GLfloat x, GLfloat y, GLfloat z);
221 virtual void Ortho(GLdouble left, GLdouble right,
222GLdouble bottom, GLdouble top,
223GLdouble nearVal, GLdouble farVal);
224 virtual voidPerspective(GLdouble fovy, GLdouble aspect,
225GLdouble zNear, GLdouble zFar);
239 virtual void Enable(GLenum glstate);
240 virtual void Disable(GLenum glstate);
244 virtual void Scissor(GLint x, GLint y,
245GLsizei width, GLsizei height);
252 virtual void LineStipple(GLint factor, GLushort pattern);
254 virtual void BlendFunc(GLenum sfactor, GLenum dfactor);
255 virtual void TexEnvi(GLenum target, GLenum pname, GLint param);
256 virtual voidBlendFuncSeparate(GLenum srcRGB, GLenum dstRGB,
257GLenum srcAlpha, GLenum dstAlpha);
258 virtual voidBlendColor(
const CRgbaColor& c);
294 virtual void Hint(GLenum target, GLenum
mode);
313 virtual void Hint(GLenum target, GLenum
mode);
351 virtual void Vertex3f(GLfloat x, GLfloat y, GLfloat z);
352 virtual void Rectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
354 virtual void Color4f(GLfloat
r, GLfloat
g, GLfloat
b, GLfloat
a);
405 virtual void Enable(GLenum glstate);
406 virtual void Disable(GLenum glstate);
407 virtual void Hint(GLenum target, GLenum
mode);
411 virtual void Scissor(GLint x, GLint y,
412GLsizei width, GLsizei height);
419 virtual void LineStipple(GLint factor, GLushort pattern);
421 virtual void BlendFunc(GLenum sfactor, GLenum dfactor);
422 virtual voidBlendFuncSeparate(GLenum srcRGB, GLenum dstRGB,
423GLenum srcAlpha, GLenum dstAlpha);
424 virtual voidBlendColor(
const CRgbaColor& c);
ncbi::TMaskedQueryRegions mask
CGlModel2D Base class for a model set up for rendering purposes.
CGlVboNode A rendering node that holds a vertex buffer object.
virtual void TexCoord2f(GLfloat s, GLfloat t)
Texture coords.
virtual void BeginText(const CGlTextureFont *font, const CRgbaColor &color)
Text is drawn is pixel coordinates.
virtual void WriteText(TModelUnit x, TModelUnit y, const char *text, TModelUnit rotate_degrees=0.0)
Write text at specified model coords.
CRgbaColor m_TextColor
color and alpha for text only (other GL options do not apply to text)
virtual void Rectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2)
Rect() functions also do Begin() and End() (as in OpenGL)
virtual void Clear()
Clear/delete any graphics/OpenGL memory.
virtual void EndText()
Pops matrices and attributes after writing text.
virtual void End()
Finish rendering (create buffer and send to renderer)
virtual void Viewport(GLint x, GLint y, GLsizei width, GLsizei height)
virtual void Vertex3f(GLfloat x, GLfloat y, GLfloat z)
Explicit support not currently available for: GLbyte, GlShort and GLint calls, e.g.
class CRgbaColor provides a simple abstraction for managing colors.
virtual void Translated(GLdouble x, GLdouble y, GLdouble z)=0
virtual void LoadMatrixd(const GLdouble *m)=0
virtual void Scalef(GLfloat x, GLfloat y, GLfloat z)=0
ELineJoinStyle
Enumerators for non-enumerated state values (e.g. pdf-only state values)
CMatrix4< float > m_ModelView
current modelview matrix and matrix mode
vector< pair< GLbitfield, CGlState > > m_PushedState
state pushed/poped by PushAttrib/PopAttrib and the corresponding bitmask
virtual void Render(CGlPane &pane, CGlModel2D *model)
virtual void Translatef(GLfloat x, GLfloat y, GLfloat z)=0
virtual CMatrix4< float > GetProjectionMatrix() const =0
virtual void Enable(GLenum glstate)=0
virtual void LineStipple(GLint factor, GLushort pattern)=0
Set line stipple pattern: glLineStipple(). Deprecated in gl 3.2+.
virtual void UseProgram(GLuint program)=0
For shaders. Only works with OpenGL 2.0+.
virtual void Rotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z)=0
virtual void BlendFunc(GLenum sfactor, GLenum dfactor)=0
Options to be used when GL_BLEND is enabled.
virtual void ColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)=0
Set the color mask (glColorMask)
virtual CMatrix4< float > GetModelViewMatrix() const =0
virtual void MatrixMode(GLenum mode)=0
virtual void PointSize(GLfloat size)=0
Set point size for drawing: glPointSize()
virtual void LineJoinStyle(IGlState::ELineJoinStyle s)=0
PDF-specific rendering state.
virtual void Scissor(GLint x, GLint y, GLsizei width, GLsizei height)=0
Set clipping window: glScissor(x,y,width,height)
void RectC(const TVPRect &rc)
virtual void PdfShadeStyle(IGlState::EPdfShadeStyle s)=0
Set (override defualt) shading style for polygons.
void SetTextColor(const CRgbaColor &color)
Update text color and alpha.
virtual void x_RenderBuffer(CGlVboNode *node)
virtual void PopAttrib()=0
virtual void PushAttrib(GLbitfield mask)=0
virtual void LoadIdentity()=0
virtual void PopMatrix()=0
virtual void ShadeModel(GLenum mode)=0
Set shade model for default lighting: glShadeModel(GL_FLAT or GL_SMOOTH)
virtual void UseProgram(GLuint program)
For shaders. Only works with OpenGL 2.0+.
ERenderTarget
Different api levels based on information from OpenGL driver.
virtual void Rotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z)=0
virtual void TexEnvi(GLenum target, GLenum pname, GLint param)=0
virtual void PolygonMode(GLenum face, GLenum mode)=0
Set the polygon rasterization mode.
virtual void PolygonStipple(GLubyte *mask)=0
Set polygon stipple pattern: glPolygonStipple(). Deprecated in gl 3.2+.
void Color4f(GLfloat r, GLfloat g, GLfloat b, GLfloat a)
virtual ERenderTarget GetApi()
Overridden in subclasses to return the supported rendering target.
virtual ERenderTarget GetApi()
Overridden in subclasses to return the supported rendering target.
virtual void LoadMatrixf(const GLfloat *m)=0
virtual ~CGlRenderDebug()
virtual void LineCapStyle(IGlState::ELineCapStyle c)=0
Set line cap ending style (pdf only)
CRgbaColor GetTextColor() const
virtual void Disable(GLenum glstate)=0
glDisable()
virtual void Ortho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble nearVal, GLdouble farVal)=0
virtual void Hint(GLenum target, GLenum mode)=0
virtual void LineWidth(GLfloat w)=0
Set line width for drawing: glLineWidth()
virtual ERenderTarget GetApi()
Overridden in subclasses to return the supported rendering target.
virtual void PushMatrix()=0
virtual CMatrix4< float > GetModelViewMatrix() const
CBeginInfo Begin(C &obj)
Get starting point of object hierarchy.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIOPENGL_EXPORT
static void text(MDB_val *v)
double r(size_t dimension_, const Int4 *score_, const double *prob_, double theta_)
Standard mechanism to include OpenGL headers for all platforms.
int g(Seg_Gsm *spe, Seq_Mtf *psm, Thd_Gsm *tdg)
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