GLMAPGRID


HOME

GLMAPGRID

NAME
C SPECIFICATION
PARAMETERS
DESCRIPTION
ERRORS
ASSOCIATED GETS
SEE ALSO

NAME

glMapGrid1d, glMapGrid1f, glMapGrid2d, glMapGrid2f − define a one- or two-dimensional mesh

C SPECIFICATION

void glMapGrid1d( GLint un,

GLdouble u1,

GLdouble u2 )

void glMapGrid1f( GLint un,

GLfloat u1,

GLfloat u2 )

void glMapGrid2d( GLint un,

GLdouble u1,

GLdouble u2,

GLint vn,

GLdouble v1,

GLdouble v2 )

void glMapGrid2f( GLint un,

GLfloat u1,

GLfloat u2,

GLint vn,

GLfloat v1,

GLfloat v2 )

PARAMETERS

un

Specifies the number of partitions in the grid range interval [u1, u2]. Must be positive.

u1, u2

Specify the mappings for integer grid domain values $i~=~0$ and $i~=~"un"$.

vn

Specifies the number of partitions in the grid range interval [v1, v2]

(glMapGrid2 only).

v1, v2

Specify the mappings for integer grid domain values $j~=~0$ and $j~=~"vn"$
(glMapGrid2 only).

DESCRIPTION

glMapGrid and glEvalMesh are used together to efficiently generate and evaluate a series of evenly-spaced map domain values. glEvalMesh steps through the integer domain of a one- or two-dimensional grid, whose range is the domain of the evaluation maps specified by glMap1 and glMap2.

glMapGrid1 and glMapGrid2 specify the linear grid mappings between the $i$ (or $i$ and $j$) integer grid coordinates, to the $u$ (or $u$ and $v$) floating-point evaluation map coordinates. See glMap1 and glMap2 for details of how $u$ and $v$ coordinates are evaluated.

glMapGrid1 specifies a single linear mapping such that integer grid coordinate 0 maps exactly to u1, and integer grid coordinate un maps exactly to u2. All other integer grid coordinates $i$ are mapped so that

glMapGrid2 specifies two such linear mappings. One maps integer grid coordinate $i~=~0$ exactly to u1, and integer grid coordinate $i~=~"un"$ exactly to u2. The other maps integer grid coordinate $j~=~0$ exactly to v1, and integer grid coordinate $j~=~"vn"$ exactly to v2. Other integer grid coordinates $i$ and $j$ are mapped such that

The mappings specified by glMapGrid are used identically by glEvalMesh and glEvalPoint.

ERRORS

GL_INVALID_VALUE is generated if either un or vn is not positive.

GL_INVALID_OPERATION is generated if glMapGrid is executed between the execution of glBegin and the corresponding execution of glEnd.

ASSOCIATED GETS

glGet with argument GL_MAP1_GRID_DOMAIN
glGet
with argument GL_MAP2_GRID_DOMAIN
glGet
with argument GL_MAP1_GRID_SEGMENTS
glGet
with argument GL_MAP2_GRID_SEGMENTS

SEE ALSO

glEvalCoord(3G), glEvalMesh(3G), glEvalPoint(3G), glMap1(3G), glMap2(3G)



More Linux Commands

manpages/XML::Perl2SAX.3pm.html
XML::Perl2SAX(3pm) - translate Perl SAX methods to Java/CORB
XML::Perl2SAX is a SAX filter that translates Perl style SAX methods to Java/CORBA style method calls. This module performs the inverse operation from XML::SAX2

manpages/delpart.8.html
delpart(8) - simple wrapper around the "del partition" ioctl
delpart is a program that asks the Linux kernel to remove a partition. This command doesnt manipulate partitions on a hard drive. OPTIONS device Specify the dis

manpages/XResizeRequestEvent.3.html
XResizeRequestEvent(3) - ResizeRequest event structure......
The structure for ResizeRequest events contains: typedef struct { int type; /* ResizeRequest */ unsigned long serial; /* # of last request processed by server *

manpages/gjdoc.1.html
gjdoc(1) - Documentation generation framework for Java sourc
Gjdoc can be used in two ways: as a stand-alone documentation tool, or as a driver for a user-specified Doclet. In the default mode, Gjdoc will use the Standard

manpages/pcre16_compile2.3.html
pcre16_compile2(3) Perl-compatible regular expressions......
This function compiles a regular expression into an internal form. It is the same as pcre[16|32]_compile(), except for the addition of the errorcodeptr argument

manpages/intro6.html
intro(6) - Introduction to games (Games - Linux manual page)
Section 6 of the manual describes all the games and funny little programs available on the system. NOTES Authors and copyright conditions Look at the header of

manpages/Pod::Parser.3pm.html
Pod::Parser(3pm) - base class for creating POD filters and t
Pod::Parser is a base class for creating POD filters and translators. It handles most of the effort involved with parsing the POD sections from an input stream,

manpages/XWMGeometry.3.html
XWMGeometry(3) - parse window geometry - Linux manual page
By convention, X applications use a standard string to indicate window size and placement. XParseGeometry makes it easier to conform to this standard because it

manpages/XEmptyRegion.3.html
XEmptyRegion(3) - determine if regions are empty or equal...
The XEmptyRegion function returns True if the region is empty. The XEqualRegion function returns True if the two regions have the same offset, size, and shape.

manpages/scp.1.html
scp(1) - secure copy (remote file copy program) (Man Page)
scp copies files between hosts on a network. It uses ssh-add(1) for data transfer, and uses the same authentication and provides the same security as ssh-add(1)

manpages/Memoize::Expire.3pm.html
Memoize::Expire(3pm) - Plug-in module for automatic expirati
Memoize::Expire is a plug-in module for Memoize. It allows the cached values for memoized functions to expire automatically. This manual assumes you are already

manpages/glTexCoord3dv.3gl.html
glTexCoord3dv(3gl) - set the current texture coordinates....
glTexCoord specifies texture coordinates in one, two, three, or four dimensions. glTexCoord1 sets the current texture coordinates to (s, 0, 0, 1); a call to glT





We can't live, work or learn in freedom unless the software we use is free.