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

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

Go to the documentation of this file.

Go to the SVN repository for this file.

1 #ifndef GUI_OPENGL___GL_VBO_NODE__HPP 2 #define GUI_OPENGL___GL_VBO_NODE__HPP 80  void

SetVBOGeom(GLenum drawMode);

84  size_t GetVertexCount

()

const

{

return

m_VBOGeom ? m_VBOGeom->GetVertexCount() : 0; }

90 

GLenum

GetDrawMode

()

const

{

return

(m_VBOGeom==

NULL

) ? GL_INVALID_ENUM : m_VBOGeom->GetDrawMode();}

100  void

SetColorBuffer(

const

vector<CRgbaColor>&

data

);

101  void

GetColorBuffer(vector<CRgbaColor>&

data

)

const

;

106  void

SetTexCoordBuffer1D(

const

vector<float>&

data

);

107  void

GetTexCoordBuffer1D(vector<float>&

data

)

const

;

112  void

Get2DVertexBuffer(std::vector<

CVect2<float>

>& verts)

const

;

114  bool

GetColors(std::vector<CRgbaColor>&

colors

,

bool

is_greyscale)

const

;

119  bool

GetDefaultColor(

CRgbaColor

& default_color,

bool

is_greyscale)

const

;

CGlRenderNode A unit of renderable geometry and the associated state information needed for rendering...

CGlVboNode A rendering node that holds a vertex buffer object.

class CRgbaColor provides a simple abstraction for managing colors.

static const Colors colors

CIRef< IVboGeom > m_VBOGeom

subclass for vboset representing point, line, tri or quad geometry

CIRef< IVboGeom > GetVBOGeom()

virtual void x_Render()

Does actual rendering work.

void SetVBOGeom(IVboGeom *geom)

Set/get geometry object. These can be shared between nodes.

size_t GetVertexCount() const

GLenum GetDrawMode() const

Return the current drawing mode (e.g.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

#define NCBI_GUIOPENGL_EXPORT

Standard mechanism to include OpenGL headers for all platforms.


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