Click or drag to resize
SoGLTextureCoordinateElement Class

Note: This API is now obsolete.

Stores the current gltexture coordinates.

Inheritance Hierarchy

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
[ObsoleteAttribute("See documentation for more details")]
public class SoGLTextureCoordinateElement : SoTextureCoordinateElement

The SoGLTextureCoordinateElement type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGet(SbVec3f, SbVec3f)
Calls Get(point, normal, System.Int32(0)).
(Inherited from SoTextureCoordinateElement.)
Public methodGet(SbVec3f, SbVec3f, Int32)

Given point and normal, returns texture coordinate.

(Inherited from SoTextureCoordinateElement.)
Public methodGet2(Int32)
Calls Get2(index, System.Int32(0)).
(Inherited from SoTextureCoordinateElement.)
Public methodGet2(Int32, Int32)

Returns the indexed coordinate from an element as a 2- or 4-vector, converting if necessary.

(Inherited from SoTextureCoordinateElement.)
Public methodGet4(Int32)
Calls Get4(index, System.Int32(0)).
(Inherited from SoTextureCoordinateElement.)
Public methodGet4(Int32, Int32)
(Inherited from SoTextureCoordinateElement.)
Public methodStatic memberGetClassStackIndex Obsolete.

Returns the stack id for this element.

Public methodGetCoordType
Calls GetCoordType(System.Int32(0)).
Public methodGetCoordType(Int32)

Returns code indicating what has been set in state/element .

(Overrides SoTextureCoordinateElementGetCoordType(Int32).)
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodStatic memberGetInstance

Returns the top (current) instance of the element in the state.

Public methodGetNum
Calls GetNum(System.Int32(0)).
(Inherited from SoTextureCoordinateElement.)
Public methodGetNum(Int32)

Returns the number of coordinate points in an instance.

(Inherited from SoTextureCoordinateElement.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIs2D
Calls Is2D(System.Int32(0)).
(Inherited from SoTextureCoordinateElement.)
Public methodIs2D(Int32)
(Inherited from SoTextureCoordinateElement.)
Public methodIsForceSending
Calls IsForceSending(System.Int32(0)).
(Inherited from SoTextureCoordinateElement.)
Public methodIsForceSending(Int32)
(Inherited from SoTextureCoordinateElement.)
Public methodPop

Override pop() method to maintain GL state.

(Overrides SoElementPop(SoState, SoElement).)
Public methodPush

Override push() method to set up new instance.

(Overrides SoTextureCoordinateElementPush(SoState).)
Public methodSend(Int32)
Calls Send(index, System.Int32(0)).
Public methodSend(Int32, Int32)

Send routine for EXPLICIT case.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

This element stores the current gltexture coordinates. The TextureCoordinateFunction nodes that use the GL texgen function to generate texture coordinates must register a callback that makes the appropriate GL calls with the element so pop() can reset the GL state back to what it should be. The TextureCoordinateFunction nodes that can't use the GL texgen function must register a NULL callback, in which case the element will disable the GL's automatic texture coordinate generation.

<font color="#0000FF">NOTE:</font> This class does not exist in Open Inventor 10.0 and later.

See Also

Reference

OIV.Inventor.ElementsSoGLTextureCoordinateElement