Table of Contents

Class Pickable

Namespace
HiDisp.Disp
Assembly
HiDisp.dll

Picking event handler for rendering. Note that it has to be disposed manually or the object occurs memory leak.

public class Pickable : IPickableGetter, IDisposable
Inheritance
Pickable
Implements
Derived
Inherited Members
Extension Methods

Constructors

Pickable()

Ctor.

public Pickable()

Fields

mark

Internal only.

protected picking_mark_t* mark

Field Value

picking_mark_t*

Properties

Pickables

public static ConcurrentDictionary<Pickable, Pickable> Pickables { get; set; }

Property Value

ConcurrentDictionary<Pickable, Pickable>

Remarks

Design Concern: Substitude of ConcurrentSet.

PickingID

ID of picking event.

public int PickingID { get; }

Property Value

int

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Dispose(bool)

protected virtual void Dispose(bool disposing)

Parameters

disposing bool

~Pickable()

protected ~Pickable()

GetPickable()

public Pickable GetPickable()

Returns

Pickable

pickable

OnKeyDown(key_event_t, panel_state_t)

Behavior on key down.

public virtual void OnKeyDown(key_event_t e, panel_state_t state)

Parameters

e key_event_t

event

state panel_state_t

panel state

OnKeyUp(key_event_t, panel_state_t)

Behavior on key up

public virtual void OnKeyUp(key_event_t e, panel_state_t state)

Parameters

e key_event_t

event

state panel_state_t

panel state

OnMouseDown(mouse_button_event_t, panel_state_t)

Behavior on mouse down

public virtual void OnMouseDown(mouse_button_event_t e, panel_state_t state)

Parameters

e mouse_button_event_t

event

state panel_state_t

panel state

OnMouseEnter(ui_event_type, panel_state_t)

Behavior on mouse enter

public virtual void OnMouseEnter(ui_event_type e, panel_state_t state)

Parameters

e ui_event_type

event type

state panel_state_t

panel state

OnMouseLeave(ui_event_type, panel_state_t)

Behavior on mouse leave

public virtual void OnMouseLeave(ui_event_type e, panel_state_t state)

Parameters

e ui_event_type

event type

state panel_state_t

panel state

OnMouseMove(mouse_move_event_t, panel_state_t)

Behavior on mouse move

public virtual void OnMouseMove(mouse_move_event_t e, panel_state_t state)

Parameters

e mouse_move_event_t

event

state panel_state_t

panel state

OnMouseUp(mouse_button_event_t, panel_state_t)

Behavior on mouse up

public virtual void OnMouseUp(mouse_button_event_t e, panel_state_t state)

Parameters

e mouse_button_event_t

event

state panel_state_t

panel state

OnMouseWheel(mouse_wheel_event_t, panel_state_t)

Behavior on mouse wheel

public virtual void OnMouseWheel(mouse_wheel_event_t e, panel_state_t state)

Parameters

e mouse_wheel_event_t

event

state panel_state_t

panel state