Package com.openinventor.inventor.caches
Class SoPrimitiveCountCache
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.caches.SoBaseContextCache
-
- com.openinventor.inventor.caches.SoCache
-
- com.openinventor.inventor.caches.SoPrimitiveCountCache
-
- All Implemented Interfaces:
SafeDisposable
public class SoPrimitiveCountCache extends SoCache
-
-
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 Constructor Description SoPrimitiveCountCache(SoState state)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains3DText()
int[]
get()
boolean
isApproximateCount()
void
set(int numTriangles, int numLines, int numPoints, int numText, int numImage)
static void
setContains3DText(SoState state)
void
setCount3DTextAsTriangles(boolean treatAsTris)
static void
setIsApproximated(SoState state)
boolean
was3DTextCountedAsTriangles()
-
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 Detail
-
SoPrimitiveCountCache
public SoPrimitiveCountCache(SoState state)
-
-
Method Detail
-
get
public int[] get()
-
setIsApproximated
public static void setIsApproximated(SoState state)
-
setContains3DText
public static void setContains3DText(SoState state)
-
set
public void set(int numTriangles, int numLines, int numPoints, int numText, int numImage)
-
contains3DText
public boolean contains3DText()
-
was3DTextCountedAsTriangles
public boolean was3DTextCountedAsTriangles()
-
isApproximateCount
public boolean isApproximateCount()
-
setCount3DTextAsTriangles
public void setCount3DTextAsTriangles(boolean treatAsTris)
-
-