Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glgetclipplane(3g) [centos man page]


glGetClipPlane - return the coefficients of the specified clipping plane C SPECIFICATION
void glGetClipPlane(GLenum plane, GLdouble * equation); PARAMETERS
plane Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANEi where i ranges from 0 to the value of GL_MAX_CLIP_PLANES - 1. equation Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0). DESCRIPTION
glGetClipPlane returns in equation the four coefficients of the plane equation for plane. NOTES
It is always the case that GL_CLIP_PLANEi = GL_CLIP_PLANE0 + i. If an error is generated, no change is made to the contents of equation. ERRORS
GL_INVALID_ENUM is generated if plane is not an accepted value. GL_INVALID_OPERATION is generated if glGetClipPlane is executed between the execution of glBegin() and the corresponding execution of glEnd(). SEE ALSO
glClipPlane() COPYRIGHT
Copyright (C) 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see AUTHORS 06/10/2014 GLGETCLIPPLANE(3G)

Check Out this Related Man Page

GLCLIPPLANE(3G) 														   GLCLIPPLANE(3G)

glClipPlane - specify a plane against which all geometry is clipped C SPECIFICATION
void glClipPlane( GLenum plane, const GLdouble *equation ) PARAMETERS
plane Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES-1, are accepted. equation Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equa- tion. DESCRIPTION
Geometry is always clipped against the boundaries of a six-plane frustum in x, y, and z. glClipPlane allows the specification of addi- tional planes, not necessarily perpendicular to the x, y, or z axis, against which all geometry is clipped. To determine the maximum num- ber of additional clipping planes, call glGetIntegerv with argument GL_MAX_CLIP_PLANES. All implementations support at least six such clip- ping planes. Because the resulting clipping region is the intersection of the defined half-spaces, it is always convex. glClipPlane specifies a half-space using a four-component plane equation. When glClipPlane is called, equation is transformed by the inverse of the modelview matrix and stored in the resulting eye coordinates. Subsequent changes to the modelview matrix have no effect on the stored plane-equation components. If the dot product of the eye coordinates of a vertex with the stored plane equation components is positive or zero, the vertex is in with respect to that clipping plane. Otherwise, it is out. To enable and disable clipping planes, call glEnable and glDisable with the argument GL_CLIP_PLANEi, where i is the plane number. All clipping planes are initially defined as (0, 0, 0, 0) in eye coordinates and are disabled. NOTES
It is always the case that GL_CLIP_PLANEi = GL_CLIP_PLANE0+i. ERRORS
GL_INVALID_ENUM is generated if plane is not an accepted value. GL_INVALID_OPERATION is generated if glClipPlane is executed between the execution of glBegin and the corresponding execution of glEnd. ASSOCIATED GETS
glGetClipPlane glIsEnabled with argument GL_CLIP_PLANEi SEE ALSO
glEnable(3G) GLCLIPPLANE(3G)
Man Page

6 More Discussions You Might Find Interesting

1. What is on Your Mind?

Whats Behind Your Name?

Looking at the member list, there are alot of interesting names, some unique, some bizarre, and some that are just plain. How did you come by your name? Why did you choose your label? Me? Well, I wish I could change mine. I chose Google because thats how I stumbled upon this site. I wasn't sure... (66 Replies)
Discussion started by: google
66 Replies

2. UNIX for Dummies Questions & Answers

equation calculation on Unix

Hay, guys, Any ideas how to calculate like this: in first file, there're number of lines listing 2+3, 6*9 ....... Then, how to get the result and put them in another file in format: 2+3 5 6*9 54 ...... sheerly by shell command, no scripts required. (4 Replies)
Discussion started by: robbinGlasses
4 Replies

3. Shell Programming and Scripting

AWK equation evaluation.

Hi, Is there a way to evaluate an equation contained in a string within an AWK script? For example: A = "(5*2)-1" (this equation is read from a file and varies line by line) In this example, I can't see any way to get an answer of 9 unless I do: cmd = "awk 'BEGIN{print "A"}'" cmd |... (3 Replies)
Discussion started by: srdgeo
3 Replies

4. AIX

Need to install opengl for GXT4500.

Hi, I try to install opengl bat it give a error that i need the opengl base level fileset I use AIX 5.3 and my oslevel is now 5300-03. Where can i find the opengl files i need ( Thanks Peter. (1 Reply)
Discussion started by: xeonbb
1 Replies

5. Shell Programming and Scripting

script to iterate

Hi i need to find x in the following equation such that it satisfies this condition: y/x-ln(x)-1.24=0 how can i write a script to iterate to give random x to satisfy this equation. y is different each time too. any help with awk/shell script will be awesome! thanks (1 Reply)
Discussion started by: saint2006
1 Replies

6. Homework & Coursework Questions

Solving heat equation using crank-nicolsan scheme in FORTRAN

! The one-dimensional PDE for heat diffusion equation ! u_t=(D(u)u_x)_x + s where u(x,t) is the temperature, ! D(u) is the diffusivity and s(x,t) is a source term. ! Taking D(u)= 1 and s(x,t)=0 gives ! u_t= u_xx ! uniform one dimensional region |x|<1 for t>0 ! uniform mesh size delta x=0.1 !... (1 Reply)
Discussion started by: watto1
1 Replies