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
SoNode.RenderModes
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.
|
generateTransparency, rayIntersection, shaderSlots, workspace
boundingBoxIgnoring
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoAlgebraicCylinder()
Default constructor.
|
getShapeType, isPrimitiveRestartAvailable, isPrimitiveRestartAvailable
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderEngineMode, 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, getName, isDisposable, isSynchronizable, setName, setSynchronizable
getNativeResourceHandle
public final SoSFFloat height
public final SoSFFloat radius
public final SoSFBool capped
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com