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

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

Go to the documentation of this file.

Go to the SVN repository for this file.

1 #ifndef GUI_OPENGL___GL_RENDER_NODE__HPP 2 #define GUI_OPENGL___GL_RENDER_NODE__HPP 68  virtual void

Render();

90  void

SetDefaultPosition();

CGlObject Base class for OpenGl objects like buffers and models.

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

CGlState Class to encapsulate Rendering state so that a set of user-selected GL state options can be ...

CVect2< float > GetPixelOffset() const

CVect2< float > m_PixelOffset

Pixel offset to apply to object.

vector< CMatrix4< float > > & GetPositions()

return the current set of transformations for thisnode

vector< CMatrix4< float > > m_Positions

Set of positions (transformations) at which to render this node.

void SetPixelOffset(const CVect2< float > &off)

Set/Get offset in pixels.

void SetRotationZ(float a)

Apply scale-dependent rotation (radians) around z (to all instances)

virtual void x_Render()

Does actual rendering work.

CRef< CGlState > m_State

OpenGL state.

void AddPosition(const CMatrix4< float > &mat)

Add a new position.

float m_RotAngleZ

Optional rotation angle to rotate object around Z axis.

ERenderTarget

Different api levels based on information from OpenGL driver.

vector< ERenderTarget > m_SkippedTargets

Set of rendering targets for which this node will not be rendered even if m_Visible is true.

void SetVisible(bool b)

Set/get node visibility.

bool m_Visible

If false, do not render node contents.

#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