public class SoVRMLPROTOInstance 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 |
---|
SoVRMLPROTOInstance()
Deprecated.
|
SoVRMLPROTOInstance(SoVRMLPROTODef protoDef)
Deprecated.
Creates an instance of the prototype defined by the definition protoDef.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends Inventor> |
getPROTOClass()
Deprecated.
Returns the type of the prototype being instanced.
|
void |
setupInstance()
Deprecated.
Finishes setting up an instance of a prototype.
|
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 SoVRMLPROTOInstance(SoVRMLPROTODef protoDef)
public SoVRMLPROTOInstance()
public java.lang.Class<? extends Inventor> getPROTOClass()
public void setupInstance()
1. Read in the prototype. You can read it in from a file or a buffer using the readAllVRML method of SoDB
.
2. Find the prototype definition from the prototype's name using the static method findPROTO 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