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, getCachedInvalidElement, getInvalidElement, invalidate, isValid, isValid
dispose, isContextDependent, isDisposable, release, setContextDependent, setContextDependent
getNativeResourceHandle
public SoBoundingBoxCache(SoState state)
public static void setHasLinesOrPoints(SoState state)
public static void setHasScreenSpaceBoundingBoxes(SoState state, boolean flag)
public SbBox3f getProjectedBox()
public SbXfBox3f getBox()
public boolean hasLinesOrPoints()
public boolean hasScreenSpaceBoundingBoxes()
public boolean isCenterSet()
public SbVec3f getCenter()
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com