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, IGetPickable, 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
MachiningStep
Gets or sets the milling step associated with this position. This is a convenience property that casts the State to MachiningStep.
public MachiningStep MachiningStep { 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
bindBind
Dispose(bool)
protected override void Dispose(bool disposing)
Parameters
disposingbool
GetLastTime(bool)
If time is not set, return the time from the last setted step.
public TimeSpan? GetLastTime(bool isLocked = false)
Parameters
isLockedbool
Returns
GetProgramCl()
public DVec3d GetProgramCl()
Returns
- DVec3d
CL
OnKeyDown(key_event_t, DispEngine)
Behavior on key down.
public override void OnKeyDown(key_event_t e, DispEngine dispEngine)
Parameters
ekey_event_tevent
dispEngineDispEnginedisplay engine
OnKeyUp(key_event_t, DispEngine)
Behavior on key up
public override void OnKeyUp(key_event_t e, DispEngine dispEngine)
Parameters
ekey_event_tevent
dispEngineDispEnginedisplay engine
OnMouseDown(mouse_button_event_t, DispEngine)
Behavior on mouse down
public override void OnMouseDown(mouse_button_event_t e, DispEngine dispEngine)
Parameters
emouse_button_event_tevent
dispEngineDispEnginedisplay engine
OnMouseEnter(ui_event_type, DispEngine)
Behavior on mouse enter
public override void OnMouseEnter(ui_event_type e, DispEngine dispEngine)
Parameters
eui_event_typeevent type
dispEngineDispEnginedisplay engine
OnMouseLeave(ui_event_type, DispEngine)
Behavior on mouse leave
public override void OnMouseLeave(ui_event_type e, DispEngine dispEngine)
Parameters
eui_event_typeevent type
dispEngineDispEnginedisplay engine
OnMouseMove(mouse_move_event_t, DispEngine)
Behavior on mouse move
public override void OnMouseMove(mouse_move_event_t e, DispEngine dispEngine)
Parameters
emouse_move_event_tevent
dispEngineDispEnginedisplay engine
OnMouseUp(mouse_button_event_t, DispEngine)
Behavior on mouse up
public override void OnMouseUp(mouse_button_event_t e, DispEngine dispEngine)
Parameters
emouse_button_event_tevent
dispEngineDispEnginedisplay engine
OnMouseWheel(mouse_wheel_event_t, DispEngine)
Behavior on mouse wheel
public override void OnMouseWheel(mouse_wheel_event_t e, DispEngine dispEngine)
Parameters
emouse_wheel_event_tevent
dispEngineDispEnginedisplay engine
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.