Table of Contents

Class FixtureEditorDisplayee

Namespace
Hi.NcMech.Fixtures
Assembly
HiMech.dll

Displayee for fixture visualization and editor overlays.

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

Properties

Config

Gets or sets the visualization configuration.

public FixtureEditorDisplayeeConfig Config { get; set; }

Property Value

FixtureEditorDisplayeeConfig

Fixture

Gets the current Fixture.

public Fixture Fixture { get; }

Property Value

Fixture

FixtureGetter

Gets or sets the delegate that provides the current Fixture.

public Func<Fixture> FixtureGetter { get; set; }

Property Value

Func<Fixture>

RenderingMode

Gets or sets the rendering mode for the underlying solid.

public Solid.RenderingModeEnum RenderingMode { get; set; }

Property Value

Solid.RenderingModeEnum

ShowGeomAnchor

Gets or sets whether to show the geometry anchor.

public bool ShowGeomAnchor { get; set; }

Property Value

bool

ShowTableMount

Gets or sets whether to show the table mount anchor.

public bool ShowTableMount { get; set; }

Property Value

bool

ShowWorkpieceMount

Gets or sets whether to show the workpiece mount anchor.

public bool ShowWorkpieceMount { get; set; }

Property Value

bool

Methods

Display(Bind)

Draws the fixture from its root anchor: every solid of its dictionary on its own anchor, and the three role anchors the configuration shows. A role left unbound, or an anchor the root does not reach, draws nothing.

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.