public class SoVRMLInline extends SoVRMLNode
SoVRMLInline
node to display.
<font color="#0000FF">NOTE:</font> This class does not exist in Open Inventor 10.0 and later.
See also the VRML97 Specification, below.
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 SoVRMLInline
node is a grouping node that reads its children data from a location in the World Wide Web. Exactly when its children are read and displayed is not defined; reading the children may be delayed until the SoVRMLInline
is actually visible to the viewer. The url
field specifies the URL containing the children. An SoVRMLInline
with an empty URL does nothing.
An Inline's URLs must refer to a valid VRML file that contains a list of children nodes at the top level. See "Concepts - Grouping and Children Nodes". The results are undefined if the URL refers to a file that is not VRML or if the file contains non-children nodes at the top level.
If multiple URLs are specified, the browser may display a URL of a lower preference file while it is obtaining, or if it is unable to obtain the higher preference file. See "Concepts - URLS and URNs" for details on the url
field and preference order.
The bboxCenter
and bboxSize
fields specify a bounding box that encloses the SoVRMLInlines's children. This is a hint that may be used for optimization purposes. If the specified bounding box is smaller than the actual bounding box of the children at any time, then the results are undefined. A default bboxSize
value, (-1 -1 -1), implies that the bounding box is not specified and if needed must be calculated by the browser. See "Concepts -
Bounding Boxes" for a description of the bboxCenter
and bboxSize
fields.
File format/default:
VRMLInline {
load | true |
url | [] |
bboxCenter | 0 0 0 |
bboxSize | -1 -1 -1 |
metadata | NULL |
Action behavior:
SoGLRenderAction
, SoCallbackAction
, SoGetBoundingBoxAction
, SoHandleEventAction
, SoPickAction
, SoGetMatrixAction
, SoSearchAction
SoSFBool | set_load (Note: Not implemented) |
SoMFFilePathString | set_url |
SoSFNode | set_metadata |
SoSFBool | load_changed (Note: Not implemented) |
SoMFFilePathString | url_changed |
SoSFNode | metadata_changed |
Modifier and Type | Class and Description |
---|---|
static class |
SoVRMLInline.BboxVisibilities
Deprecated.
BboxVisibility.
|
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
static int |
ALWAYS
Deprecated.
Use
SoVRMLInline.BboxVisibilities.ALWAYS instead. |
SoSFVec3f |
bboxCenter
Deprecated.
Specifies the center of a bounding box that encloses the children.
|
SoSFVec3f |
bboxSize
Deprecated.
Specifies the size of a bounding box that encloses the children.
|
SoSFBool |
load
Deprecated.
(Note: Not implemented) Controls when the Inline is read and displayed.
|
static int |
NEVER
Deprecated.
Use
SoVRMLInline.BboxVisibilities.NEVER instead. |
static int |
UNTIL_LOADED
Deprecated.
Use
SoVRMLInline.BboxVisibilities.UNTIL_LOADED instead. |
SoMFFilePathString |
url
Deprecated.
URL which the application will be called back to fetch when this node is activated by a left mouse click (e.g.
|
metadata
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoVRMLInline()
Deprecated.
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
cancelURLDataRequest()
Deprecated.
Cancels URL request.
|
SoGroup |
copyChildren()
Deprecated.
Returns (hidden) children as Group.
|
static SbColor |
getBoundingBoxColor()
Deprecated.
Returns the bounding box color.
|
static SoVRMLInline.BboxVisibilities |
getBoundingBoxVisibility()
Deprecated.
Returns how bounding boxes are displayed.
|
SoNode |
getChildData()
Deprecated.
Sets the child data the inline should display.
|
java.lang.String |
getFullURLName()
Deprecated.
Returns the fullURL set here, or if not set, returns the contents of the name field.
|
static boolean |
getReadAsSoFile()
Deprecated.
Gets the ReadAsSoFile flag.
|
boolean |
isURLDataHere()
Deprecated.
Returns whether the URL data is here.
|
boolean |
isURLDataRequested()
Deprecated.
Returns whether URL data has been requested.
|
void |
requestURLData()
Deprecated.
Requests that URL data be fetched.
|
static void |
setBoundingBoxColor(SbColor c)
Deprecated.
Sets the bounding box color.
|
static void |
setBoundingBoxVisibility(SoVRMLInline.BboxVisibilities b)
Deprecated.
Sets how bounding boxes are displayed.
|
void |
setChildData(SoNode urlData)
Deprecated.
Gets the child data the inline should display.
|
void |
setFullURLName(java.lang.String urlin)
Deprecated.
If the url field is not a local file and contains a relative URL (e.g.
|
static void |
setReadAsSoFile(boolean onOff)
Deprecated.
Sets the ReadAsSoFile flag.
|
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
@Deprecated public static final int NEVER
SoVRMLInline.BboxVisibilities.NEVER
instead.@Deprecated public static final int UNTIL_LOADED
SoVRMLInline.BboxVisibilities.UNTIL_LOADED
instead.@Deprecated public static final int ALWAYS
SoVRMLInline.BboxVisibilities.ALWAYS
instead.public final SoSFVec3f bboxCenter
public final SoSFVec3f bboxSize
public final SoMFFilePathString url
public final SoSFBool load
public SoGroup copyChildren()
public static boolean getReadAsSoFile()
public static SbColor getBoundingBoxColor()
public static void setReadAsSoFile(boolean onOff)
SoFile
node instead of using SoVRMLInlineFetchURLCB.public java.lang.String getFullURLName()
public void setFullURLName(java.lang.String urlin)
public void requestURLData()
public static SoVRMLInline.BboxVisibilities getBoundingBoxVisibility()
public void cancelURLDataRequest()
public static void setBoundingBoxVisibility(SoVRMLInline.BboxVisibilities b)
public void setChildData(SoNode urlData)
public boolean isURLDataRequested()
public SoNode getChildData()
public boolean isURLDataHere()
public static void setBoundingBoxColor(SbColor c)
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com