public class SoVRMLCylinder extends SoVRMLGeometry
<font color="#0000FF">NOTE:</font> This class does not exist in Open Inventor 10.0 and later.
OpenGL vertex arrays are used if they are available and if the environment variable IV_NO_VERTEX_ARRAY is not set.
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
SoVRMLCylinder node specifies a capped cylinder centered at (0,0,0) in the local coordinate system and with a central axis oriented along the local Y-axis. By default, the cylinder is sized at -1 to +1 in all three dimensions. The
radius field specifies the cylinder's radius and the
height field specifies the cylinder's height along the central axis. Both
height must be greater than 0.0.
The cylinder has three
parts : the
top (Y = +height) and the
bottom (Y = -height). Each part has an associated SFBool field that indicates whether the part exists (true) or does not exist (false). If the parts do not exist, they are not considered during collision detection.
When a texture is applied to a cylinder, it is applied differently to the sides, top, and bottom. On the sides, the texture wraps counterclockwise (from above) starting at the back of the cylinder. The texture has a vertical seam at the back, intersecting the YZ plane. For the top and bottom caps, a circle is cut out of the unit texture square centered at (0, +/-
height, 0) with dimensions 2*
radius by 2*
radius. The top texture appears right side up when the top of the cylinder is tilted toward the +Z axis, and the bottom texture appears right side up when the top of the cylinder is tilted toward the -Z axis.
SoVRMLTextureTransform affects the texture coordinates of the
SoVRMLCylinder geometry is considered to be solid and thus requires outside faces only. When viewed from the inside the results are undefined.
|Modifier and Type||Field and Description|
Specifies whether the bottom cap is created.
Specifies the cylinder's height and radius; values must be greater than 0.0.
Specifies whether the sides are created.
Determines whether the cylinder is visible when viewed from the inside.
Specifies whether the top cap is created.
boundingBoxIgnoring, LINES, POINTS, POLYGONS, TEXT
|Constructor and Description|
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
public final SoSFFloat radius
public final SoSFFloat height
public final SoSFBool side
public final SoSFBool top
public final SoSFBool bottom
public final SoSFBool solid
Generated on March 25, 2020, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com