Class FixtureEditorDisplayee
Displayee for fixture visualization and editor overlays.
public class FixtureEditorDisplayee : IDisplayee, IExpandToBox3d, IGetAsmb, IGetAnchor, IGetTopoIndex
- Inheritance
-
FixtureEditorDisplayee
- Implements
- Inherited Members
- Extension Methods
Properties
Config
Gets or sets the visualization configuration.
public FixtureEditorDisplayeeConfig Config { get; set; }
Property Value
Fixture
Gets the current Fixture.
public Fixture Fixture { get; }
Property Value
FixtureGetter
Gets or sets the delegate that provides the current Fixture.
public Func<Fixture> FixtureGetter { get; set; }
Property Value
RenderingMode
Gets or sets the rendering mode for the underlying solid.
public Solid.RenderingModeEnum RenderingMode { get; set; }
Property Value
ShowGeomAnchor
Gets or sets whether to show the geometry anchor.
public bool ShowGeomAnchor { get; set; }
Property Value
ShowTableMount
Gets or sets whether to show the table mount anchor.
public bool ShowTableMount { get; set; }
Property Value
ShowWorkpieceMount
Gets or sets whether to show the workpiece mount anchor.
public bool ShowWorkpieceMount { get; set; }
Property Value
Methods
Display(Bind)
Draws the fixture from its root anchor: every solid of its dictionary on its own anchor, and the three role anchors the configuration shows. A role left unbound, or an anchor the root does not reach, draws nothing.
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.