public class SoTextureCoordinate3Element extends SoReplacedTextureElement
See also:
Modifier and Type | Class and Description |
---|---|
static class |
SoTextureCoordinate3Element.CoordTypes
The choice of values is for compatibility with Open Inventor 2.0 binary format files.
|
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
static int |
EXPLICIT
Deprecated.
Use
SoTextureCoordinate3Element.CoordTypes.EXPLICIT instead. |
static int |
FUNCTION
Deprecated.
Use
SoTextureCoordinate3Element.CoordTypes.FUNCTION instead. |
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
SbVec4f |
get(SbVec3f point,
SbVec3f normal)
Calls get(point, normal, (int)0).
|
SbVec4f |
get(SbVec3f point,
SbVec3f normal,
int unit)
Given point and normal, returns texture coordinate.
|
SbVec3f |
get3(int index)
Calls get3(index, (int)0).
|
SbVec3f |
get3(int index,
int unit)
Returns the indexed coordinate from an element as a 3- or 4-vector, converting if necessary.
|
SbVec4f |
get4(int index)
Calls get4(index, (int)0).
|
SbVec4f |
get4(int index,
int unit) |
static int |
getClassStackIndex()
Deprecated.
As of Open Inventor 9.3 replaced by SoElement.getClassStackIndex(Class)
|
static SoTextureCoordinate3Element |
getInstance(SoState state)
Returns the top (current) instance of the element in the state.
|
int |
getNum()
Calls getNum((int)0).
|
int |
getNum(int unit)
Returns the number of coordinate points in an instance.
|
SoTextureCoordinate3Element.CoordTypes |
getType()
Calls getType((int)0).
|
SoTextureCoordinate3Element.CoordTypes |
getType(int unit) |
static SoTextureCoordinate3Element.CoordTypes |
getType(SoState state)
Calls getType(state, (int)0).
|
static SoTextureCoordinate3Element.CoordTypes |
getType(SoState state,
int unit)
Returns code indicating what has been set in state/element.
|
boolean |
is3D()
Calls is3D((int)0).
|
boolean |
is3D(int unit) |
boolean |
isForceSending()
Calls isForceSending((int)0).
|
boolean |
isForceSending(int unit) |
void |
push(SoState name_27016)
Overrides
push() method to copy values from next instance in the stack. |
static void |
set3(SoState state,
SoNode node,
SbVec3f[] coords)
Calls set3(state, node, coords, false).
|
static void |
set3(SoState state,
SoNode node,
SbVec3f[] coords,
boolean frcSend) |
static void |
set4(SoState state,
SoNode node,
SbVec4f[] coords)
Calls set4(state, node, coords, false).
|
static void |
set4(SoState state,
SoNode node,
SbVec4f[] coords,
boolean frcSend) |
static void |
setDefault(SoState state,
SoNode node)
Sets the current texture coordinates, in any of several ways: EXPLICIT, no coordinates (shapes will generate):
|
getClassStackIndex, pop
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
@Deprecated public static final int EXPLICIT
SoTextureCoordinate3Element.CoordTypes.EXPLICIT
instead.@Deprecated public static final int FUNCTION
SoTextureCoordinate3Element.CoordTypes.FUNCTION
instead.public boolean isForceSending()
public static void set4(SoState state, SoNode node, SbVec4f[] coords)
public SbVec3f get3(int index)
public SoTextureCoordinate3Element.CoordTypes getType()
public static SoTextureCoordinate3Element.CoordTypes getType(SoState state)
public boolean is3D()
public int getNum()
public static void set3(SoState state, SoNode node, SbVec3f[] coords)
public SbVec4f get4(int index)
public static SoTextureCoordinate3Element.CoordTypes getType(SoState state, int unit)
public static void setDefault(SoState state, SoNode node)
@Deprecated public static int getClassStackIndex()
public int getNum(int unit)
public static SoTextureCoordinate3Element getInstance(SoState state)
public boolean isForceSending(int unit)
public SbVec3f get3(int index, int unit)
public SbVec4f get4(int index, int unit)
public boolean is3D(int unit)
public void push(SoState name_27016)
push()
method to copy values from next instance in the stack.push
in class SoReplacedTextureElement
public SoTextureCoordinate3Element.CoordTypes getType(int unit)
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com