public class SoBoundingBoxCache extends SoCache
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoBoundingBoxCache(SoState state) |
Modifier and Type | Method and Description |
---|---|
SbXfBox3f |
getBox()
Returns the current bbox value.
|
SbVec3f |
getCenter() |
SbBox3f |
getProjectedBox()
Returns BBox in local space.
|
boolean |
hasLinesOrPoints() |
boolean |
hasScreenSpaceBoundingBoxes() |
boolean |
isCenterSet() |
void |
set(SbXfBox3f boundingBox,
boolean centerSet,
SbVec3f centerPoint) |
static void |
setHasLinesOrPoints(SoState state) |
static void |
setHasScreenSpaceBoundingBoxes(SoState state,
boolean flag) |
addCacheDependency, addElement, addIgnoredElement, getCachedInvalidElement, getInvalidElement, invalidate, isValid, isValid, isValid
dispose, isContextDependent, isDisposable, release, setContextDependent, setContextDependent
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public SoBoundingBoxCache(SoState state)
public static void setHasScreenSpaceBoundingBoxes(SoState state, boolean flag)
public SbVec3f getCenter()
public SbBox3f getProjectedBox()
public boolean hasLinesOrPoints()
public boolean isCenterSet()
public static void setHasLinesOrPoints(SoState state)
public SbXfBox3f getBox()
public boolean hasScreenSpaceBoundingBoxes()
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com