public class SbProjectionCoordinates extends Inventor
SoProjection
node during a scene graph traversal. Each instance of SbProjectionCoordinates
maintains a cache, based on the node IDs of the associated node and projection node. Calling resetCache()
will force the projected coordinates to be recomputed during the next traversal.
See also:
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SbProjectionCoordinates()
Constructor.
|
SbProjectionCoordinates(SbProjectionCoordinates copyFrom) |
SbProjectionCoordinates(SoProjection projection)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
cacheIsValid(SoNode node)
Return whether the cache is valid or not.
|
SbVec3f[] |
getCoordinates()
Return coordinates .
|
java.nio.FloatBuffer |
getDirectCoordinates()
Return coordinates .
|
void |
initCoordinates(SoNode node,
int size)
Initialisation.
|
void |
resetCache(SoNode node)
Reset the cache.
|
void |
setProjection(SoProjection projection)
Set associated projection.
|
void |
setValue(SbProjectionCoordinates copyFrom) |
static SbProjectionCoordinates[] |
toArray(long nativeArray,
long length) |
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public SbProjectionCoordinates(SbProjectionCoordinates copyFrom)
public SbProjectionCoordinates(SoProjection projection)
public SbProjectionCoordinates()
public void setValue(SbProjectionCoordinates copyFrom)
public void resetCache(SoNode node)
public static SbProjectionCoordinates[] toArray(long nativeArray, long length)
public SbVec3f[] getCoordinates()
public void initCoordinates(SoNode node, int size)
public boolean cacheIsValid(SoNode node)
public void setProjection(SoProjection projection)
public java.nio.FloatBuffer getDirectCoordinates()
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com