public class SoVRMLRectangle2D 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 SoVRMLRectangle2D
node specifies rectangle centered at the (0,0) in the local 2D coordinate system and aligned with the local coordinate axes. By default, the box measures 2 units in each dimension, from -1 to +1. The size
field specifies the extents of the box along the X-, and Y- axes respectively and each component value must be greater than zero.
Textures are applied individually to each face of the VRMLRectangle2D. On the front (+Z) and back (-Z) faces of the VRMLRectangle2D, 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 VRMLRectangle2D node.
File format/default:
VRMLRectangle2D {
size | 2 2 |
solid | false |
metadata | NULL |
Action behavior:
SoGLRenderAction
, SoRayPickAction
, SoGetBoundingBoxAction
, SoCallbackAction
SoSFNode | set_metadata |
SoSFNode | metadata_changed |
SoShape.ShapeTypes
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFVec2f |
size
Deprecated.
The size field specifies the extents of the box along the X-, and Y-axes respectively.
|
SoSFBool |
solid
Deprecated.
If true, only one side of polygon faces is lit.
|
metadata
boundingBoxIgnoring, LINES, POINTS, POLYGONS, TEXT
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoVRMLRectangle2D()
Deprecated.
Constructor.
|
getShapeType, isPrimitiveRestartAvailable, isPrimitiveRestartAvailable
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
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com