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
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
static int |
CENTER_CORNER
Deprecated.
Use
SoEllipseScreenDrawer.CreationMethods.CENTER_CORNER instead. |
static int |
CORNER_CORNER
Deprecated.
Use
SoEllipseScreenDrawer.CreationMethods.CORNER_CORNER instead. |
SoSFEnum<SoEllipseScreenDrawer.CreationMethods> |
method
Method to create ellipse.
|
SoSFUInt32 |
nbPoint
Number of points in generated ellipse.
|
color, doCCW, isClosed, onFinish, point, simplificationThreshold
sceneGraph
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoEllipseScreenDrawer()
Constructor.
|
clear, setFinishCallback
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
@Deprecated public static final int CORNER_CORNER
SoEllipseScreenDrawer.CreationMethods.CORNER_CORNER
instead.@Deprecated public static final int CENTER_CORNER
SoEllipseScreenDrawer.CreationMethods.CENTER_CORNER
instead.public final SoSFEnum<SoEllipseScreenDrawer.CreationMethods> method
public final SoSFUInt32 nbPoint
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com