public class SoVRMLEXTERNPROTOInstance extends SoVRMLNode
<font color="#0000FF">NOTE:</font> This class does not exist in Open Inventor 10.0 and later.
This section describes the expected behavior of the node in a conforming VRML97 browser application. In some cases, the application is responsible for implementing portions of the expected behavior. Open Inventor viewer classes and IVF classes implement some of the application behaviors.
This section may reference portions of the VRML97 specification that are not present in this help file. The complete VRML97 spec is available at
The VRML API is no longer supported. See section
Inventor.ConstructorCommand
metadata
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoVRMLEXTERNPROTOInstance()
Deprecated.
|
SoVRMLEXTERNPROTOInstance(SoVRMLEXTERNPROTODef protoDef)
Deprecated.
Creates an instance of the externprototype defined by the definition externprotoDef.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends Inventor> |
getEXTERNPROTOClass()
Deprecated.
Returns the type of the externprototype being instanced.
|
void |
setupInstance()
Deprecated.
Finishes setting up an instance of an externprototype.
|
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public SoVRMLEXTERNPROTOInstance()
public SoVRMLEXTERNPROTOInstance(SoVRMLEXTERNPROTODef protoDef)
public java.lang.Class<? extends Inventor> getEXTERNPROTOClass()
public void setupInstance()
1. Read in the externprototype. You can read it in from a file or a buffer using the readAllVRML method of SoDB
.
2. Find the externprototype definition from the externprototype's name using the static method findEXTERNPROTO in SoBase
.
3. Create an instance of the prototype.
4. Set the values of the fields.
5. Finish the setup of the instance.
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com