Table of Contents

Class PopModelMat

Namespace
Hi.Disp
Assembly
HiDisp.dll

Call Pop() for Hi.Disp.Bind.modelMatStack in Display(Bind). This function is only for test purpose. Since the ExpandToBox3d(ref box3d_t) just expand the translation part of the mat to the target box. This function should be use with PushModelMat.

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

Constructors

PopModelMat()

Initializes a new instance of the PopModelMat class.

public PopModelMat()

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