Table of Contents

Class TransformationWrapper

Namespace
Hi.Disp.Treat
Assembly
HiDisp.dll

A wrapper displayee that applies a transformation matrix to the wrapped displayees.

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

Constructors

TransformationWrapper(Mat4d, params IDisplayee[])

Initializes a new instance of the TransformationWrapper class.

public TransformationWrapper(Mat4d mat, params IDisplayee[] displayees)

Parameters

mat Mat4d

The transformation matrix to apply.

displayees IDisplayee[]

The displayees to be transformed.

Properties

Displayees

Gets or sets the collection of displayees to be transformed.

public SynList<IDisplayee> Displayees { get; set; }

Property Value

SynList<IDisplayee>

TransformingMat

Gets or sets the transformation matrix to apply to the wrapped displayees.

public Mat4d TransformingMat { get; set; }

Property Value

Mat4d

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