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

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

Go to the documentation of this file.

Go to the SVN repository for this file.

1 #ifndef GUI_OPENGL___GL_MODEL2D__HPP 2 #define GUI_OPENGL___GL_MODEL2D__HPP 71  virtual void

SyncBuffers();

73  virtual void

ClearAll();

75  virtual void

ClearArrays();

79  virtual void

Render(

CGlPane

& pane);

85  CGlVboNode

* FindGeomNode(

const string

& name);

90  bool

visible =

true

);

95  bool

visible =

true

);

100  bool

visible =

true

);

102  CGlVboNode

* AddGeomNode(

const string

& name,

104  bool

visible =

true

);

106

vector<CGlVboNode*>&

GetNodes

() {

return

m_GeomNodes; }

114  const string

& name);

119  CGlVboNode

* AddTempGeomNode(

const string

& name,

120  bool

visible =

true

);

121  CGlVboNode

* AddTempGeomNode(GLenum node_type,

123  bool

visible =

true

);

131

GLdouble m_ModelviewMatrix[16];

132

GLdouble m_ProjectionMatrix[16];

CGlModel2D Base class for a model set up for rendering purposes.

CGlObject Base class for OpenGl objects like buffers and models.

CGlVboNode A rendering node that holds a vertex buffer object.

vector< CIRef< IVboGeom > > & GetGeomObjects()

vector< CGlVboNode * > m_GeomNodes

Set of rendernodes with vertex buffer objects.

vector< CGlVboNode * > & GetTempNodes()

vector< CIRef< IVboGeom > > m_GeomObjects

Geometry to use in nodes (can be shared between nodes)

vector< CGlVboNode * > m_TempGeomNodes

Set of single-use rendernodes (which may use geom from m_Geom) These are deleted when ClearArrays is ...

virtual void RenderPDF(CGlPane &pane, CRef< CPdf > &pdf)

Draw to PDF file (base funcions in cpdf::PrintModel)

vector< CGlVboNode * > & GetNodes()

#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