iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCISelectionPassManager
@interface SCISelectionPassManager : NSObject <ISCISelectionPassManager>
Default implementation of ISCISelectionPassManager
.
-
Creates an instance of
SCISelectionPassManager
.Declaration
Objective-C
- (nonnull instancetype)initWithParentSurface: (nonnull id<ISCIChartSurface3D>)parentSurface;
Swift
init(parentSurface: ISCIChartSurface3D)
Parameters
parentSurface
The parent surface.
-
Gets the Selection ID using a screen coordinates.
Declaration
Objective-C
+ (unsigned long long)getSelectionIdForX:(float)x y:(float)y;
Swift
class func getSelectionIdFor(x: Float, y: Float) -> UInt64
Parameters
x
The
x coordinate
.y
The
y coordinate
.Return Value
The Selection ID.
-
Gets the
Entity Id
from selection Id passed in.Declaration
Objective-C
+ (unsigned int)getEntityIDFrom:(unsigned long long)selectionId;
Swift
class func getEntityID(from selectionId: UInt64) -> UInt32
Parameters
selectionId
The selection Id.
Return Value
The Entity ID.
-
Gets the
Vertex Id
from selection Id passed in.Declaration
Objective-C
+ (unsigned int)getVertexIDFrom:(unsigned long long)selectionId;
Swift
class func getVertexID(from selectionId: UInt64) -> UInt32
Parameters
selectionId
The selection Id.
Return Value
The Vertex ID.