Package com.openinventor.inventor.caches
Class SoBoundingBoxCache
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.caches.SoBaseContextCache
com.openinventor.inventor.caches.SoCache
com.openinventor.inventor.caches.SoBoundingBoxCache
- All Implemented Interfaces:
SafeDisposable
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBox()
Returns the current bbox value.Returns BBox in local space.boolean
boolean
boolean
void
static void
setHasLinesOrPoints
(SoState state) static void
setHasScreenSpaceBoundingBoxes
(SoState state, boolean flag) Methods inherited from class com.openinventor.inventor.caches.SoCache
addCacheDependency, addElement, getCachedInvalidElement, getInvalidElement, invalidate, isValid, isValid
Methods inherited from class com.openinventor.inventor.caches.SoBaseContextCache
dispose, isContextDependent, isDisposable, release, setContextDependent, setContextDependent
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
Constructor Details
-
SoBoundingBoxCache
-
-
Method Details
-
setHasLinesOrPoints
-
setHasScreenSpaceBoundingBoxes
-
getCenter
-
getBox
Returns the current bbox value. -
hasLinesOrPoints
public boolean hasLinesOrPoints() -
getProjectedBox
Returns BBox in local space. -
isCenterSet
public boolean isCenterSet() -
set
-
hasScreenSpaceBoundingBoxes
public boolean hasScreenSpaceBoundingBoxes()
-