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
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
ProgramCl
Gets the program coordinates of this position.
public DVec3d ProgramCl { get; }
Property Value
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
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
GetProgramCl()
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_tevent
state
panel_state_tpanel 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_tevent
state
panel_state_tpanel 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_tevent
state
panel_state_tpanel 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_typeevent type
state
panel_state_tpanel 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_typeevent type
state
panel_state_tpanel 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_tevent
state
panel_state_tpanel 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_tevent
state
panel_state_tpanel 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_tevent
state
panel_state_tpanel state
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.