Class TransformationWrapper
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
Mat4dThe 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
TransformingMat
Gets or sets the transformation matrix to apply to the wrapped displayees.
public Mat4d TransformingMat { get; set; }
Property Value
Methods
Display(Bind)
Display function called in DispEngine rendering loop.
public void Display(Bind bind)
Parameters
bind
BindBind 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
Box3dDestination box