Table of Contents

Class DynamicMachiningProjectDisplayee

Namespace
Hi.MachiningProcs
Assembly
HiNc.dll

Provides display capabilities for a milling course.

public class DynamicMachiningProjectDisplayee : IDisplayee, IExpandToBox3d, IGetAnchor, IGetTopoIndex
Inheritance
DynamicMachiningProjectDisplayee
Implements
Inherited Members
Extension Methods

Constructors

DynamicMachiningProjectDisplayee(Func<MachiningProject>)

Initializes a new instance of the DynamicMachiningProjectDisplayee class with default settings.

public DynamicMachiningProjectDisplayee(Func<MachiningProject> machiningProjectHost)

Parameters

machiningProjectHost Func<MachiningProject>

Function that returns the host milling course

DynamicMachiningProjectDisplayee(Func<MachiningProject>, BitArray, Action<BitArray>)

Initializes a new instance of the DynamicMachiningProjectDisplayee class.

public DynamicMachiningProjectDisplayee(Func<MachiningProject> machiningProjectHost, BitArray renderingFlagBitArray, Action<BitArray> setRenderingFlagFunc)

Parameters

machiningProjectHost Func<MachiningProject>

Function that returns the host milling course

renderingFlagBitArray BitArray

Initial rendering flag bit array

setRenderingFlagFunc Action<BitArray>

Function that sets the rendering flags

Properties

MachiningProject

Gets the current milling course from the host function.

public MachiningProject MachiningProject { get; }

Property Value

MachiningProject

RenderingFlagBitArray

Gets or sets the bit array that controls which elements are rendered.

public BitArray RenderingFlagBitArray { get; set; }

Property Value

BitArray

Methods

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

GetAnchor()

Gets the root anchor for the display hierarchy based on current rendering flags.

public Anchor GetAnchor()

Returns

Anchor

The root anchor to use for rendering