Table of Contents

Class PushModelMat

Namespace
Hi.Disp
Assembly
HiDisp.dll

Call Push() 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 PopModelMat.

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

Constructors

PushModelMat()

Initializes a new instance of the PushModelMat class.

public PushModelMat()

Properties

Mat

Pushed matrix.

public mat4d_t Mat { get; set; }

Property Value

mat4d_t

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