Slice manager object is used to create and manage slice objects. Slice object represents the set of lines on intersection of the plane and objects. Slice object is interactive object and can be used to change slice position.

Constructors

Properties

_mySlices: { slice: InteractiveSlice }[] = []
_myViewer: OccViewer

Accessors

  • set axesEnabled(theAxesEnabled: Boolean): void
  • Enable/disable showing axes

    Parameters

    • theAxesEnabled: Boolean

    Returns void

  • set bndBox(theBndBox: BndBox): void
  • Set bounding box.

    Parameters

    Returns void

  • get bndBoxObjects(): string
  • Get objects for bounding box calculation.

    Returns string

  • set bndBoxObjects(theObjId: string): void
  • Set objects for bounding box calculation.

    Parameters

    • theObjId: string

    Returns void

  • set color(theColor: string): void
  • Color in #rrggbbaa format.

    Parameters

    • theColor: string

    Returns void

  • get lineWidth(): number
  • Get line width.

    Returns number

  • set lineWidth(theWidth: number): void
  • Set line width.

    Parameters

    • theWidth: number

    Returns void

  • get objects(): string
  • Get obgects list.

    Returns string

  • set objects(theObjId: string): void
  • Set obgects list.

    Parameters

    • theObjId: string

    Returns void

Methods

  • Set color for object

    Parameters

    • theObjectId: string
    • theColor: string

    Returns void