Class PopModelMat
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
bindBindBind 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
dstbox3d_tDestination box, expanded in place