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

NCBI C++ ToolKit: src/gui/opengl/glrendernode.cpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

41

, m_PixelOffset(0.0f, 0.0f)

74

vector<ERenderTarget>::iterator iter;

96

vector<ERenderTarget>::const_iterator iter;

146  float a

= atan2f(sin_a, cos_a);

149

rm(0, 0) = cosf(

a

);

150

rm(0, 1) = -sinf(

a

);

151

rm(1, 0) = sinf(

a

);

152

rm(1, 1) = cosf(

a

);

169

pix_offset = rm*pix_offset;

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

void SkipTarget(ERenderTarget target, bool skip)

Turn off visibility for individual render targets.

void SetDefaultPosition()

Set 1 transformation and have it be the identity matrix.

virtual void Render()

Set state and call x_Render() to render geometry.

CMatrix4< float > GetTransformedPosition(size_t idx)

return the position with rotation and pixel offset baked in

IRender & GetGl()

convenience function for getting current render manager

CVect2< TModelUnit > GetScaleFactor() const

CVect2< float > m_PixelOffset

Pixel offset to apply to object.

vector< CMatrix4< float > > m_Positions

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

void SetPosition(const CMatrix4< float > &mat)

Set 1 transformation and have it be "mat".

virtual void x_Render()

Does actual rendering work.

void SetState(CGlState *state)

Set/get current OpenGL state.

CRef< CGlState > m_State

OpenGL state.

void MakeCurrent(ERenderTarget target)

Set current options.

float m_RotAngleZ

Optional rotation angle to rotate object around Z axis.

ERenderTarget

Different api levels based on information from OpenGL driver.

virtual ERenderTarget GetApi()=0

vector< ERenderTarget > m_SkippedTargets

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

bool IsSkipped(ERenderTarget target) const

bool GetScaleInvarient() const

void Reset(void)

Reset reference object.

TObjectType & GetNCObject(void) const

Get object.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.


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