public class SoAlgebraicCylinder extends SoAlgebraicShape
radius and height fields to create a cylinder with a different size.
The cylinder is transformed by the current cumulative transformation and is drawn with the current lighting model and material.
This node can generally be used in place of the SoCylinder geometric shape node. Unlike the geometric shape nodes, which create triangle geometry to represent their shape, the algebraic shape nodes compute and render their shape on the GPU. Algebraic shapes can also be used with SoMultipleInstance to efficiently render a very large number of shapes.
Please see SoAlgebraicShape for important notes and limitations for algebraic shapes.
File format/default:
AlgebraicCylinder {
| radius | 1 |
| height | 2 |
| capping | true |
See also:
SoAlgebraicShape.ASClippingPolicies, SoAlgebraicShape.ASShaderSlots, SoAlgebraicShape.ASWorkSpacesSoShape.ShapeTypesInventor.ConstructorCommand| Modifier and Type | Field and Description |
|---|---|
SoSFBool |
capped
Specifies if cylinder is capped or not.
|
SoSFFloat |
height
Specifies the cylinder's height.
|
SoSFFloat |
radius
Specifies the cylinder's radius.
|
BOX, CAMERA, COMPUTE_COLOR, FULL_SHAPE, generateTransparency, MAX_SHADER_SLOT, MAX_WORK_SPACE, rayIntersection, shaderSlots, STANDARD, VERTEX_SHADER_ENTRY, workspace, WORLDboundingBoxIgnoring, LINES, POINTS, POLYGONS, TEXTVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoAlgebraicCylinder()
Default constructor.
|
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 height
public final SoSFFloat radius
public final SoSFBool capped
Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com