Table of Contents

Class DynamicMachiningProjectDisplayee0

Namespace
Hi.MachiningProcs
Assembly
HiNc.dll

Provides display capabilities for a milling course. obsoleted.

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

Constructors

DynamicMachiningProjectDisplayee0(Func<MachiningProject>)

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

public DynamicMachiningProjectDisplayee0(Func<MachiningProject> machiningProjectHost)

Parameters

machiningProjectHost Func<MachiningProject>

Function that returns the host milling course

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

Initializes a new instance of the DynamicMachiningProjectDisplayee0 class.

public DynamicMachiningProjectDisplayee0(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