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

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

Go to the documentation of this file.

Go to the SVN repository for this file.

1 #ifndef GUI_OPENGL___GL_COLOR_TABLE__HPP 2 #define GUI_OPENGL___GL_COLOR_TABLE__HPP 68  size_t

GetSize()

const

;

69  void

SetSize(

size_t size

);

75  inline const CRgbaColor

& operator[](

int i

)

const

;

78  bool

FindColor(

const CRgbaColor

& c,

size_t

& idx)

const

;

82  float

FindClosestColor(

const CRgbaColor

& c,

size_t

& idx)

const

;

86  inline int

GetIndex(

double

norm)

const

;

99  void

FillGradient(

int

start_i,

int n

,

106  void

FillGradient(

int

start_i,

int n

,

118  void

LoadTexture(

int

alpha_levels = 8);

124  float

GetColorTexCoord(

short

idx,

float

alpha)

const

;

179  int

index = (

int

) floor(norm *

m_Colors

.size());

class CRgbaColor provides a simple abstraction for managing colors.

CRgbaGradColorTable Provides a storage for colors (to eliminate color creation overhead) and Function...

CRgbaColor & GetColor(CSeqFeatData::ESubtype subtype)

GLsizei m_TextureWidth

Width of the 1D texture (if created).

vector< CRgbaColor > m_Colors

int m_TextureAlphaLevels

Number of alpha levels stored in the texture.

GLint m_MaxColorTableSize

Maximum size of color texture.

int GetIndex(double norm) const

returns color index by the normalized value; normalized values is a value in the [0....

CIRef< I3DTexture > m_Texture

CRgbaColor & operator[](int i)

I3DTexture * GetTexture()

Return object holding the 1D texture.

CRgbaColor & GetColor(size_t i)

CObject & operator=(const CObject &src) THROWS_NONE

Assignment operator.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

#define NCBI_GUIOPENGL_EXPORT

unsigned int

A callback function used to compare two keys in a database.

const struct ncbi::grid::netcache::search::fields::SIZE size

Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.

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