Class TopoDisplayee
Implements a displayable topological element that manages a collection of anchored displayees within an assembly.
public class TopoDisplayee : ITopoDisplayee, IGetAsmb, IGetTopoIndex, IAnchoredDisplayee, IGetRootAnchor, IDisplayee, IExpandToBox3d, IGetAnchoredDisplayeeList
- Inheritance
-
TopoDisplayee
- Implements
- Inherited Members
- Extension Methods
Constructors
TopoDisplayee(Anchor, Asmb, params IAnchoredDisplayee[])
Initializes a new instance of the TopoDisplayee class with the specified root anchor, assembly, and displayees.
public TopoDisplayee(Anchor rootAnchor, Asmb asmb, params IAnchoredDisplayee[] displayees)
Parameters
rootAnchor
AnchorThe root anchor for the topological displayee.
asmb
AsmbThe assembly associated with the topological displayee.
displayees
IAnchoredDisplayee[]The array of anchored displayees to be managed.
Properties
AnchoredDisplayeeList
Gets or sets the list of anchored displayees managed by this instance.
public List<IAnchoredDisplayee> AnchoredDisplayeeList { get; set; }
Property Value
Asmb
Gets or sets the assembly associated with this topological displayee.
public Asmb Asmb { get; set; }
Property Value
RootAnchor
Gets or sets the root anchor for this topological displayee.
public Anchor RootAnchor { 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
GetAnchoredDisplayeeList()
Gets a list of anchored displayable objects.
public List<IAnchoredDisplayee> GetAnchoredDisplayeeList()
Returns
- List<IAnchoredDisplayee>
A list of IAnchoredDisplayee objects
GetAsmb()
Gets the key asmb.
public Asmb GetAsmb()
Returns
- Asmb
The key asmb.
GetRootAnchor()
Get root anchor.
public Anchor GetRootAnchor()
Returns
- Anchor
root anchor.