public class SoBase extends Inventor implements SafeDisposable
Instances should be referenced when they will be used outside of the routine in which they were initialized. (A typical example of this is maintaining a reference to the root of a graph.)
See also:
Inventor.ConstructorCommandVERBOSE_LEVEL, ZeroHandle| Modifier and Type | Method and Description |
|---|---|
boolean |
dispose()
Explicitly call this method to force object to dispose its unmanaged
resources.
|
static SoVRMLEXTERNPROTODef |
getEXTERNPROTO(java.lang.String name)
Returns the definition for the externproto node externprotoName .
|
java.lang.String |
getName()
Returns the name of an instance.
|
static SoVRMLPROTODef |
getPROTO(java.lang.String name)
Returns the definition for the prototype node protoName .
|
boolean |
isDisposable()
Returns a boolean flag which indicates if it is safe to call
SafeDisposable.dispose() on the object. |
boolean |
isSynchronizable()
Gets the ScaleViz synchronizable state of this object.
|
void |
setName(java.lang.String name)
Sets the name of an instance.
|
void |
setSynchronizable(boolean b)
Sets this to be a ScaleViz synchronizable object.
|
void |
touch()
Marks an instance as modified, simulating a change to it.
|
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreadspublic boolean isDisposable()
SafeDisposableSafeDisposable.dispose() on the object.isDisposable in interface SafeDisposabletrue if the object can be disposed in a safe mannerpublic boolean dispose()
Inventordispose in interface SafeDisposabledispose in class Inventortrue if this object native resources were successfully
disposed; false if it was already disposed or no
native resources has been registered for this object.public java.lang.String getName()
public void touch()
public boolean isSynchronizable()
public static SoVRMLPROTODef getPROTO(java.lang.String name)
public static SoVRMLEXTERNPROTODef getEXTERNPROTO(java.lang.String name)
public void setName(java.lang.String name)
The same name may be assigned to more than one instance.
Avoid using names that begin with "OIV_". Such names may be used internally.
Nodes may be queried by name using the SoNode.getByName methods. Node names may also be used with SoSearchAction.
public void setSynchronizable(boolean b)
Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com