Class SoTextureCoordinate3Element
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.elements.SoElement
com.openinventor.inventor.elements.SoReplacedTextureElement
com.openinventor.inventor.elements.SoTextureCoordinate3Element
Stores the current 3D texture coordinates.
This element stores the current 3D texture coordinates.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe choice of values is for compatibility with Open Inventor 2.0 binary format files.Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand -
Field Summary
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle -
Method Summary
Modifier and TypeMethodDescriptionCalls get(point, normal, (int)0).Given point and normal, returns texture coordinate.get3(int index) Calls get3(index, (int)0).get3(int index, int unit) Returns the indexed coordinate from an element as a 3- or 4-vector, converting if necessary.get4(int index) Calls get4(index, (int)0).get4(int index, int unit) static intDeprecated.As of Open Inventor 9.3.0.0.static SoTextureCoordinate3ElementgetInstance(SoState state) Returns the top (current) instance of the element in the state.intgetNum()Calls getNum((int)0).intgetNum(int unit) Returns the number of coordinate points in an instance.getType()Calls getType((int)0).getType(int unit) Calls getType(state, (int)0).Returns code indicating what has been set in state/element.booleanis3D()Calls is3D((int)0).booleanis3D(int unit) booleanCalls isForceSending((int)0).booleanisForceSending(int unit) voidOverridespush()method to copy values from next instance in the stack.static voidCalls set3(state, node, coords, false).static voidstatic voidCalls set4(state, node, coords, false).static voidstatic voidsetDefault(SoState state, SoNode node) Sets the current texture coordinates, in any of several ways: EXPLICIT, no coordinates (shapes will generate):Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, popMethods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Method Details
-
set4
Calls set4(state, node, coords, false). -
set3
Calls set3(state, node, coords, false). -
getType
Calls getType(state, (int)0). -
get3
Calls get3(index, (int)0). -
isForceSending
public boolean isForceSending()Calls isForceSending((int)0). -
is3D
public boolean is3D()Calls is3D((int)0). -
getNum
public int getNum()Calls getNum((int)0). -
get
Calls get(point, normal, (int)0). -
getType
Calls getType((int)0). -
get4
Calls get4(index, (int)0). -
getInstance
Returns the top (current) instance of the element in the state. The get routines are called on an instance because it is more efficient than calling a static method that looks up the element in the state for every coordinate. -
is3D
public boolean is3D(int unit) -
getNum
public int getNum(int unit) Returns the number of coordinate points in an instance. -
get
Given point and normal, returns texture coordinate. (The r coordinate will be 0.0 and the q will be 1.0 until we get 3D texture coordinate functions.) -
getType
-
isForceSending
public boolean isForceSending(int unit) -
push
Overridespush()method to copy values from next instance in the stack.- Overrides:
pushin classSoReplacedTextureElement
-
setDefault
Sets the current texture coordinates, in any of several ways: EXPLICIT, no coordinates (shapes will generate): -
getClassStackIndex
Deprecated.As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] * -
set3
-
set4
-
get3
Returns the indexed coordinate from an element as a 3- or 4-vector, converting if necessary. -
getType
Returns code indicating what has been set in state/element. -
get4
-