Class WorkpieceEditorDisplayee
- Namespace
- Hi.NcMech.Workpieces
- Assembly
- HiMech.dll
Displayee for visualizing workpiece raw/ideal/meshed 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
Properties
Config
Gets or sets the configuration for visualization.
public WorkpieceEditorDisplayeeConfig Config { get; set; }
Property Value
FixtureRenderingMode
Gets or sets the rendering mode for fixture.
public Solid.RenderingModeEnum FixtureRenderingMode { get; set; }
Property Value
IdealGeomRenderingMode
Gets or sets the rendering mode for ideal geometry.
public Solid.RenderingModeEnum IdealGeomRenderingMode { get; set; }
Property Value
MachiningEquipmentGetter
Gets or sets the delegate that provides Hi.NcMech.Workpieces.WorkpieceEditorDisplayee.MachiningEquipment.
public Func<MachiningEquipment> MachiningEquipmentGetter { get; set; }
Property Value
Progress
Progress reporter for meshed geometry operations.
public IProgress<object> Progress { get; }
Property Value
RawGeomRenderingMode
Gets or sets the rendering mode for raw geometry.
public Solid.RenderingModeEnum RawGeomRenderingMode { get; set; }
Property Value
ShowMeshedGeom
Gets or sets whether to show meshed geometry.
public bool ShowMeshedGeom { get; set; }
Property Value
WorkpieceServiceGetter
Gets or sets the delegate that provides Hi.NcMech.Workpieces.WorkpieceEditorDisplayee.WorkpieceService.
public Func<WorkpieceService> WorkpieceServiceGetter { get; set; }
Property Value
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
bindBindBind with DispEngine. See Bind.
ExpandToBox3d(ref box3d_t)
Expands the destination box.
This function is usually used to compute the bounding box of elements.
box3d_t is a value type, so the destination is passed by reference
(the C++ expand_to_box3d(box3&) shape); an implementation writes
dst = dst.Expanded(...) or forwards ref dst to its parts.
public void ExpandToBox3d(ref box3d_t dst)
Parameters
dstbox3d_tDestination box, expanded in place