Click or drag to resize

ClickAndTeachSelectionRectangleCalculatedEvent Class

The event is triggered when Click & Teach has detected that the user has clicked somewhere in the workspace or has created a selection rectangle.

Parameter: A duple containing:

- posWorld: The middle of the selection rectangle or the position where the user has clicked. This value is in the workspace's world coordinates; i. e. the origin may have an offset to the center.

- posScannerWorld: The middle of the selection rectangle or the position where the user has clicked. This value is in world coordinates, but relative tot the scanner's coordinate system that is associated with currently active camera; i. e. the origin is in the center.

- size: The size of the selection rectangle in world coordinates. In case the user has just picked, the size is null.

Inheritance Hierarchy
SystemObject
  EventBase
    PubSubEventValueTupledvec3, dvec3, Nullabledvec2
      RAYLASE.Marker.GUI.EventsClickAndTeachSelectionRectangleCalculatedEvent

Namespace: RAYLASE.Marker.GUI.Events
Assembly: RAYLASE.Marker.GUI.Events (in RAYLASE.Marker.GUI.Events.dll) Version: 2.19.0
Syntax
C#
public class ClickAndTeachSelectionRectangleCalculatedEvent : PubSubEvent<(dvec3 , dvec3 , dvec2? )>

The ClickAndTeachSelectionRectangleCalculatedEvent type exposes the following members.

Constructors
 NameDescription
Public methodClickAndTeachSelectionRectangleCalculatedEventInitializes a new instance of the ClickAndTeachSelectionRectangleCalculatedEvent class
Top
Properties
 NameDescription
Protected propertySubscriptions Gets the list of current subscriptions.
(Inherited from EventBase)
Public propertySynchronizationContext Allows the SynchronizationContext to be set by the EventAggregator for UI Thread Dispatching
(Inherited from EventBase)
Top
Methods
 NameDescription
Public methodContains(ActionUTP) Returns if there is a subscriber matching ActionT.
(Inherited from PubSubEventValueTupledvec3, dvec3, Nullabledvec2)
Public methodContains(SubscriptionToken) Returns if there is a subscriber matching SubscriptionToken.
(Inherited from EventBase)
Protected methodInternalPublish Calls all the execution strategies exposed by the list of IEventSubscription.
(Inherited from EventBase)
Protected methodInternalSubscribe Adds the specified IEventSubscription to the subscribers' collection.
(Inherited from EventBase)
Public methodPrune Forces the PubSubEvent to remove any subscriptions that no longer have an execution strategy.
(Inherited from EventBase)
Public methodPublish Publishes the PubSubEvent.
(Inherited from PubSubEventValueTupledvec3, dvec3, Nullabledvec2)
Public methodSubscribe(ActionUTP) Subscribes a delegate to an event that will be published on the PublisherThread. PubSubEvent will maintain a WeakReference to the target of the supplied action delegate.
(Inherited from PubSubEventValueTupledvec3, dvec3, Nullabledvec2)
Public methodSubscribe(ActionUTP, ThreadOption) Subscribes a delegate to an event. PubSubEvent will maintain a WeakReference to the Target of the supplied action delegate.
(Inherited from PubSubEventValueTupledvec3, dvec3, Nullabledvec2)
Public methodSubscribe(ActionUTP, Boolean) Subscribes a delegate to an event that will be published on the PublisherThread.
(Inherited from PubSubEventValueTupledvec3, dvec3, Nullabledvec2)
Public methodSubscribe(ActionUTP, PredicateUTP) Subscribes a delegate to an event that will be published on the PublisherThread
(Inherited from PubSubEventValueTupledvec3, dvec3, Nullabledvec2)
Public methodSubscribe(ActionUTP, ThreadOption, Boolean) Subscribes a delegate to an event.
(Inherited from PubSubEventValueTupledvec3, dvec3, Nullabledvec2)
Public methodSubscribe(ActionUTP, ThreadOption, Boolean, PredicateUTP) Subscribes a delegate to an event.
(Inherited from PubSubEventValueTupledvec3, dvec3, Nullabledvec2)
Public methodUnsubscribe(ActionUTP) Removes the first subscriber matching ActionT from the subscribers' list.
(Inherited from PubSubEventValueTupledvec3, dvec3, Nullabledvec2)
Public methodUnsubscribe(SubscriptionToken) Removes the subscriber matching the SubscriptionToken.
(Inherited from EventBase)
Top
See Also