Class HolderEditorDisplayee
Displayee for holder editor that provides visualization functionality.
public class HolderEditorDisplayee : IAnchoredDisplayee, IGetAnchor, IDisplayee, IExpandToBox3d, IGetAsmb, IGetTopoIndex
- Inheritance
-
HolderEditorDisplayee
- Implements
- Inherited Members
- Extension Methods
Constructors
HolderEditorDisplayee()
Initializes a new instance of the HolderEditorDisplayee class
public HolderEditorDisplayee()
HolderEditorDisplayee(IHolder)
Initializes a new instance of the HolderEditorDisplayee class with a specified holder
public HolderEditorDisplayee(IHolder holder)
Parameters
holderIHolderThe holder to display
Properties
Holder
Gets or sets the holder to be displayed
public IHolder Holder { get; set; }
Property Value
RenderingMode
Gets or sets the rendering mode for the holder solid.
public Solid.RenderingModeEnum RenderingMode { get; set; }
Property Value
ShowCutterMount
Gets or sets whether to show the cutter mount anchor.
public bool ShowCutterMount { get; set; }
Property Value
ShowGeomAnchor
Gets or sets whether to show the geometry anchor.
public bool ShowGeomAnchor { get; set; }
Property Value
ShowSpindleMount
Gets or sets whether to show the spindle mount anchor.
public bool ShowSpindleMount { get; set; }
Property Value
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
GetAnchor()
Get key anchor. (i.e. root anchor)
public Anchor GetAnchor()
Returns
- Anchor
key anchor
GetAsmb()
Gets the key asmb.
public Asmb GetAsmb()
Returns
- Asmb
The key asmb.