Table of Contents

Class ClStripPos

Namespace
Hi.CutterLocations.ClStrips
Assembly
HiMech.dll

Represents a position in a cutter location strip, containing program coordinates and state information.

public class ClStripPos : CbtrPickable, IPickableGetter, IDisposable, IGetProgramCl
Inheritance
ClStripPos
Implements
Inherited Members
Extension Methods

Properties

Index

Gets the index of this position in the strip.

public int Index { get; }

Property Value

int

MillingStep

Gets or sets the milling step associated with this position. This is a convenience property that casts the State to MillingStep.

public MachiningStep MillingStep { get; set; }

Property Value

MachiningStep

ProgramCl

Gets the program coordinates of this position.

public DVec3d ProgramCl { get; }

Property Value

DVec3d

State

Gets or sets the state object associated with this position. When the state changes, the color is automatically refreshed.

public object State { get; set; }

Property Value

object

Methods

Display(Bind)

public void Display(Bind bind)

Parameters

bind Bind

Dispose(bool)

protected override void Dispose(bool disposing)

Parameters

disposing bool

GetLastTime(bool)

If time is not set, return the time from the last setted step.

public TimeSpan? GetLastTime(bool isLocked = false)

Parameters

isLocked bool

Returns

TimeSpan?

GetProgramCl()

Get CL (Cutter Location). Where Point is tool tip position; Normal is tool orientation.

public DVec3d GetProgramCl()

Returns

DVec3d

CL

OnKeyDown(key_event_t, panel_state_t)

Behavior on key down.

public override 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 override 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 override 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 override 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 override 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 override 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 override 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 override void OnMouseWheel(mouse_wheel_event_t e, panel_state_t state)

Parameters

e mouse_wheel_event_t

event

state panel_state_t

panel state

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.