Table of Contents

Class HolderEditorDisplayee

Namespace
Hi.NcMech.Holders
Assembly
HiMech.dll

Displayee for holder editor that provides visualization functionality.

public class HolderEditorDisplayee : IAnchoredDisplayee, IGetAnchor, IDisplayee, IExpandToBox3d, IGetAsmb, IGetTopoIndex
Inheritance
HolderEditorDisplayee
Implements
Inherited Members
Extension Methods

Constructors

HolderEditorDisplayee()

Initializes a new instance of the HolderEditorDisplayee class

public HolderEditorDisplayee()

HolderEditorDisplayee(IHolder)

Initializes a new instance of the HolderEditorDisplayee class with a specified holder

public HolderEditorDisplayee(IHolder holder)

Parameters

holder IHolder

The holder to display

Properties

Holder

Gets or sets the holder to be displayed

public IHolder Holder { get; set; }

Property Value

IHolder

RenderingMode

Gets or sets the rendering mode for the holder solid.

public Solid.RenderingModeEnum RenderingMode { get; set; }

Property Value

Solid.RenderingModeEnum

ShowCutterMount

Gets or sets whether to show the cutter mount anchor.

public bool ShowCutterMount { get; set; }

Property Value

bool

ShowGeomAnchor

Gets or sets whether to show the geometry anchor.

public bool ShowGeomAnchor { get; set; }

Property Value

bool

ShowSpindleMount

Gets or sets whether to show the spindle mount anchor.

public bool ShowSpindleMount { get; set; }

Property Value

bool

Methods

Display(Bind)

Display function called in DispEngine rendering loop.

public void Display(Bind bind)

Parameters

bind Bind

Bind 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

dst box3d_t

Destination box, expanded in place

GetAnchor()

Get key anchor. (i.e. root anchor)

public Anchor GetAnchor()

Returns

Anchor

key anchor

GetAsmb()

Gets the key asmb.

public Asmb GetAsmb()

Returns

Asmb

The key asmb.