public class SoLassoScreenDrawer extends SoPolyLineScreenDrawer
When the lasso 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 and simplification threshold are specified by fields in the parent class SoPolyLineScreenDrawer.
Please see SoPolyLineScreenDrawer for general notes and code example.
Lasso specific notes:
simplificationThreshold field does apply to this node.
File format/default:
LassoScreenDrawer {
| point | [] |
| color | 1 0 0 |
| simplificationThreshold | 5 |
| isClosed | true |
See also:
SoEllipseScreenDrawer, SoPolyLineScreenDrawer, SoPolygonScreenDrawer, SoRectangleScreenDrawer
SoPolyLineScreenDrawer.EventArgInventor.ConstructorCommandcolor, doCCW, isClosed, onFinish, point, simplificationThresholdsceneGraphVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoLassoScreenDrawer()
Constructor.
|
clear, setFinishCallbackaffectsState, 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, stopInternalThreadsGenerated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com