public class SoVRMLDisk2D extends SoVRMLGeometry
<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 X3D 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 X3D specification that are not present in this help file. The complete X3D spec is available at
The SoVRMLDisk2D node specifies a circular disk which is centered at (0,0) in the local coordinate system. The outerRadius field specifies the radius of the outer dimension of the SoVRMLDisk2D. The innerRadius field specifies the inner dimension of the SoVRMLDisk2D. The value of outerRadius must be greater than zero. The value of innerRadius must be greater than or equal to zero and less than or equal to outerRadius. If innerRadius is zero, the SoVRMLDisk2D is completely filled. Otherwise, the area within the innerRadius forms a hole in the SoVRMLDisk2D. The figure below illustrates the SoVRMLDisk2D node containing a non-zero innerRadius.
Textures are applied individually to each face of the SoVRMLDisk2D. On the front (+Z) and back (-Z) faces of the SoVRMLDisk2D, when viewed from the +Z axis, the texture is mapped onto each face with the same orientation as if the image were displayed normally in 2D. TextureTransform affects the texture coordinates of the SoVRMLDisk2D node.
File format/default:
VRMLDisk2D {
| innerRadius | 0 |
| outerRadius | 1 |
| solid | false |
| metadata | NULL |
Action behavior:
SoGLRenderAction, SoRayPickAction, SoGetBoundingBoxAction, SoCallbackAction
SoSFNode | set_metadata |
SoSFNode | metadata_changed |
SoShape.ShapeTypesInventor.ConstructorCommand| Modifier and Type | Field and Description |
|---|---|
SoSFFloat |
innerRadius
Deprecated.
Specifies the inner radius of the disk.
|
SoSFFloat |
outerRadius
Deprecated.
Specifies the outer radius of the disk.
|
SoSFBool |
solid
Deprecated.
If true, only the front face of the disk is displayed.
|
metadataboundingBoxIgnoring, LINES, POINTS, POLYGONS, TEXTVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoVRMLDisk2D()
Deprecated.
Creates a VRMLDisk2D with default settings.
|
getShapeType, isPrimitiveRestartAvailable, isPrimitiveRestartAvailableaffectsState, 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, writecopyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaultsdispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizablegetAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreadspublic final SoSFFloat outerRadius
public final SoSFFloat innerRadius
public final SoSFBool solid
Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com