Click or drag to resize
SoGLTextureCoordinate3Element 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 SoGLTextureCoordinate3Element : SoTextureCoordinate3Element

The SoGLTextureCoordinate3Element 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 SoTextureCoordinate3Element.)
Public methodGet(SbVec3f, SbVec3f, Int32)

Given point and normal, returns texture coordinate.

(Inherited from SoTextureCoordinate3Element.)
Public methodGet3(Int32)
Calls Get3(index, System.Int32(0)).
(Inherited from SoTextureCoordinate3Element.)
Public methodGet3(Int32, Int32)

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

(Inherited from SoTextureCoordinate3Element.)
Public methodGet4(Int32)
Calls Get4(index, System.Int32(0)).
(Inherited from SoTextureCoordinate3Element.)
Public methodGet4(Int32, Int32)
(Inherited from SoTextureCoordinate3Element.)
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 SoTextureCoordinate3ElementGetCoordType(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 SoTextureCoordinate3Element.)
Public methodGetNum(Int32)

Returns the number of coordinate points in an instance.

(Inherited from SoTextureCoordinate3Element.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIs3D
Calls Is3D(System.Int32(0)).
(Inherited from SoTextureCoordinate3Element.)
Public methodIs3D(Int32)
(Inherited from SoTextureCoordinate3Element.)
Public methodIsForceSending
Calls IsForceSending(System.Int32(0)).
(Inherited from SoTextureCoordinate3Element.)
Public methodIsForceSending(Int32)
(Inherited from SoTextureCoordinate3Element.)
Public methodPop

Override pop() method to maintain GL state.

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

Override push() method to set up new instance.

(Overrides SoTextureCoordinate3ElementPush(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.ElementsSoGLTextureCoordinate3Element