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 static void setHasLinesOrPoints(SoState state)
public SbBox3f getProjectedBox()
public boolean hasLinesOrPoints()
public boolean hasScreenSpaceBoundingBoxes()
public boolean isCenterSet()
public SbXfBox3f getBox()
Generated on August 20, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com