ScSelectionManager

class ScSelectionManager()

Constructors


Constructors

ScSelectionManager.constructor(sc)
Arguments:
Return type:

ScSelectionManager()

Methods

advanceIncrementalSelection

ScSelectionManager.advanceIncrementalSelection(handle, allowForStreamIdle)
Arguments:
Return type:

Promise <[SelectionItem()] | null>

beginConvexPolyhedronSelection

ScSelectionManager.beginConvexPolyhedronSelection(volumePlanes, heuristicOrigin, config)
Arguments:
Return type:

Promise <IncrementalSelectionId()>

beginRayDrillSelection

ScSelectionManager.beginRayDrillSelection(viewKey, rayCssOrigin, rayCssBoxRadius, config)
Arguments:
Return type:

Promise <IncrementalSelectionId()>

beginScreenAreaSelection

ScSelectionManager.beginScreenAreaSelection(viewKey, areaCssMin, areaCssMax, config)
Arguments:
Return type:

Promise <IncrementalSelectionId()>

beginSphereSelection

ScSelectionManager.beginSphereSelection(sphereCenter, sphereRadius, config)
Arguments:
Return type:

Promise <IncrementalSelectionId()>

compositePickFromScreen

ScSelectionManager.compositePickFromScreen(viewKey, point, config, isDrawing)
Arguments:
  • viewKey (ViewKey()) – None
  • point (Point2()) – None
  • config (PickConfig()) – None
  • isDrawing (boolean()) – None
Return type:

Promise <CompositeSelectionItem()>

endIncrementalSelection

ScSelectionManager.endIncrementalSelection(handle)
Arguments:
Return type:

void

getPickTolerance

ScSelectionManager.getPickTolerance()
Return type:number

pickAllFromRay

ScSelectionManager.pickAllFromRay(ray, config)
Arguments:
Return type:

Promise <[NodeEntitySelectionItem()]>

pickAllFromScreen

ScSelectionManager.pickAllFromScreen(viewKey, point, config, isDrawing)
Arguments:
  • viewKey (ViewKey()) – None
  • point (Point2()) – None
  • config (PickConfig()) – None
  • isDrawing (boolean()) – None
Return type:

Promise <[NodeEntitySelectionItem()]>

pickCompositeFromRay

ScSelectionManager.pickCompositeFromRay(ray, config)
Arguments:
Return type:

Promise <CompositeSelectionItem()>

pickFromRay

ScSelectionManager.pickFromRay(ray, config)
Arguments:
Return type:

Promise <NodeEntitySelectionItem() | null>

pickFromScreen

ScSelectionManager.pickFromScreen(viewKey, point, config, isDrawing)
Arguments:
  • viewKey (ViewKey()) – None
  • point (Point2()) – None
  • config (PickConfig()) – None
  • isDrawing (boolean()) – None
Return type:

Promise <NodeEntitySelectionItem() | null>

setPickTolerance

ScSelectionManager.setPickTolerance(tolerance)
Arguments:
  • tolerance (number()) – None
Return type:

void