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.booleanbooleanbooleanvoidstatic voidsetHasLinesOrPoints(SoState state) static voidsetHasScreenSpaceBoundingBoxes(SoState state, boolean flag) Methods inherited from class com.openinventor.inventor.caches.SoCache
addCacheDependency, addElement, getCachedInvalidElement, getInvalidElement, invalidate, isValid, isValidMethods inherited from class com.openinventor.inventor.caches.SoBaseContextCache
dispose, isContextDependent, isDisposable, release, setContextDependent, setContextDependentMethods 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()
-