public class SoTangentCache extends SoCache
SoTangentCache
:
A tangent cache stores a list of tangents.Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoTangentCache(SoState state) |
Modifier and Type | Method and Description |
---|---|
java.nio.FloatBuffer |
getDirectTangents()
Returns the list of tangents in the cache .
|
int |
getNum()
Returns the number of tangents in the cache.
|
int |
getStartIndex()
Returns the startIndex offset in the cache.
|
SoTangentBindingElement.Bindings |
getTangentBinding()
Returns the tangent binding in the cache.
|
SbVec3f[] |
getTangents()
Returns the list of tangents in the cache .
|
void |
set(SbVec3f[] tangents,
SoTangentBindingElement.Bindings tangentBinding)
Calls set(tangents, tangentBinding, (int)0).
|
void |
set(SbVec3f[] tangents,
SoTangentBindingElement.Bindings tangentBinding,
int startIndex)
Stores a list of tangents in the cache .
|
addCacheDependency, addElement, getCachedInvalidElement, getInvalidElement, invalidate, isValid, isValid
dispose, isContextDependent, isDisposable, release, setContextDependent, setContextDependent
getNativeResourceHandle
public SoTangentCache(SoState state)
public void set(SbVec3f[] tangents, SoTangentBindingElement.Bindings tangentBinding)
public int getNum()
public java.nio.FloatBuffer getDirectTangents()
public SoTangentBindingElement.Bindings getTangentBinding()
public void set(SbVec3f[] tangents, SoTangentBindingElement.Bindings tangentBinding, int startIndex)
public int getStartIndex()
public SbVec3f[] getTangents()
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com