Table of Contents

Class RawFuncDisplayee

Namespace
Hi.Disp
Assembly
HiDisp.dll

A displayee implementation that delegates display functionality to function delegates.

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

Constructors

RawFuncDisplayee()

Initializes a new instance of the RawFuncDisplayee class.

public RawFuncDisplayee()

RawFuncDisplayee(Action<Bind>, Action<Box3d>)

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

public RawFuncDisplayee(Action<Bind> displayDelegate, Action<Box3d> expandToBox3dDelegate)

Parameters

displayDelegate Action<Bind>

The delegate for the Display method.

expandToBox3dDelegate Action<Box3d>

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 Action<Box3d> ExpandToBox3dDelegate { get; set; }

Property Value

Action<Box3d>

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