Table of Contents

Class FuncDisplayee

Namespace
Hi.Disp
Assembly
HiDisp.dll

A displayee implementation that delegates display functionality to function delegates.

public class FuncDisplayee : IDisplayee, IExpandToBox3d
Inheritance
FuncDisplayee
Implements
Inherited Members
Extension Methods

Constructors

FuncDisplayee()

Initializes a new instance of the FuncDisplayee class.

public FuncDisplayee()

FuncDisplayee(Action<Bind>, ExpandToBox3dDel)

Initializes a new instance of the FuncDisplayee class with display and expand delegates.

public FuncDisplayee(Action<Bind> displayDelegate, ExpandToBox3dDel expandToBox3dDelegate)

Parameters

displayDelegate Action<Bind>

The delegate for the Display method.

expandToBox3dDelegate ExpandToBox3dDel

The delegate for the ExpandToBox3d method.

Properties

DisplayDelegate

Gets or sets the delegate for the Display method.

public Action<Bind> DisplayDelegate { get; set; }

Property Value

Action<Bind>

ExpandToBox3dDelegate

Gets or sets the delegate for the ExpandToBox3d method.

public ExpandToBox3dDel ExpandToBox3dDelegate { get; set; }

Property Value

ExpandToBox3dDel

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