public class SoEllipseScreenDrawer extends SoPolyLineScreenDrawer
When the ellipse is finished, an event is raised to notify the application (see SoPolyLineScreenDrawer.onFinish
). Points are returned as normalized coordinates in the range -1..1, which is conveniently the default view volume for an SoOrthographicCamera
node.
The line color is specified by the color
field in the parent class SoPolyLineScreenDrawer
.
Please see SoPolyLineScreenDrawer
for general notes and code example.
Ellipse specific notes:
CreationMethod
).
simplificationThreshold
field does not apply to this node. The number of points in the ellipse is specified using the nbPoint
field.
isClosed
field does apply to this node (but false is not very useful).
File format/default:
EllipseScreenDrawer {
point | [] |
color | 1 0 0 |
simplificationThreshold | 0 |
isClosed | true |
method | CORNER_CORNER |
nbPoint | 16 |
See also:
SoLassoScreenDrawer
, SoPolyLineScreenDrawer
, SoPolygonScreenDrawer
, SoRectangleScreenDrawer
,
Modifier and Type | Class and Description |
---|---|
static class |
SoEllipseScreenDrawer.CreationMethods
Methods to create ellipse.
|
SoPolyLineScreenDrawer.EventArg
SoNode.RenderModes
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFEnum<SoEllipseScreenDrawer.CreationMethods> |
method
Method to create ellipse.
|
SoSFUInt32 |
nbPoint
Number of points in generated ellipse.
|
color, doCCW, isClosed, linePattern, linePatternScaleFactor, lineWidth, onFinish, onMove, onStart, point, simplificationThreshold
sceneGraph
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoEllipseScreenDrawer()
Constructor.
|
clear
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 SoSFEnum<SoEllipseScreenDrawer.CreationMethods> method
public final SoSFUInt32 nbPoint
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com