Table of Contents

Class WorkpieceEditorDisplayee

Namespace
Hi.NcMech.Workpieces
Assembly
HiMech.dll

Displayee for visualizing workpiece raw/ideal/runtime geometry and anchors.

public class WorkpieceEditorDisplayee : IDisplayee, IExpandToBox3d
Inheritance
WorkpieceEditorDisplayee
Implements
Inherited Members
Extension Methods

Constructors

WorkpieceEditorDisplayee(IProgress<object>)

public WorkpieceEditorDisplayee(IProgress<object> progress = null)

Parameters

progress IProgress<object>

Progress reporter for runtime geometry operations (e.g. defect warnings).

Properties

Config

Gets or sets the configuration for visualization.

public WorkpieceEditorDisplayeeConfig Config { get; set; }

Property Value

WorkpieceEditorDisplayeeConfig

FixtureRenderingMode

Gets or sets the rendering mode for fixture.

public Solid.RenderingModeEnum FixtureRenderingMode { get; set; }

Property Value

Solid.RenderingModeEnum

IdealGeomRenderingMode

Gets or sets the rendering mode for ideal geometry.

public Solid.RenderingModeEnum IdealGeomRenderingMode { get; set; }

Property Value

Solid.RenderingModeEnum

MachiningEquipmentGetter

Gets or sets the delegate that provides Hi.NcMech.Workpieces.WorkpieceEditorDisplayee.MachiningEquipment.

public Func<MachiningEquipment> MachiningEquipmentGetter { get; set; }

Property Value

Func<MachiningEquipment>

Progress

Progress reporter for runtime geometry operations.

public IProgress<object> Progress { get; }

Property Value

IProgress<object>

RawGeomRenderingMode

Gets or sets the rendering mode for raw geometry.

public Solid.RenderingModeEnum RawGeomRenderingMode { get; set; }

Property Value

Solid.RenderingModeEnum

ShowRuntimeGeom

Gets or sets whether to show runtime geometry.

public bool ShowRuntimeGeom { get; set; }

Property Value

bool

WorkpieceServiceGetter

Gets or sets the delegate that provides Hi.NcMech.Workpieces.WorkpieceEditorDisplayee.WorkpieceService.

public Func<WorkpieceService> WorkpieceServiceGetter { get; set; }

Property Value

Func<WorkpieceService>

Methods

ClearIdealGeomCache()

Clears the ideal geometry cache on workpiece service.

public void ClearIdealGeomCache()

ClearRawGeomCache()

Clears the raw geometry cache on workpiece service.

public void ClearRawGeomCache()

Display(Bind)

Display function called in DispEngine rendering loop.

public void Display(Bind bind)

Parameters

bind Bind

Bind with DispEngine. See Bind.

ExpandToBox3d(Box3d)

Expands the destination box. This function is usually used to compute the bounding box of elements.

public void ExpandToBox3d(Box3d dst)

Parameters

dst Box3d

Destination box