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.ASWorkSpaces
SoShape.ShapeTypes
Inventor.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, WORLD
boundingBoxIgnoring, LINES, POINTS, POLYGONS, TEXT
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoAlgebraicCylinder()
Default 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
public final SoSFFloat height
public final SoSFFloat radius
public final SoSFBool capped
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com